Code Monkey home page Code Monkey logo

x-inf554-machine-learning's Introduction

INF 554 - Machine and Deep Learning Data Challenge: Retweet Prediction

Authors: Paul Houssel, Silviu-Andrea Maftei and Elouan Gros

Reproduce our Results

In this section we present and explain how to execute our code in order to reproduce our obtained results. In order to make our results reproducable, we set a fixed random set and specify the exact versions of the used python libraries (see the file requirements.txt in the root folder).

  1. Download all the required packets with the correct versionning
  2. Run python3 final-model.py while being in the code directory

Folders and Experimental scripts

In this section we explain all the code scripts that were use to experiment various hypothesis.

  • ./code
    • pipeline.py A python method to preprocess the dataset, such that it can be used for the training and the evaluation of our final model
    • final-model.py Our best performing model
    • ./hashtags-engineering Containing all scripts for the encoding and dimensionality reduction of the hashtags.
    • ./text-engineering Containing all scripts for the vectorization and dimensionality reduction of the text contained in the tweet.
    • ./baseline-models Evaluation and training of all baseline models reported in section 3.2 of our report. For each model, there exists a given script to train the given model with the default model parameters after applying our feature engineering pipeline to the training and test set.
    • ./grb-tuning Hypertuning the Gradient Boosting regressor including the according data pipeline.
    • ./rfr-tuning Hypertuning the Random Forest regressor including the according data pipeline.
    • ./xgb-tuning Hypertuning the XG Boosting regressor including the according data pipeline.
    • ./data-analysis All scripts that were used to generate figures and help us understand the data.
      • time-vis.py A data visualisation script investigating the results of transforming and combining UNIX time data
      • correlation.py A script to plot all the correlation plots and correlation matrices of the original and engineered features
      • normalisation.py A script to inspect the data distribution of certain features and the effect of given normalisation techniques.
  • ./figs All images generated for our report and our experiments.

x-inf554-machine-learning's People

Contributors

el-bg-1970 avatar jetlime 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.