Anomalies as outliers or novelties