Skip to content

Instantly share code, notes, and snippets.

@oguzhari
Created June 23, 2022 12:13
Show Gist options
  • Select an option

  • Save oguzhari/fc8f7df351f62c7ce8efcb5736bc5acb to your computer and use it in GitHub Desktop.

Select an option

Save oguzhari/fc8f7df351f62c7ce8efcb5736bc5acb to your computer and use it in GitHub Desktop.
Kelime sayılarının normalize edilmesi
#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