Giter VIP home page Giter VIP logo

stabpath's People

Contributors

fabian-s avatar

Watchers

 avatar  avatar  avatar

stabpath's Issues

Improve documentation

  • Fix CHECK note:
checking R code for possible problems ... NOTE
plot.stabpath: no visible global function definition for ‘par’
plot.stabpath: no visible binding for global variable ‘par’
plot.stabpath: no visible global function definition for ‘modifyList’
plot.stabpath: no visible global function definition for ‘hcl’
plot.stabpath: no visible binding for global variable ‘matplot’
plot.stabpath: no visible binding for global variable ‘mtext’
Undefined global functions or variables:
  hcl matplot modifyList mtext par
Consider adding
  importFrom("grDevices", "hcl")
  importFrom("graphics", "matplot", "mtext", "par")
  importFrom("utils", "modifyList")
to your NAMESPACE file.
  • add examples

Missing data and/or examples

Hi,

Package "stabpath" does not provide any examples nor any data. Therefore it is very difficult to know how to call get_stability_paths() with the right model and data inputs.

However, in my distress I tried the example from lab_stabsel.pdf (out of stabilityselection.zip) from FoRt "25.10. - 01.11. Programmierstil & Programmentwurf".

lab_stabsel.pdf

However, this throws an error:
(strata <- rep(c("s1", "s2", "s3"), each=4))
tapply(X = 1:12, INDEX = strata, FUN = sample, replace = TRUE)

data(prostate)
data <- prostate
max_formula <- lpsa ~ (. - train)
model <- regsubsets(max_formula, data=data, nbest = 1, nvmax = 8,
really.big = TRUE)

set.seed(20141020)
stability_paths <- get_stability_paths(model, data, reps=10)

Error message

Error in leaps::regsubsets(max_formula, data = list(lcavol = c(2.830267834, :
could not find function "leaps::regsubsets"

`gbm` methods

see stubs in refit.R, get_selected.R
(you may need to modify the travis.yml file as well)

`glmnet` methods

see stubs in refit.R, get_selected.R
(you may need to modify the travis.yml file as well)

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.