/scikit-learn-tutorial

Scikit-learn tutorial for beginniers. How to perform classification, regression. How to measure machine learning model performacne acuuracy, presiccion, recall, ROC.

Primary LanguagePythonMIT LicenseMIT

Scikit-learn tutorial

Set of examples for scikit-learn self-learning.

Work in progress...

This tutorial is being created. It is not finished.

How to measure model performance

Standard metrics precsion, recall, f1 measure -

The example shows how to compute basic classifier measures like precision, recall, f1

File: metrics.py

precision-recall curve

Examples explain how to interpret the precision-recall curve in an ideal, random case. What to do if the curve of two models looks similar.

File:

Precision-recall curve 2 models- comparision easy

Precision-recall curve 2 models- comparision not so obvious

Dev environment

  • python > 3.6
  • pipenv
  • sklearn >0.21.3