forked from imbs-hl/ranger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marvin Wright
committed
May 10, 2017
1 parent
7fab8a3
commit d72de4a
Showing
48 changed files
with
38 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ Title: A Fast Implementation of Random Forests | |
Version: 0.7.2 | ||
Date: 2017-04-11 | ||
Author: Marvin N. Wright | ||
Maintainer: Marvin N. Wright <[email protected].de> | ||
Maintainer: Marvin N. Wright <marv@wrig.de> | ||
Description: A fast implementation of Random Forests, particularly suited for high | ||
dimensional data. Ensembles of classification, regression, survival and | ||
probability prediction trees are supported. Data from genome-wide association | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
# Germany | ||
# | ||
# http://www.imbs-luebeck.de | ||
# [email protected] | ||
# ------------------------------------------------------------------------------- | ||
|
||
##' Case-specific random forests. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
# Germany | ||
# | ||
# http://www.imbs-luebeck.de | ||
# [email protected] | ||
# ------------------------------------------------------------------------------- | ||
|
||
##' This function is deprecated. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
# Germany | ||
# | ||
# http://www.imbs-luebeck.de | ||
# [email protected] | ||
# ------------------------------------------------------------------------------- | ||
|
||
##' Grow two random forests on two cross-validation folds. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
# Germany | ||
# | ||
# http://www.imbs-luebeck.de | ||
# [email protected] | ||
# ------------------------------------------------------------------------------- | ||
|
||
##' @export | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
# Germany | ||
# | ||
# http://www.imbs-luebeck.de | ||
# [email protected] | ||
# ------------------------------------------------------------------------------- | ||
|
||
##' Prediction with new data and a saved forest from Ranger. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
# Germany | ||
# | ||
# http://www.imbs-luebeck.de | ||
# [email protected] | ||
# ------------------------------------------------------------------------------- | ||
|
||
##' @export | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
# Germany | ||
# | ||
# http://www.imbs-luebeck.de | ||
# [email protected] | ||
# ------------------------------------------------------------------------------- | ||
|
||
##' Print contents of Ranger object. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
# Germany | ||
# | ||
# http://www.imbs-luebeck.de | ||
# [email protected] | ||
# ------------------------------------------------------------------------------- | ||
|
||
##' Ranger is a fast implementation of Random Forest (Breiman 2001) or recursive partitioning, particularly suited for high dimensional data. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
# Germany | ||
# | ||
# http://www.imbs-luebeck.de | ||
# [email protected] | ||
# ------------------------------------------------------------------------------- | ||
|
||
##' @export | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
![CRAN Downloads month](http://cranlogs.r-pkg.org/badges/ranger?color=brightgreen) | ||
![CRAN Downloads overall](http://cranlogs.r-pkg.org/badges/grand-total/ranger?color=brightgreen) | ||
## ranger: A Fast Implementation of Random Forests | ||
Marvin N. Wright, [email protected] | ||
Marvin N. Wright | ||
|
||
### Introduction | ||
ranger is a fast implementation of random forest (Breiman 2001) or recursive partitioning, particularly suited for high dimensional data. Classification, regression, probability estimation and survival forests are supported. Classification and regression forests are implemented as in the original Random Forest (Breiman 2001), survival forests as in Random Survival Forests (Ishwaran et al. 2008). For probability estimation forests see Malley et al. (2012). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <iostream> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ Institut für Medizinische Biometrie und Statistik | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <fstream> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ Institut für Medizinische Biometrie und Statistik | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef ARGUMENTHANDLER_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <fstream> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef DATA_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ Institut für Medizinische Biometrie und Statistik | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
// Ignore in coverage report (not used in R package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ Institut für Medizinische Biometrie und Statistik | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
// Ignore in coverage report (not used in R package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ Institut für Medizinische Biometrie und Statistik | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include "DataDouble.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ Institut für Medizinische Biometrie und Statistik | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef DATADOUBLE_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ Institut für Medizinische Biometrie und Statistik | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
// Ignore in coverage report (not used in R package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ Institut für Medizinische Biometrie und Statistik | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
// Ignore in coverage report (not used in R package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include "DataSparse.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,6 @@ | |
23562 Lübeck | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef DATASPARSE_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <math.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef FOREST_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <unordered_map> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef FORESTCLASSIFICATION_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <stdexcept> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef FORESTPROBABILITY_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <algorithm> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef FORESTREGRESSION_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <set> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef FORESTSURVIVAL_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <iterator> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef TREE_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include <unordered_map> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#ifndef TREECLASSIFICATION_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
Universität zu Lübeck | ||
Ratzeburger Allee 160 | ||
23562 Lübeck | ||
Germany | ||
http://www.imbs-luebeck.de | ||
[email protected] | ||
#-------------------------------------------------------------------------------*/ | ||
|
||
#include "TreeProbability.h" | ||
|
Oops, something went wrong.