Open ablaom opened 4 years ago
Here is a list of sk-learn models that can take sample weights in training: https://github.com/alan-turing-institute/MLJ.jl/issues/327
The MLJ API supports sample weights; the convention is to overload fit(model, verbosity, X, y, w) where w is a vector of weights (with same length as y). Search for sample weights in the docs
fit(model, verbosity, X, y, w)
w
y
sample weights
Here is a list of sk-learn models that can take sample weights in training: https://github.com/alan-turing-institute/MLJ.jl/issues/327
The MLJ API supports sample weights; the convention is to overload
fit(model, verbosity, X, y, w)
wherew
is a vector of weights (with same length asy
). Search forsample weights
in the docs