Konan Metrics

class konan_sdk.konan_metrics.KonanBaseMetric(value: Any, **kwargs)

Bases: ABC

Base class for Konan*Metric classes.

abstract property name: str

Return the name of the Konan*Metric.

Returns

Metric name

Return type

str

__init__(value: Any, **kwargs)

Initialize a new Konan*Metric object.

Parameters

value (Any) – Metric value

class konan_sdk.konan_metrics.KonanRMSEMetric(value: Any, **kwargs)

Bases: KonanBaseMetric

Konan RMSE Metric.

property name: str

Return the name of the Konan*Metric.

Returns

Metric name

Return type

str

class konan_sdk.konan_metrics.KonanMAEMetric(value: Any, **kwargs)

Bases: KonanBaseMetric

Konan MAE Metric.

property name: str

Return the name of the Konan*Metric.

Returns

Metric name

Return type

str

class konan_sdk.konan_metrics.KonanPrecisionMetric(value: Any, **kwargs)

Bases: KonanBaseMetric

Konan Precision Metric.

property name: str

Return the name of the Konan*Metric.

Returns

Metric name

Return type

str

class konan_sdk.konan_metrics.KonanRecallMetric(value: Any, **kwargs)

Bases: KonanBaseMetric

Konan Recall Metric.

property name: str

Return the name of the Konan*Metric.

Returns

Metric name

Return type

str

class konan_sdk.konan_metrics.KonanF1ScoreMetric(value: Any, **kwargs)

Bases: KonanBaseMetric

Konan F1 Score Metric.

property name: str

Return the name of the Konan*Metric.

Returns

Metric name

Return type

str

class konan_sdk.konan_metrics.KonanConfusionMatrixMetric(value: Any, **kwargs)

Bases: KonanBaseMetric

Konan Confusion Matrix Metric.

property name: str

Return the name of the Konan*Metric.

Returns

Metric name

Return type

str

class konan_sdk.konan_metrics.KonanMultiLabelConfusionMatrixMetric(value: Any, **kwargs)

Bases: KonanBaseMetric

Konan Multi Label Confusion Matrix Metric.

property name: str

Return the name of the Konan*Metric.

Returns

Metric name

Return type

str

class konan_sdk.konan_metrics.KonanCustomMetric(value: Any, name='undefined', **kwargs)

Bases: KonanBaseMetric

Konan Custom Metric.

property name: str

Return the name of the Konan Custom Metric.

Returns

Custom Konan Metric name

Return type

str

__init__(value: Any, name='undefined', **kwargs)

Initialize a new KonanCustomMetric

Parameters
  • value (Any) – Metric value

  • name (str, optional) – Metric name, defaults to “undefined”