• Home
  • Blog
  • Project on improving the bag of little bootstraps for linear regression model package

Project on improving the bag of little bootstraps for linear regression model package

0 comments

Please check the attached document below. (You don’t need to meet all the requirements, i.e. the 3rd requirement)

Your job is improved my package to various ways. For examples,

  1. In the current implementation, only one CPU is used in the algorithm. Make it possible to use more than one CPUs. Note that you should let users to decide if they want to use parallelization.
  2. Allow users to specify file names to run the model rather than loading the whole data in the main process.
  3. Functions are written in pure R, it is possible, for example, to convert the function lm1 to c++ code. Your might need look at how RcppArmadillo’s fastLm.R and fastLm.cpp. (Spoiler, it is not easy, but if you insist, here is a some slides about it: https://scholar.princeton.edu/sites/default/files/q-aps/files/slides_day4_am.pdf)
  4. Write tests and documentations
  5. More models? Logistic regression? GLM?
  6. You should also write a few pages Rmarkdown documentation to explain your work. One recommendation way is to put the documentation as a vignette. (If you want to use tidyverse in the the vignettes, run usethis::use_package("tidyverse", type = "suggest") to add tidyverse in the suggest field of DESCRIPTION.)

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}