Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

what is scaling

#Feature scaling
from sklearn.preprocessing import StandardScaler
ss=StandardScaler()
X_scaled=ss.fit_transform(df)
x=pd.DataFrame(data=X_scaled,columns=df.columns
Comment

scaling

#Feature scaling
from sklearn.preprocessing import StandardScaler
ss=StandardScaler()
X_scaled=ss.fit_transform(df)
x=pd.DataFrame(data=X_scaled,columns=df.columns)
Comment

PREVIOUS NEXT
Code Example
Python :: how to duplicate a row in python 
Python :: a python string 
Python :: create a list of the keys in python dictionary 
Python :: wisdom 
Python :: pip path windows 10 
Python :: last element python 
Python :: tuple unpacking 
Python :: socket.accept python 
Python :: numpy arange number of elements 
Python :: lists in python 
Python :: django template filter 
Python :: float in python 
Python :: how to store object in file python 
Python :: python elif syntax 
Python :: how to iterate tuple in python 
Python :: python add 1 
Python :: is python idle an ide 
Python :: python boto3 put_object to s3 
Python :: python scatter size 
Python :: python sort case insensitive 
Python :: how to generate two random numbers in python 
Python :: geometric progression in python 
Python :: first non repeating charcter in string ython 
Python :: Can there be an if statement inside an if statement python 
Python :: how to get function help in jupyter notebook 
Python :: how to remove last element from a list python 
Python :: python split large xml file by tag 
Python :: nested input python 
Python :: python beautifulsoup load cookies download file from url 
Python :: Installez django-cruds-adminlte 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =