| mlr_measures_torch.default | R Documentation |
This is a simple placeholder measure and extracts the actual value from the $default_measure
of a TaskTorch.
mlr3::Measure -> MeasureTorchDefault
MeasureTorchDefault$new()Creates a new instance of this R6 class.
MeasureTorchDefault$new()
MeasureTorchDefault$clone()The objects of this class are cloneable with this method.
MeasureTorchDefault$clone(deep = FALSE)
deepWhether to make a deep clone.
Other Measure:
mlr_measures_torch
d = data.frame(x = rnorm(10), y = rnorm(10))
task = as_task_torch(d, target = "y",
default_measure = msr_torch("mse", function(truth, response) mean((truth - response)^2)))
msr("torch.default")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.