Wind Turbine AD problem with TIM Engine API Client for Python

1. Set up Python Libraries

2. Credentials and logging

(Do not forget to fill in your credentials in the credentials.json file)

3. Data preparation

3.1 Load Data

3.2 Change row indices to datetimes

(only for visualization purposes, not required for calling the tim_client methods)

3.3 Visualize Data

4. Model Building

4.1 Configuration/TIM Setup

4.2 Select data

4.3 Build a model

4. Visualization of Results

4.1 In-sample anomaly detection

4.2 Retrieve influencers and term importances

4.3 Visualize influencers(predictors) importances

4.4 Visualize term(features) importances

4.5 Out of sample anomaly detection

check the number of offsets that the model requires for detection
make sure that you provide enough data, the number of offsets required by the model (see cell output above) should be satisfied for each sample being detected

4.5.1 Detection using a model

4.5.2 Visualization