mlr-org / mlr3

mlr3: Machine Learning in R - next generation
https://mlr3.mlr-org.com
GNU Lesser General Public License v3.0
906 stars 84 forks source link

Column role "weight" #1016

Open sebffischer opened 2 months ago

sebffischer commented 2 months ago

Currently it only says "Observation weights. Not more than one numeric column may have this role." in the Task documentation. Also, I got the reasonable question whether these are also applied during resampling.

sebffischer commented 2 months ago

There is a very old and open PR regarding weights for resampling: https://github.com/mlr-org/mlr3/pull/239

sebffischer commented 2 months ago

Also it was asked whether the weights are applied when scoring predictions via measures.