LoslegenKostenlos loslegen

Checking convergence

The anomaly score from an isolation forest usually don't change after a certain number of trees have been grown. This is called convergence, and can be checked by comparing the scores generated by forests with different numbers of trees. If the scores differ greatly, then this might suggest that more trees are required.

In this exercise, the scores for isolation forests with different numbers of trees have been already calculated for you and are contained in the data frame wine_scores.

Diese Übung ist Teil des Kurses

Introduction to Anomaly Detection in R

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# View the contents of the wine scores
head(wine_scores)

# Scatterplot of 2000 trees vs 1000 trees scores
plot(___, ___)
Code bearbeiten und ausführen