Manual outlier ensembles - creating the arrays
An ensemble is a collection of one or more machine learning models combined to make their predictions more robust. Creating outlier ensembles manually usually takes practice. Therefore, you will perform the operation in three steps.
In this exercise, you will create a list of estimators and an empty array to store the probability scores.
IForest
is available to you, as well as NumPy as np
.
This exercise is part of the course
Anomaly Detection in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Create a list of two IForest estimators
estimators = [____, ____]