Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Perceptron and Naive Bayes Classifier Implementation

Aakash Pydi

Usage Instructions

There are three python scripts in this project. They are,

  1. --> Implements a vanilla perceptron classifier
  2. --> Implements an average perceptron classifier
  3. --> Implements a naive bayes classifier

The scripts take the following arguments,

  • trainingDataFile --> corresponds to a subset of the Yelp dataset that is used as the training set
  • testingDataFile --> corresponds to another subset of the Yelp data that is used as the test set
  • maxIterations --> The perceptron models ( and, take an additional parameter corresponding to the maximum number of iterations it should run.


You can’t perform that action at this time.