Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created November 12, 2020 11:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
What are standarization and normalization? Test with iris data set in Scikit-learn
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.datasets import load_iris
iris = load_iris()
print(iris.DESCR)
df = pd.DataFrame(iris.data, columns=iris.feature_names)
df['target'] = iris.target
df.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment