BaşlayınÜcretsiz Başlayın

Storing outlier probabilities

Continue building the ensemble by writing the code block that loops over estimators and generates outlier probabilities.

The scaled apple dataset with extra features is available.

Bu egzersiz

Anomaly Detection in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

estimators = [IForest(n_estimators=50), IForest(n_estimators=100)]

shape = (len(apple), len(estimators))
probability_scores = np.empty(shape=shape)

for ____, ____ in ____:
    # Fit the estimator
    ____
Kodu Düzenle ve Çalıştır