jarvis.ai.pkgs.utils
¶
Helper functions for ML applications.
Module Contents¶
Functions¶
|
Provide arrays/pandas-dataframe as input for ML algorithms. |
|
Get Mean absolute deviation. |
|
Provide generic regresion scores. |
|
Categorize a continous dataset in 1/0 with a threshold "tol". |
Attributes¶
- jarvis.ai.pkgs.utils.typical_data_ranges¶
- jarvis.ai.pkgs.utils.get_ml_data(ml_property='formation_energy_peratom', dataset='cfid_3d', data_ranges=typical_data_ranges)[source]¶
Provide arrays/pandas-dataframe as input for ML algorithms.
Args:
ml_property: target property to train
data_ranges: range for filtering data
dataset: dataset available in jarvis or other array
- Returns:
X, Y , ids