Distance#

class Distance[source]#

Bases: object

static SSE(predicted, observed, **kwargs)[source]#

Compute the sum of squared errors (SSE).

Parameters:
predictedarray_like

The predicted values.

observedarray_like

The observed values.

Returns:
float

The sum of squared errors.

static MSE(predicted, observed, **kwargs)[source]#

Compute the Mean Squared Errors (EDE).

Parameters:
predictedarray_like

The predicted values.

observedarray_like

The observed values.

Returns:
float

The Euclidean distance.

static RMSE(predicted, observed, **kwargs)[source]#

Compute the Root Mean Squared Errors (RMSE).

Parameters:
predictedarray_like

The predicted values.

observedarray_like

The observed values.

Returns:
float

The Root Mean Squared Errors.