1. Learn
  2. /
  3. Courses
  4. /
  5. Anomaly Detection in Python

Connected

Exercise

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.

Instructions 1/2

undefined XP
    1
    2
  • Create a list named estimators that contains two IForest instances: one with 50 iTrees and another with 100.