API Reference

RegressionTask

class ui.module.RegressionTask

Defines regression task.

Properties

RegressionTask.num_targets

Number of numercial targets to predict.

Returns

int

RegressionTask.max_value

Upper bound for the values predicted by the model.

Returns

float

RegressionTask.metric_to_monitor

Name of the default metric to monitor during validation.

Returns

str

RegressionTask.metric_monitoring_mode

Whether to store values for maximum or minimum metric value.

Returns

MetricMonitoringMode

RegressionTask.loss_function

The default loss function to use for training.

Returns

LossFunction

Methods

MulticlassClassificationTask.__init__(self, num_targets, max_value)

from monad.ui.module import MultilabelClassificationTask

TARGET_NAMES = ["The North Face", "Adidas", "Tommy Hilfiger", "Hugo", "Lacoste", "Gap"]
task = MultilabelClassificationTask(class_names=TARGET_NAMES)
Parameters

num_targets: int
Number of numercial targets to predict.


max_value: float
Upper bound for the values predicted by the model.