class
PRD
PythonPercent RMS difference metric with optional energy normalization.
PRD(normalized: bool = True, name: str = 'prd', **kwargs={})Percent RMS difference metric with optional energy normalization.
where denom is either:
- sum(y_true^2) when
normalized=True - N (number of elements) when
normalized=False
attribute
normalized
Pythonnormalized = normalizedmethod
update_state
Pythonupdate_state(y_true, y_pred, sample_weight=None)method
result
Pythonresult()method
reset_state
Pythonreset_state()method
get_config
Pythonget_config()