Git Product home page Git Product logo

sentiment_analysis's Introduction

Sentiment Analysis Run and Submit Tutorial

Sentiment Analysis by INT3405E_41_DMT (Duc Tran Van, Minh Tan Nguyen, Trung Hoang Nguyen). Rank first in class INT3405E 41

  • Firstly, download data.zip file above then extract and then open int3405-phobert-vgg11.ipynb config the cell like this, {BASE_DIR} is your current dataset directory you have extracted.
DATASET_TRAIN_TEXT_FILE = '{BASE_DIR}/machine-learning-preproc/train_merged_segmented_v2.csv'
DATASET_TRAIN_IMAGE_FOLDER = '{BASE_DIR}/int3405-ml-preprocess-image-data-v2/image_train_resized'
DATASET_TEST_TEXT_FILE = '{BASE_DIR}/machine-learning-preproc/test_labelled_segmented.csv'
DATASET_TEST_IMAGE_FOLDER = '{BASE_DIR}/int3405-ml-preprocess-image-data-v2/image_test_resized'
  • Secondly, install python library file in requirements.txt if run in local, otherwise Colab or Kaggle, just skip this step.
  • Thirdly, make sure internet is connected for model downloading and GPU is activated for model training.
  • Fourthly, run all the cell in int3405-phobert-vgg11.ipynb and wait for training.
  • Finally, we use submission.csv file to submit to INT3405 - Sentiment Analysis Problem
review_d.to_csv("submission.csv", index=False)

sentiment_analysis's People

Contributors

pypye avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.