Go to the source code of this file.
Functions | |
void | C_surrogates (SEXP node, SEXP learnsample, SEXP weights, SEXP controls, SEXP fitmem) |
void | C_splitsurrogate (SEXP node, SEXP learnsample) |
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 198 of file SurrogateSplits.c.
References C_i_in_set(), get_missings(), get_variable(), has_missings(), PL2_inputsSym, S3get_leftnode(), S3get_nodeweights(), S3get_primarysplit(), S3get_rightnode(), S3get_splitpoint(), S3get_surrogatesplits(), S3get_toleft(), and S3get_variableID().
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.
References C_ExpectCovarInfluence(), C_init_orderedsplit(), C_split(), C_tempweights(), get_maxsurrogate(), get_missings(), get_ninputs(), get_nobs(), get_ordering(), get_splitctrl(), get_splitstatistics(), get_variable(), has_missings(), is_nominal(), PL2_expcovinfssSym, PL2_inputsSym, PL2_linexpcov2sampleSym, S3_LEFT, S3get_nodeweights(), S3get_primarysplit(), S3get_splitpoint(), S3get_surrogatesplits(), S3get_variableID(), S3set_toleft(), S3set_variableID(), and SPLIT_LENGTH.
Referenced by C_TreeGrow(), and R_surrogates().