Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
diabetes_C_wrapper.cpp File Reference
#include "stdio.h"
#include "string.h"
#include "memory.h"
#include "math.h"
#include "stdlib.h"
#include "reg_RF.h"
Include dependency graph for diabetes_C_wrapper.cpp:

Macros

#define DEBUG_ON   0
 

Functions

void regRF (double *x, double *y, int *xdim, int *sampsize, int *nthsize, int *nrnodes, int *nTree, int *mtry, int *imp, int *cat, int maxcat, int *jprint, int doProx, int oobprox, int biasCorr, double *yptr, double *errimp, double *impmat, double *impSD, double *prox, int *treeSize, SMALL_INT *nodestatus, int *lDaughter, int *rDaughter, double *avnode, int *mbest, double *upper, double *mse, const int *keepf, int *replace, int testdat, double *xts, int *nts, double *yts, int labelts, double *yTestPred, double *proxts, double *msets, double *coef, int *nout, int *inbag)
 
void regForest (double *x, double *ypred, int *mdim, int *n, int *ntree, int *lDaughter, int *rDaughter, SMALL_INT *nodestatus, int *nrnodes, double *xsplit, double *avnodes, int *mbest, int *treeSize, int *cat, int maxcat, int *keepPred, double *allpred, int doProx, double *proxMat, int *nodes, int *nodex)
 
int main ()
 

Macro Definition Documentation

◆ DEBUG_ON

#define DEBUG_ON   0

Function Documentation

◆ main()

int main ( void )

References DEBUG_ON, NULL, regForest(), regRF(), and SMALL_INT.

Here is the call graph for this function:

◆ regForest()

void regForest ( double * x,
double * ypred,
int * mdim,
int * n,
int * ntree,
int * lDaughter,
int * rDaughter,
SMALL_INT * nodestatus,
int * nrnodes,
double * xsplit,
double * avnodes,
int * mbest,
int * treeSize,
int * cat,
int maxcat,
int * keepPred,
double * allpred,
int doProx,
double * proxMat,
int * nodes,
int * nodex )

References computeProximity(), n, NULL, predictRegTree(), SMALL_INT, zeroDouble(), and zeroInt().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ regRF()

void regRF ( double * x,
double * y,
int * xdim,
int * sampsize,
int * nthsize,
int * nrnodes,
int * nTree,
int * mtry,
int * imp,
int * cat,
int maxcat,
int * jprint,
int doProx,
int oobprox,
int biasCorr,
double * yptr,
double * errimp,
double * impmat,
double * impSD,
double * prox,
int * treeSize,
SMALL_INT * nodestatus,
int * lDaughter,
int * rDaughter,
double * avnode,
int * mbest,
double * upper,
double * mse,
const int * keepf,
int * replace,
int testdat,
double * xts,
int * nts,
double * yts,
int labelts,
double * yTestPred,
double * proxts,
double * msets,
double * coef,
int * nout,
int * inbag )

References computeProximity(), findBestSplit(), GetRNGstate(), in_findBestSplit, in_regTree, n, NULL, permuteOOB(), predictRegTree(), PutRNGstate(), regTree(), seedMT(), simpleLinReg(), SMALL_INT, swapInt, unif_rand(), zeroDouble(), and zeroInt().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function: