Abstract: In a method for the detection of cavitations in a space to be monitored, the space to be monitored is monitored by means of a sensor (2) which is capable of learning. In this, a state in which cavitations arise in any case in the space to be monitored is first produced during a learning process for the duration of a first time interval (t1). After the completion of the first time interval (t1) a state in which cavitations do not arise in any case in the space to be monitored is produced for the duration of a second time interval (t2). In each of the two time intervals the sensor (2) learns which signals correspond to cavitations and which signals correspond to non-cavitations respectively in the space to be monitored.