filmov
tv
Python Bytes - Machine Learning Birch Part 1 Scale, Center & Transform Data Code in Description
Показать описание
#Coded by Andrew C
import pandas as pd
from sklearn import datasets
import numpy as numpy
X = wine[['alcohol', 'total_phenols']]
scale = StandardScaler()
print("Scale Mean:")
print()
print("Scale/Standard Deviation:")
print()
print("Is data centered at 0?")
print()
print("Does data have a standard deviation of 1?")
#coding #datascience #python
import pandas as pd
from sklearn import datasets
import numpy as numpy
X = wine[['alcohol', 'total_phenols']]
scale = StandardScaler()
print("Scale Mean:")
print()
print("Scale/Standard Deviation:")
print()
print("Is data centered at 0?")
print()
print("Does data have a standard deviation of 1?")
#coding #datascience #python