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
Date:
Date

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 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

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.

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

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

References C_surrogates(), and S3get_surrogatesplits().

Here is the call graph for this function:


Generated on Thu Feb 28 15:14:52 2008 for party by  doxygen 1.5.3