A computer-implemented method for training a machine learning model to detect installation errors in an elevator, the machine learning model being a combination of a Set Function model and a Fourier-Transform model, the method comprising:
- arranging a plurality of sensors at the elevator, each sensor being configured to detect a physical parameter;
- detecting values of the physical parameters by said sensors to obtain a dataset comprising at least one time series;
- obtaining a first input layer by extracting features from the dataset;
- obtaining a second input layer by extracting features from the dataset;
- feeding the Set Function model with the first input layer;
- and
- feeding the Fourier-Transform model with the second input layer, wherein the feeding the Set Function model and the feeding the Fourier-Transform model results in training the machine learning model that detects installation errors in the elevator.