Detection of cup anemometer anomalies using machine learning