The Realm of Supervised Learning
Preprocessing data using different techniques
Getting ready
1 | import numpy as np |
How to do it…
1 | # Mean removal |
- python preprocessor.py
Mean = [ 5.55111512e-17 -1.11022302e-16 -7.40148683e-17 -7.40148683e-17]
Std deviation = [ 1. 1. 1. 1.]
1 | # Scaling |
1 | # Normalization |
1 | # Binarization |
>
1 | # One Hot Encoding |
Label encoding
How to do it…
1 | from sklearn import preprocessing |
>
1 | labels = |
The Realm of Supervised Learning
http://example.com/2023/01/23/The Realm of Supervised Learning/
You need to set
install_url to use ShareThis. Please set it in _config.yml.