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've recently added (JuliaAI/MLJModels.jl#125) the possibility to add weights to samples in KNNC, KNNR. It seems fine but it would still be good to check this a bit more and ideally against an external benchmark like Sklearn which I believe supports sample weights as well.
Steps:
be on the dev branch of MLJModelsedit This now lives at NearestNeighborModels (current repo)
generate some dummy data with dummy weights (see also examples in tests for NearestNeighbors though it'd be better to use less dumb data where classes overlap a bit)
save the data and do the same analysis in sklearn
check that the results look roughly similar (like accuracy within +- 5%)
The text was updated successfully, but these errors were encountered:
We've recently added (JuliaAI/MLJModels.jl#125) the possibility to add weights to samples in KNNC, KNNR. It seems fine but it would still be good to check this a bit more and ideally against an external benchmark like Sklearn which I believe supports sample weights as well.
Steps:
be on theedit This now lives at NearestNeighborModels (current repo)dev
branch of MLJModelsThe text was updated successfully, but these errors were encountered: