You are on page 1of 3

DEPARTMENTOF

COMPUTERSCIENCE&ENGINEERING

EXPERIMENT-3.2

Student Name: Palak Jain UID: 21BCS9266


Branch: BE-CSE Section/Group: 642/A
Semester: 5 Date of Performance: 25/10/23
Subject Name: AIML LAB Subject Code: 21CSH-316

AIM: Implement Implement Naïve Bayes theorem to classify the


English text.

OBJECTIVE: How to calculate the probabilities required by the Naive


Bayes algorithm.
How to implement the Naive Bayes algorithm from scratch.
How to apply Naive Bayes to a real-world predictive modeling problem.

Algorithm:
Step 1: Separate By Class.
Step 2: Summarize Dataset.
Step 3: Summarize Data By Class.
Step 4: Gaussian Probability Density Function.
Step 5: Class Probabilities.

DBMS SCRIPT:
DEPARTMENTOF
COMPUTERSCIENCE&ENGINEERING
COMPUTERSCIENCE&ENGINEERING

OUTPUT:

LEARNING OUTCOMES:
1) Learn to to calculate the probabilities required by the Naive Bayes
algorithm.
2) How to implement the Naive Bayes algorithm from scratch.

You might also like