Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Scaling Operation in SkLearn

from sklearn.preprocessing import StandardScaler
sc_X = StandardScaler()
sc_y = StandardScaler()
X = sc_X.fit_transform(X)
y = sc_y.fit_transform(y)
Comment

PREVIOUS NEXT
Code Example
Python :: pandas test for nan 
Python :: how to use virtual environment python 
Python :: python calculate angle between two points 
Python :: is power of python recursion 
Python :: sleep in python 3 
Python :: python palindrome 
Python :: how to print time python 
Python :: blender python select object by name 
Python :: s = 1 + 2 + ... + n in python 
Python :: how to play a video in tkinter window 
Python :: qradiobutton example 
Python :: how to change os path in python 
Python :: how to close windows in selenium python without quitting the browser 
Python :: checking if a string is in alphabetical order in python 
Python :: how to print two lists side by side in python 
Python :: stack data horizontally pandas 
Python :: change date format python code 
Python :: replace character in string python 
Python :: numpy item size 
Python :: django __str__ self multiple 
Python :: opencv waitkey example 
Python :: connecting python with database 
Python :: Django less than and greater than 
Python :: how to use a string variable as a variable name in python 
Python :: code to calculate dice score 
Python :: add two datetime python 
Python :: how to use the random module in python 
Python :: change column name pandas 
Python :: intersection between two arrays using numpy 
Python :: create dict from two columns pandas 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =