Created
June 23, 2022 12:13
-
-
Save oguzhari/fc8f7df351f62c7ce8efcb5736bc5acb to your computer and use it in GitHub Desktop.
Kelime sayılarının normalize edilmesi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Feature Normalization | |
| #Kelime Sayısı Normalizasiyonu | |
| kelsay_normal = [] | |
| for i in ogrenme_seti['kelsay']: | |
| normal = (i - ogrenme_seti['kelsay'].min()) / (ogrenme_seti['kelsay'].max() - ogrenme_seti['kelsay'].min()) | |
| kelsay_normal.append(normal) | |
| #Set'e eklenme | |
| ogrenme_seti['kelsay'] = kelsay_normal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment