metric-learn icon indicating copy to clipboard operation
metric-learn copied to clipboard

Metric learning algorithms in Python

Results 53 metric-learn issues
Sort by recently updated
recently updated
newest added
trafficstars

I'm trying to use `metric-learn` to learn a mahalanobis-metric approximation for a precomputed distance metric (that's computed in an different way). Is this functionality supported by the library? I tried...

Currently a lot of tests use a list of metric learners and their dataset, defined at the top of `test_utils`. The problem is that there is no difference currently between...

#### Description One next step for the project is to be able to do out of core learning/predicting: i.e. being able to fit/predict models when we cannot load the data...

For an enhancement, are there plans to also accept pandas dataframes as inputs? This project is something I could help with.

Some of the tests rely on testing hard values, like the ones that failed in #127 due to scikit-learn's iris dataset update. They could probably fail again if for instance...

In #127, we saw that algorithms should return a special error message if the number of samples is too small to be able to run. Therefore, we should choose the...

## Minimal example ```python X, y = make_classification(random_state=0) X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=7) clf = make_pipeline(LFDA(), KNeighborsClassifier()) clf.fit(X_train, y_train) clf.predict(X_test) ``` ## Expected result: No error is...

Hi all-umass. How to deal with huge dimension problem? My input arrary shape like this : (12936, 35722). I got error after call `lfda.fit` method. Here is the log output...

In my opinion, the LSML implementation is wrong. The gradient function does not incorporate the weights that are however present in the loss function. In the corresponding paper, the gradient...

Hi, i wanna know how to include one file generate from Build? Because i'm interested in include other metric learning algorithm. I'm suffering to include in the project