Skip to content
Scikit-learn tutorial for beginniers. How to perform classification, regression. How to measure machine learning model performacne acuuracy, presiccion, recall, ROC.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
img
metrics
text_classification
.gitignore
LICENSE
Pipfile
README.md

README.md

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
You can’t perform that action at this time.