Angelo Cortez
Angelo Cortez
Yep, I have tried that . Replaced last 2 lines with this: ```python grid_lmnn_knn.fit(np.array(X_train),np.array(y_train)) grid_lmnn_knn.score(np.array(X_test), np.array(y_test)) ``` Any other thoughts you can think of?
Sounds good. I will patiently wait for that. If you have any workaround until then, let me know as I have to present on my findings by next Wednesday to...
Thank you for your work @perimosocordiae . We are trying to apply metric learning to the materials sciences space, but trying to apply this work to Friedman dataset first before...
So I think the reason why my last attempt had bad performance on the Friedman dataset was because there were no examples of 0-labeled data in the training set. Now,...
Tried swapping it to the following, but it now goes into an infinite loop 😂 ```python if not impostors.any(): return None, 0, 0 ```
 Super weird.
The code from the PR doesn't work as well 🤣I will post my results on that thread.
Hello! When trying your PR, I get the following error. Ran from Google Collab: Code: ```python from sklearn.datasets import make_friedman1 import pandas as pd import numpy as np import matplotlib.pyplot...
Did not realize that the parameters were renamed in this PR! Now I am getting the following, though init should be a parameter, no?: New param grid: ```python parameters =...
Tried that! ```python !pip install git+https://github.com/johny-c/metric-learn.git from metric_learn import LMNN inits = ['pca', 'lda', 'identity', 'random'] for init_param in inits: lmnn = LMNN(init=init_param) ``` Same error. ```ptb Collecting git+https://github.com/johny-c/metric-learn.git Cloning...