You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AnushaPalla edited this page Feb 19, 2019
·
1 revision
1)Implementing Naïve Bayes method using scikit-learn library
Explanation:
Load the dataset. Assign data and target to two different variables and by using train_test_split method we are splitting the data into test and train data. Here Gaussian Navie bayes is used to fit the model using train data of x and y.
Output
2)Implement linear SVM method using scikit library