You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should throw an informative error/exception when one attempts to use an unfitted transformer to transform data (or any other method which requires the metric learner to be fitted). See below what happens in metric-learn versus sklearn. We can probably borrow some code from sklearn to handle this similarly.
bellet
changed the title
More informative error when trying to transform before fit
More informative error when trying to transform unfitted metric learner
Oct 29, 2019
bellet
changed the title
More informative error when trying to transform unfitted metric learner
More informative error when calling transform of unfitted metric learner
Oct 29, 2019
We should throw an informative error/exception when one attempts to use an unfitted transformer to transform data (or any other method which requires the metric learner to be fitted). See below what happens in metric-learn versus sklearn. We can probably borrow some code from sklearn to handle this similarly.
Example for metric-learn:
Example for sklearn:
The text was updated successfully, but these errors were encountered: