Preprocessing - CyrilB1531/lodestar GitHub Wiki
Development build. This page describes
main, not a released package. The latest published Lodestar.Preprocessing is 0.1.0 — read its documentation.
Preprocessing
Namespaces
- Feature scaling —
Lodestar.Preprocessing— Four scalers, atsklearn.preprocessingparity:StandardScalercentres on the mean and scales to unit variance,MinMaxScalermaps onto a fixed range,MaxAbsScalerdivides by the largest absolute value without ever subtracting, andRobustScalercentres on the median and scales by an interpercentile range. - Splitting —
Lodestar.Preprocessing— One entry point,Splitters: it cuts the rows into cross-validation folds or into a single train and test split, atsklearn.model_selectionparity wherever the reference is deterministic. - Encoding and imputation —
Lodestar.Preprocessing— Two encoders and an imputer, atsklearn.preprocessingandsklearn.imputeparity, over row-major spans rather than anIDataView:Encoders.OneHotgives each category a column,Encoders.Ordinalgives it a code, andSimpleImputerfills what is missing.