Skip to content

Instantly share code, notes, and snippets.

@jgrizou
jgrizou / SVC_classes_bug_demo.py
Last active August 9, 2019 15:50
Reproduction of classes_ bug in SVC classifier from sklearn
import numpy as np
from sklearn.svm import SVC
# same dataset
X = np.array([[0.29166667, 0.19366939],
[0.28611111, 0.34763765],
[0.26111111, 0.55716146],
[0.73333333, 0.2016059 ],
[0.70694444, 0.3952567 ],
[0.66666667, 0.61271701]])
@jgrizou
jgrizou / ILOGMM.ipynb
Last active January 18, 2016 17:35
ILO-GMM: examples and cases of study
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.