MAD on time series
Initially, you can approach time series anomaly detection just like a regular dataset. For example, you can take a univariate approach and fit MAD
to one of the time series columns.
pandas
and the MAD
estimator are already loaded for you.
Cet exercice fait partie du cours
Anomaly Detection in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Load the Apple stocks dataset with a proper DatatimeIndex
apple = pd.read_csv(____)