#include "party.h"
Go to the source code of this file.
Functions | |
void | C_surrogates (SEXP node, SEXP learnsample, SEXP weights, SEXP controls, SEXP fitmem) |
SEXP | R_surrogates (SEXP node, SEXP learnsample, SEXP weights, SEXP controls, SEXP fitmem) |
void | C_splitsurrogate (SEXP node, SEXP learnsample) |
Definition in file SurrogateSplits.c.
void C_splitsurrogate | ( | SEXP | node, | |
SEXP | learnsample | |||
) |
Split with missing values
node | the current node with primary and surrogate splits specified | |
learnsample | learning sample |
Definition at line 173 of file SurrogateSplits.c.
Referenced by C_TreeGrow().
void C_surrogates | ( | SEXP | node, | |
SEXP | learnsample, | |||
SEXP | weights, | |||
SEXP | controls, | |||
SEXP | fitmem | |||
) |
Search for surrogate splits for bypassing the primary split
node | the current node with primary split specified | |
learnsample | learning sample | |
weights | the weights associated with the current node | |
controls | an object of class `TreeControl' | |
fitmem | an object of class `TreeFitMemory' |
Definition at line 21 of file SurrogateSplits.c.
Referenced by C_TreeGrow(), and R_surrogates().
SEXP R_surrogates | ( | SEXP | node, | |
SEXP | learnsample, | |||
SEXP | weights, | |||
SEXP | controls, | |||
SEXP | fitmem | |||
) |
R-interface to C_surrogates
node | the current node with primary split specified | |
learnsample | learning sample | |
weights | the weights associated with the current node | |
controls | an object of class `TreeControl' | |
fitmem | an object of class `TreeFitMemory' |
Definition at line 158 of file SurrogateSplits.c.
References C_surrogates(), and S3get_surrogatesplits().