You are on page 1of 1

Students Independent Work 4

Topic: Programming tasks: Creating a classifier by using the Naive Bayes algorithm in
sentiment analysis

Programming language: Python


Requirements:
1. Must be know how to use python libraries.
a. pandas – Python Data Analysis Library
b. numpy
2. using MultinomialNB model
3. Visualizing process using matplotlib liberties.

Steps of SIW work:


1. Loading the dataset
2. Preprocessing the data
3. Encoding Labels and Making train-test splits
4. Building the Naïve Bayes Classifier
5. Fitting the model on training set and evaluating accuracies on the test set

You might also like