reclaim.derived_features package
reclaim.derived_features.feature_engineering_and_transformation module
- reclaim.derived_features.feature_engineering_and_transformation.engineer_and_transform_features(df: DataFrame) DataFrame[source]
Engineer and transform features in reservoir/catchment dataset.
Features are first engineered in raw space (linear), then log-transformations are applied in a single pass to avoid double-logging.
Log-transformed columns are prefixed with
log_to clearly indicate their state.- Required input columns (abbreviations):
CA, DCA, OBC, HGT, RA, RP, FL
SA_mean, SA_mean_clip, SA_std, SA_kurt
PAI, MAI, MAO, I_std, O_std, MAR
OEY, BY, VGF, VLF
Land cover: LCAS, LCC, LCG, LCT, LCS, LCHV, LCM, LCSV, LCBS, LCSG, LCWB
COAR, SAND, NSSC2_mean