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-09-15 13:27:26 +0200 (Fri, 15 Sep 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 172 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 get_maxsurrogate(), get_missings(), get_ninputs(), get_nobs(), get_splitctrl(), has_missings(), PL2_inputsSym, S3get_nodeweights(), S3get_primarysplit(), S3get_surrogatesplits(), and S3get_variableID().

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 157 of file SurrogateSplits.c.

References C_surrogates(), and S3get_surrogatesplits().

Here is the call graph for this function:


Generated on Fri Feb 2 11:30:40 2007 for party by  doxygen 1.4.6