Giter VIP home page Giter VIP logo

asap-sas's Introduction

Code for 5th place in ASAP-SAS competition

License GPLv3: http://www.gnu.org/copyleft/gpl.html Authors: Jonathan Peters, Paweł Jankiewicz

  1. Installation.
    • Python 2.6.6+ Libraries needed: numpy, nltk*, pyaspell
    • R 2.14.1+ Libraries needed (as in config.r file)
    • RStudio 0.95.262+
  • for nltk there is a necessity to download some external data: nltk.corpus.stopwords nltk.corpus.brown nltk.corpus.wordnet

    It is done very quickly using a command nltk.download() and selecting those 3 libraries

  1. Place the private leaderboard data set as private_leaderboard.tsv file in data/raw/ folder The file that resides there is only a dummy file that helped us create a process.

  2. Change the header to setwd(YOUR_CURRENT_PATH) in files:

    • 1c_prepare_features.r
    • 2_prepare_data.r
    • 4_make_models.r
    • 5_blend.r
  3. Run the files:

    • 1a_prepare_essays.py (python)
    • 1b_prepare_ngrams.py (python)
    • 1c_prepare_features.r (Rstudio)
    • 1d_prepare_chunks.py (python)
    • 1d_prepare_essay_specific_features.py (python)
    • 1g_prepare_features.py (python)
    • 2_prepare_data.r (Rstudio)
    • 3_make_models.r (Rstudio)
    • 4_blend.r (Rstudio)

It will take 1-2 weeks to calculate all the models depending on how many cores you have.

  1. The submission should be placed in submissions/private.csv

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.