spainn.metric

class metric.PhaseMAE(*args: Any, **kwargs: Any)[source]

Metric to monitor the phaseless loss of bulk properties obtained by means of the Mean Absolute Error (MAE).

class metric.PhaseAtomisticMAE(*args: Any, **kwargs: Any)[source]

Metric to monitor the phaseless loss of atomistic properties obtained by means of the Mean Absolute Error (MAE).

class metric.PhaseAtomisticMSE(*args: Any, **kwargs: Any)[source]

Metric to monitor the phaseless loss of atomistic properties obtained by means of the Mean Squared Error (MSE).