Spaces:
Build error
Build error
Download utils.py from jasifk/dating-model: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/spaces/jasifk/dating-model/resolve/main/utils.py
- Command line
-
hf download hf://spaces/jasifk/dating-model/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/jasifk/dating-model/resolve/main/utils.py
193 Bytes
| from sklearn.preprocessing import StandardScaler | |
| def preprocess_features(features): | |
| scaler = StandardScaler() | |
| scaled_features = scaler.transform(features) | |
| return scaled_features |