scikit-learn-contrib / metric-learn

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

Fix 4 tests #321

Closed mvargas33 closed 2 years ago

mvargas33 commented 2 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