Code Monkey home page Code Monkey logo

kaggle-tfi's Introduction

Summary

  • The contest offers a training set of 137 observations (yes), and a testing set of 100,000. All models will overfit - the goal is to not overfit too much.
  • I experimented primarily with linear models. Using Gradient Boosted Trees / Random Forests seemed cavalier; these capture more complex variable interactions, and therefore lead to more overfitting.
  • I tried several variable selection techniques, with RandomizedLasso being most useful. To quote sklearn's documentation: "The limitation of L1-based sparse models is that faced with a group of very correlated features, they will select only one. To mitigate this problem, it is possible to use randomization techniques, reestimating the sparse model many times perturbing the design matrix or sub-sampling data and counting how many times a given regressor is selected."
  • With such a small training set, it was possible to thoroughly understand the variable space. Univariate regression with raw, transformed, and polynomial features played heavily into the modeling process.
  • To the organizers, and anyone looking to produce a better model, it's really quite simple: get more data!

To train models and generate a submission, run the following on the command line:

python create_submission.py <path_to_training_set> <path_to_test_set> <path_to_sample_submission> <path_to_your_submission>

kaggle-tfi's People

Stargazers

 avatar

Watchers

 avatar  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.