scikit-learn-contrib / metric-learn

Metric learning algorithms in Python
http://contrib.scikit-learn.org/metric-learn/
MIT License
1.4k stars 233 forks source link

SCML iris test refactor [Minor] #332

Closed mvargas33 closed 3 years ago

mvargas33 commented 3 years ago

This test has become annoying for a while, sometimes it passes, sometimes it doesn't even with the same random_state.

Also, it seems that the value 0.24 it's hardcoded. I propose instead to compare the result of class_separation before and after SCML by some margin.