scikit-learn-contrib / metric-learn

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

Fix 4 tests #321

Closed mvargas33 closed 3 years ago

mvargas33 commented 3 years ago

5 Tests were not passing because of make_spd_matrix() function. The usage was incorrect.

According to documentation, you just need to provide n_dim and random_state, in order to generate the random spd matrix.

With this little change, those tests pass