Git Product home page Git Product logo

gaussrank's Introduction

GaussRank

Data and results of running Hyperband on kin8nm, two versions: original and transformed with GaussRank. Three, actually: random projections for comparison.

hyperband - some files customized for running Hyperband on kin8nm
kin8nm - data

hyperband_results.txt
hyperband_results_gaussrank.txt
hyperband_results_random_projections.txt

gaussrank.py - implementation of fit_transform()
transform_gaussrank.py - transform kin8nm data with GaussRank
transform_random_projections.py - transform kin8nm data with random projections

gaussrank's People

Contributors

zygmuntz 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

Watchers

 avatar  avatar  avatar  avatar  avatar

gaussrank's Issues

From -1 to 1 or from 0 to 1 ?

Hello !!

I read your article and it says:
"First step is to assign a linspace to the sorted features from -1โ€ฆ1, then apply the inverse of error function ErfInv to shape them like gaussians, then I substract the mean. Binary features are not touched with this trafo (eg. 1-hot ones). This works usually much better than standard mean/std scaler or min/max."
http://fastml.com/preparing-continuous-features-for-neural-networks-with-rankgauss/

But you mentioned Jahrer interview and he says something different:
"normalization
Input normalization for gradient-based models such as neural nets is critical. For lightgbm/xgb it does not matter. The best what I found during the past and works straight of the box is "RankGauss". Its based on rank transformation. First step is to assign a linspace to the sorted features from 0..1, then apply the inverse of error function ErfInv to shape them like gaussians, then I substract the mean. Binary features are not touched with this trafo (eg. 1-hot ones). This works usually much better than standard mean/std scaler or min/max."
https://www.kaggle.com/c/porto-seguro-safe-driver-prediction/discussion/44629

So should it be sort from -1 to 1 or sort from 0 to 1 ?

Thanks

Fit then transform ?

Hello, if I want to use my algorithm online with gaussrank, is it possible to implement a version with separated fit and predict function please ? While using quantiles/percentiles instead of sorted ranks for example ?

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.