Coder Social home page Coder Social logo

jimfleming / numerai Goto Github PK

View Code? Open in Web Editor NEW
287.0 33.0 84.0 8.22 MB

Code from my experiments on Numerai

Home Page: https://medium.com/@jimfleming/notes-on-the-numerai-ml-competition-14e3d42c19f3#.p3swptim4

License: MIT License

Python 0.64% MATLAB 0.04% C++ 0.50% Jupyter Notebook 98.81%

numerai's Introduction

Numerai Experiments

Folder structure:

  • ensemble.py - combines multiple predictions using geometric mean
  • fit_tsne.py - uses this t-SNE implementation for 2D embedding (does not work in 3D)
  • search_params.py - uses RandomSearchCV for hyperparameter search
  • tpot_test.py - runs tpot over the data
  • tpot_pipeline.py - best tpot model
  • notebooks/ - contains Jupyter notebooks
  • bh_tsne/ - is the original C++ t-SNE implementation with scripts for converting the csvs to the format the binary expects
  • models/ - various model implementations
    • adverarial/ - generative adversarial model that saves the learned features for each sample
    • autoencoder/ - simple autoencoder with regular and denoising variants (also saves learned features)
    • classifier/ - simple neural network classifier
    • pairwise/ - pairwise model implementation described in the blog post
    • pipeline/ - various scikit-learn models
      • estimators.py - custom wrappers around KernelPCA and Isomap that fit on a small portion of the training samples to avoid memory errors
      • transformers.py - contains ItemSelector which allows for selecting data by a key when building pipelines (source)
      • fm.py - factorization machines
      • lr.py - logistic regression with t-SNE features
      • pairwise.py - sklearn variant of the pairwise model
      • simple.py - simple logistic regression with polynomial features

numerai's People

Contributors

jimfleming avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

numerai's Issues

Issue with data prep

Hi Jim!
Great project!
I am just having trouble with the prep data moudule.
Running it on linux mint.

andrewcz@andrewcz-PORTEGE-Z30t-B ~/Desktop/Numerai/numerai dataset/numerai_datasets (13)/numerai $ python prep_data.py
/home/andrewcz/miniconda3/lib/python3.5/site-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
"This module will be removed in 0.20.", DeprecationWarning)
Fold #1
Traceback (most recent call last):
File "prep_data.py", line 85, in
main()
File "prep_data.py", line 50, in main
rf.fit(X_split_train, y_split_train)
File "/home/andrewcz/miniconda3/lib/python3.5/site-packages/sklearn/ensemble/forest.py", line 247, in fit
X = check_array(X, accept_sparse="csc", dtype=DTYPE)
File "/home/andrewcz/miniconda3/lib/python3.5/site-packages/sklearn/utils/validation.py", line 382, in check_array
array = np.array(array, dtype=dtype, order=order, copy=copy)
ValueError: could not convert string to float: 'test'

Many thanks for your help,
Andrew

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.