Metrics

Metric *eddl::getMetric(string type)

Get Metric object by its name.

Parameters

type – Metric name/type

Returns

Selected Metric

Mean Squared Error

Aliases: mse and categorical_accuracy.

Example:

m = getMetric("mse");

Categorical Accuracy

Aliases: accuracy and categorical_accuracy.

Example:

m = getMetric("accuracy");

Mean Absolute Error

Aliases: mae and mean_absolute_error.

Example:

m = getMetric("mae");

Mean Relative Error

Aliases: mre and mean_relative_error.

Example:

m = getMetric("mre");