Giter Club home page Giter Club logo

demspaces's People

Contributors

andybega avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

demspaces's Issues

Add component number option for PCA logistic regression

The number of components to extract right now is at default of 5, at some point make this an optional argument. Probably also take a look at components vs fraction variance captured for the states data to make a good new default value.

Right now even with 5 components the accuracy results are only a little bit worse than full saturated logistic regression.

RF (self-)tuning heuristic

Make RF tune itself, or at least provide some way to obtain info on tuning from a server run. The current version uses all out of the box default settings.

Add 0.5 SE lambda picker for reg_logreg

glmnet::cv.glmnet() includes the minimum cost lambda value as well as the smallest lambda within 1 CV SE of that. Add a less conservative 0.5 CV SE option. See glmnet:::getmin():

function (lambda, cvm, cvsd) 
{
    cvmin = min(cvm, na.rm = TRUE)
    idmin = cvm <= cvmin
    lambda.min = max(lambda[idmin], na.rm = TRUE)
    idmin = match(lambda.min, lambda)
    semin = (cvm + cvsd)[idmin]
    idmin = cvm <= semin
    lambda.1se = max(lambda[idmin], na.rm = TRUE)
    list(lambda.min = lambda.min, lambda.1se = lambda.1se)
}

The relevant code needs to go in reg_logreg().

See #2, might help with that.

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.