Estimate the residual variance of a regression model on a given task. If a regression learner is provided instead of a model, the model is trained (see train) first.
estimateResidualVariance(x, task, data, target)
x | (Learner or WrappedModel) |
---|---|
task | (RegrTask) |
data | (data.frame) |
target | ( |