Skip to main content

Applications of Naive bayes

Hand, Robot, Human, Machine, Face, Woman, Board, Binary


1.      Consider the following dataset:

Apply Naïve Bayes classifier for predicting the feature, “Inflated. Calculate the training set error.

solution:



 


 



Popular posts from this blog

IMPLEMENTATION OF KNN CLASSIFIER

1.       Predict the food type for tomato (A = 6 B = 4) with k=2 using the below the training data set.   Ingredient A B Food Type Grape 8 5 Fruit Beans 3 7

KNN CLASSIFIER

DA2 ML VITOL PART3   A B C D Output Some High False French Yes Full Low False Thai No Some

Example problem on simple linear regression

1.      Consider the following farmer dataset.   Number of pounds per acre (in hundreds) Bushels per acre X y 1.0 25 2.5 32 3.0 35 3.0 32 3.4