Skip to content

An artificial intellgience algorithm that can predict whether a TV show review is positivie or negative by reading the review title. Utilizes web scraping on IMDB to collect the review data and build the vocabulary.

Notifications You must be signed in to change notification settings

maxb6/TVReviewAlgorithm

Repository files navigation

#COMP472 - Assignment2

Programmed by:

  • Constantine Karellas - 40109253
  • Max Burah - 40077075

Libraries Used:

  • matplotlib
  • pandas
  • requests
  • math
  • BeautifulSoup
  • numpy

Program Instructions:

  • Program Start.
  • All of Season 1,2,3,4 reviews of the show Seinfeld are being webscraped.
  • Calculating the probabilities, this is where model.txt is created.
  • The data.csv file is made, the output can also be seen on the output terminal.
  • Testing the data and reviews with our probabilites, this is where result.txt is created.
  • Task 2.2 is executing smooth-model.txt and smooth-result.txt are created and the plot (graph) is displayed with smoothing values between 1 and 2.
  • Task 2.3 is executing length-model.txt and length-result.txt are created and the plot (graph) is displayed with length values of 2, 4 and 9.

About

An artificial intellgience algorithm that can predict whether a TV show review is positivie or negative by reading the review title. Utilizes web scraping on IMDB to collect the review data and build the vocabulary.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages