An apparatus for classifying the motion of a movable treatment device having at least one inertial sensor, a motion pattern classification device configured to discriminate between two or more motion classes contained in a set of motion classes of the movable treatment device, and an interface for providing inertial sensor data from the inertial sensor to the motion pattern classification device. The inertial sensor data represents a movement of the movable treatment device, wherein the motion pattern classification device comprises at least one neural network configured to receive and classify the inertial sensor data with respect to the motion classes contained, each associated with at least one class member selected based on the motion of the movable treatment device.