CN4242 Lab 1: Microblog Clssification Student: A0105772H

Usage of tweet classifier

  1. Open terminal (Ubuntu/Mac) or command line prompt (Windows).
  2. Check the current version of Python. Ensure that Python 3 is in use.
  3. Redirect to the project folder: "tweet-classification".
  4. Type "python" plus the script name of the classifier. Press Enter key to execute the script. e.g. "python tweet_early_fusion_classifier.py", "python tweet_early_fusion_classifier.py".

Remarks

  1. Take note that the classifier scripts are written in Python 3.
  2. The preprocessor modules have been imported to the classifiers and will be called when the classifier programs are executed.
  3. In the program of the late fusion classifier ("tweet_early_fusion_classifier.py"), different classification models can be applied by commenting/uncommenting the code of model declaration.