![]() |
Microscopy Image Browser 2.91
MIB
|
#include "stdio.h"
#include "string.h"
#include "memory.h"
#include "math.h"
#include "stdlib.h"
#include "reg_RF.h"
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 () |
#define DEBUG_ON 0 |
int main | ( | void | ) |
References DEBUG_ON, NULL, regForest(), regRF(), and SMALL_INT.
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().
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().