Giter Club home page Giter Club logo

numerai's Introduction

I competed in the numerai data modeling challenge as user Pequod, finishing 59th out of 209 competitors. Not great, but I'm satisfied with the result given the limited time I put into it.

The model is very simple:

  1. PCA dimension reduction from 14 to 8 continuous variables
  2. Dummy code the categorical variable
  3. K-means clustering into 6 clusters
  4. Separate ElasicNet CV linear estimators for each cluster.

At one point I was at the head of the leader board, and maintained the #2 spot until very near the end of the contest. The competition organizers then made it clear that final rankings would be based on a separate dataset than that used for the leaderboard; at that point, it became very difficult to gauge how well my solution might do, because my results against the validation set often did not line up well with the data set used for leaderboard position. In other words, my solution was not generalizing well.

Rather than trying to maintain leaderboard position, I used n-fold cross validation to try and identify the combination of model parameters that produced the highest average AUC score across the CV sets, while minimizing the spread between highest and lowest scoring sets. I figured this way, I could have more confidence in how my solution would ultimately perform on the final test set. I chose to use 8 principle components and 6 k-means derived clusters (see cyan highlights in image below)

My final sumbission had AUC 0.53019 on the leaderboard test set. Even though my highest ranking solution scored AUC of 0.54824, I kept the lower scoring solution posted in the hopes it would generalize well, and that many players above me would be sorely surprised by their ultimate results on the final test set because of overfitting to the leaderboard set. My solution scored 0.52854 on the final test set - very close to the score on the leaderboard set.

numerai's People

Contributors

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