Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

min max scaler sklearn

from sklearn.preprocessing import MinMaxScaler

scaler = MinMaxScaler()
scaler.fit_transform(X_train)
scaler.transform(X_test)
Comment

PREVIOUS NEXT
Code Example
Python :: install matplotlib.pyplot mac python 3 
Python :: get all environment variables python 
Python :: python randomly shuffle rows of pandas dataframe 
Python :: generate a color python 
Python :: index to datetime pandas 
Python :: python random hex color 
Python :: numpy array to torch tensor 
Python :: days of week 
Python :: python save seaborn plot 
Python :: python time.strptime milliseconds 
Python :: translate sentences in python 
Python :: python delete none from list 
Python :: download python on wsl 
Python :: python3 install google 
Python :: os.system return value 
Python :: selenium python get innerhtml 
Python :: folium anaconda 
Python :: pandas filter string contain 
Python :: how i install jupyter notebook in a new conda virtual environment 
Python :: create pandas dataframe with random numbers 
Python :: pd read csv unname 
Python :: python show interpreter path 
Python :: rotate x label 90 degrees seaborn 
Python :: convert pdf to base64 python 
Python :: python delete all files in directory 
Python :: how to lowercase list in python 
Python :: numpy merge arrays 
Python :: count none in list python 
Python :: pylint no name in module cv2 
Python :: django created at field 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =