colda.algorithm.metric package

Submodules

colda.algorithm.metric.api module

class colda.algorithm.metric.api.Metric(task_mode, metric_name, metric=None)

Bases: BaseMetric

Metrics used to measure the performance of the model

Methods

make_metric eval MAD RMSE R2 Accuracy F1 AUCROC

eval(output, target)
make_metric(task_mode, metric_name)

colda.algorithm.metric.base module

class colda.algorithm.metric.base.BaseMetric

Bases: object

Base class for Metric

final placeholder()

colda.algorithm.metric.metrics module

colda.algorithm.metric.metrics.AUCROC(output, target)
colda.algorithm.metric.metrics.Accuracy(output, target)
colda.algorithm.metric.metrics.F1(output, target)
colda.algorithm.metric.metrics.MAD(output, target)
class colda.algorithm.metric.metrics.Metric(task_mode, metric_name, metric=None)

Bases: BaseMetric

Metrics used to measure the performance of the model

Methods

make_metric eval MAD RMSE R2 Accuracy F1 AUCROC

eval(output, target)
make_metric(task_mode, metric_name)
colda.algorithm.metric.metrics.R2(output, target)
colda.algorithm.metric.metrics.RMSE(output, target)

Module contents