Scaling¶
-
class
hdnnpy.preprocess.scaling.
Scaling
(min_=-1.0, max_=1.0)[source]¶ Bases:
hdnnpy.preprocess.preprocess_base.PreprocessBase
Scale all feature values into the certain range.
Parameters: -
apply
(dataset, elemental_composition, verbose=True)[source]¶ Apply the same pre-processing for each element to dataset.
It accepts 1 or 2 for length of
dataset
, each element of which is regarded as0th-order
,1st-order
, …Parameters: Returns: Processed dataset into the same min-max range.
Return type:
-
load
(file_path, verbose=True)[source]¶ Load internal parameters for each element.
Only root MPI process loads parameters.
Parameters:
-