1
$\begingroup$

I know a way to visualize outliers is to make a box plot, but wanted to know if scikit had any quick ways to detect outliers for each variable?

$\endgroup$
  • $\begingroup$ Do you want a univariate approach, or multivariate? $\endgroup$ – jonnor Feb 13 at 8:50
  • $\begingroup$ @jonnor univariate is fine $\endgroup$ – Insu Q Feb 13 at 12:10
2
$\begingroup$

The scikit-learn implementations of Isolation Forest and Local Outlier Factor should help you out here. Details on both at this link:

https://scikit-learn.org/stable/modules/outlier_detection.html

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.