Using this tutorial | 10-13-19
import sklearn
from sklearn import datasets
wine = datasets.load_wine()
wine.feature_names
type(wine)
from sklearn.model_selection import train_test_split
x_train, x_test, y_train, y_test = train_test_split(wine.data, wine.target, test_size=0.3, random_state = 109)
wine.data[1]
wine.target
from sklearn.naive_bayes import GaussianNB
gnb = GaussianNB()
gnb.fit(x_train, y_train)
y_pred = gnb.predict(x_test)
from sklearn import metrics
print("Accuracy:", metrics.accuracy_score(y_test, y_pred))