Code Monkey home page Code Monkey logo

ftrlproximal's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ftrlproximal's Issues

Memory leak detected

Running valgrind on a test script:

R -d valgrind --vanilla < tests/memcheck/norm2d.r

identifies a memory leak

==5301== 
==5301== HEAP SUMMARY:
==5301==     in use at exit: 102,506,744 bytes in 58,522 blocks
==5301==   total heap usage: 102,898 allocs, 44,376 frees, 189,628,726 bytes allocated
==5301== 
==5301== LEAK SUMMARY:
==5301==    definitely lost: 24,240 bytes in 1,010 blocks
==5301==    indirectly lost: 48,480 bytes in 3,030 blocks
==5301==      possibly lost: 0 bytes in 0 blocks
==5301==    still reachable: 102,434,024 bytes in 54,482 blocks
==5301==         suppressed: 0 bytes in 0 blocks
==5301== Rerun with --leak-check=full to see details of leaked memory
==5301== 
==5301== For counts of detected and suppressed errors, rerun with: -v

Add support for ff tables

Add support for ff tables that does not fit in memory. One of the benefits with FTRLProximal is that you do not need to have all data in memory so it should support training models on on disk data. ff is a good contender for this support.

Add cv function

It would be really nice w a built in cv function to validate parameters similar to the glmnet package has.

Why the prediction is binary?

It's awesome to find such online learning algorithms package on R-Cran.
I try to analyze data from Kaggle for practice, and the returning prediction is either 0 or 1.
Even I set predict(, type='response'), the prediction is fixed as 0/1.
If I remember it correctly, the core of FTRL-Proximal is still logistic regression for application on CTR.
I notice one possible cause may be that when training the ftrl model by using ftrlprox() function, it requires the dependent variable should be factor type.
Is it possible to get the prediction being probabilities (0~1, like logistic regression) rather than binary type?

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.