Horje
gaussian Code Example
gaussian
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split
from sklearn.naive_bayes import GaussianNB
X, y = load_iris(return_X_y=True)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.25, random_state=142)
Naive_Bayes = GaussianNB()
Naive_Bayes.fit(X_train, y_train)
prediction_results = Naive_Bayes.predict(X_test)  
print(prediction_results)




Python

Related
remove percentage in python Code Example remove percentage in python Code Example
python visualize fft of an image Code Example python visualize fft of an image Code Example
add 2 number Code Example add 2 number Code Example
python in intellij Code Example python in intellij Code Example
sort dict by values Code Example sort dict by values Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10