Add warning & error counter to Scaler
hghcomphys opened this issue · comments
It's useful to determine when ML-potential is extrapolating.
The required methods were added to the descriptor scaler.
An extrapolation warnings method was also added to nnp potential which by default is disabled. User has to explicitly enable it for example by calling set_extrapolation_warnings(100)