Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukesonnet/KRLS
R package for machine learning technique to fit flexible, interpretable functional forms for continuous and binary outcomes.
https://github.com/lukesonnet/KRLS
Last synced: 1 day ago
JSON representation
R package for machine learning technique to fit flexible, interpretable functional forms for continuous and binary outcomes.
- Host: GitHub
- URL: https://github.com/lukesonnet/KRLS
- Owner: lukesonnet
- License: other
- Created: 2016-06-10T17:55:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T23:34:30.000Z (about 4 years ago)
- Last Synced: 2024-11-10T20:44:55.096Z (1 day ago)
- Language: R
- Homepage:
- Size: 260 KB
- Stars: 21
- Watchers: 5
- Forks: 12
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE.note
Awesome Lists containing this project
README
# KRLS
[![Travis-CI Build Status](https://travis-ci.org/lukesonnet/KRLS.svg?branch=master)](https://travis-ci.org/lukesonnet/KRLS) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/lukesonnet/KRLS?branch=master&svg=true)](https://ci.appveyor.com/project/lukesonnet/KRLS) [![Coverage Status](https://coveralls.io/repos/github/lukesonnet/KRLS/badge.svg?branch=master)](https://coveralls.io/github/lukesonnet/KRLS?branch=master)This package provides methods for fitting flexible functional forms for continuous and binary outcomes. This package is under development and may behave unexpectedly. It is intended to replace the KRLS package available on CRAN. Please email [Luke Sonnet](mailto:[email protected]) or leave an issue for Luke Sonnet or Chad Hazlett.
### Install latest version
You can install the latest version by running:
```R
devtools::install_github('lukesonnet/KRLS')
```### Troubleshooting installation
This version uses `Rcpp` extensively for speed reasons. These means you need to have the right compilers on your machine.
#### Windows
If you are on Windows, you will need to install [RTools](https://cran.r-project.org/bin/windows/Rtools/) if you haven't already. If you still are having difficulty with installing and it says that the compilation failed, try installing it without support for multiple architectures:
```R
devtools::install_github('lukesonnet/KRLS', args=c('--no-multiarch'))
```#### Mac OSX
In order to compile the `C++` in this package, `RcppArmadillo` will require you to have compilers installed on your machine. You may already have these, but you can install them by running:
```bash
xcode-select --install
```If you are having problems with this install on Mac OSX, specifically if you are getting errors with either `lgfortran` or `lquadmath`, then try open your Terminal and try the following:
```bash
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /
```Also see section 2.16 [here](http://dirk.eddelbuettel.com/code/rcpp/Rcpp-FAQ.pdf)