Main Page | Directories | File List | File Members | Related Pages

SurrogateSplits.c File Reference

#include "party.h"

Include dependency graph for SurrogateSplits.c:

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)


Detailed Description

Suggorgate splits

Author:
Author
hothorn
Date:
Date
2006-08-25 10:53:10 +0200 (Fri, 25 Aug 2006)

Definition in file SurrogateSplits.c.


Function Documentation

void C_splitsurrogate SEXP  node,
SEXP  learnsample
 

Split with missing values

Parameters:
node the current node with primary and surrogate splits specified
learnsample learning sample

Definition at line 169 of file SurrogateSplits.c.

References get_missings(), get_nobs(), 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().

Here is the call graph for this function:

void C_surrogates SEXP  node,
SEXP  learnsample,
SEXP  weights,
SEXP  controls,
SEXP  fitmem
 

Search for surrogate splits for bypassing the primary split

Parameters:
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'
Todo:
enable nominal surrogate split variables as well

Definition at line 21 of file SurrogateSplits.c.

References C_ExpectCovarInfluence(), C_init_orderedsplit(), C_split(), get_maxsurrogate(), get_missings(), get_ninputs(), get_nobs(), get_ordering(), get_splitctrl(), get_splitstatistics(), get_variable(), get_weights(), has_missings(), is_nominal(), PL2_expcovinfssSym, PL2_inputsSym, PL2_linexpcov2sampleSym, S3get_nodeweights(), S3get_primarysplit(), S3get_splitpoint(), S3get_surrogatesplits(), S3get_variableID(), S3set_toleft(), S3set_variableID(), and SPLIT_LENGTH.

Referenced by C_TreeGrow(), and R_surrogates().

Here is the call graph for this function:

SEXP R_surrogates SEXP  node,
SEXP  learnsample,
SEXP  weights,
SEXP  controls,
SEXP  fitmem
 

R-interface to C_surrogates

Parameters:
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 154 of file SurrogateSplits.c.

References C_surrogates(), and S3get_surrogatesplits().

Here is the call graph for this function:


Generated on Fri Aug 25 14:32:03 2006 for party by  doxygen 1.4.4