Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created Nov 12, 2020
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