hghcomphys / pantea

A Python library for developing machine learning interatomic potentials, based on Google JAX.

Home Page:https://pantea.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)