Skip to content
Quantoros

With novelty=True, why should LOF.predict(Xtrain) not replace the training outlier assessment?

Classic MLLevel: AdvancedTraining versus novelty scores

With novelty=True, why should LOF.predict(X_train) not replace the training outlier assessment?

Hints
  • The same coordinates can enter a different calculation.
  • Training scores already have a dedicated attribute.

Answer

This answer is part of mentoring

Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.

Source and licence: scikit-learn 1.7.2 — outlier detection · BSD-3-Clause · answer: Quantoros editorial

Related questions