Open KOLANICH opened 5 years ago
Well, this can be done using the fitter_kwargs
argument, but maybe it's not obvious: k_fold_cross_validation(..., fitter_kwargs={'weights_col': 'w'})
. I'll include an example in the docstring
For a fitter yes, but how about concordance? I guess weights of each instance influence concordance (and google returns some papers on it), but is it taken into account? I feel like no, because concordance_index
doesn't accept an arg for weights.
Hm, true. I'll fix this for next release.