amallia / int_seq

Predict the next term of an integer sequence using ensemble of models working on different types of sequences: for Fun and Profit! ⏩

Home Page:https://int-seq.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integer Sequence Learning

This is a repository of project developed by @BinaryCat team during uData Crash Course.

Kaggle competition: 1, 2, 3, 4, 5, 7?!

The goal of this project was to develop stand-alone system that combines several approaches to process a given sequence in order to predict the next term. Dataset was collected from OEIS Encyclopedia and tampered a bit, with noise added and some terms randomly removed. Accuracy is used for evaluation, thus penalising heavily for not exact prediction. Best accuracy achieved by the combined effort of our team and Kaggle contributors is 25.25%, which would have placed us on 15th position of public leaderboard.

int-seq Live Demo

We've created a micro-service using Flask back-end and hosted it on Heroku platform. Since we're using free Dyno, site uptime is 200h. per month.

Reproduce

Run reproduce.ipynb and follow the instructions.

Acknowledgments

  • Our core model is a courtesy of Balzac's Kernel.
  • The idea of reformatting problem as multi-class labeling that made Recurrent Network applicable was developed on the basis of this repo.
  • The idea of ensemble of models is discussed here in great detail.

About

Predict the next term of an integer sequence using ensemble of models working on different types of sequences: for Fun and Profit! ⏩

https://int-seq.herokuapp.com

License:MIT License


Languages

Language:Jupyter Notebook 78.7%Language:HTML 20.5%Language:Python 0.8%Language:CSS 0.1%Language:JavaScript 0.0%