Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
twonorm_C_wrapper.cpp File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
Include dependency graph for twonorm_C_wrapper.cpp:

Macros

#define DEBUG_ON   1
 

Functions

void classRF (double *x, int *dimx, int *cl, int *ncl, int *cat, int *maxcat, int *sampsize, int *strata, int *Options, int *ntree, int *nvar, int *ipi, double *classwt, double *cut, int *nodesize, int *outcl, int *counttr, double *prox, double *imprt, double *impsd, double *impmat, int *nrnodes, int *ndbigtree, int *nodestatus, int *bestvar, int *treemap, int *nodeclass, double *xbestsplit, double *errtr, int *testdat, double *xts, int *clts, int *nts, double *countts, int *outclts, int labelts, double *proxts, double *errts, int *inbag)
 
void classForest (int *mdim, int *ntest, int *nclass, int *maxcat, int *nrnodes, int *ntree, double *x, double *xbestsplit, double *pid, double *cutoff, double *countts, int *treemap, int *nodestatus, int *cat, int *nodeclass, int *jts, int *jet, int *bestvar, int *node, int *treeSize, int *keepPred, int *prox, double *proxMat, int *nodes)
 
int main ()
 

Macro Definition Documentation

◆ DEBUG_ON

#define DEBUG_ON   1

Function Documentation

◆ classForest()

void classForest ( int * mdim,
int * ntest,
int * nclass,
int * maxcat,
int * nrnodes,
int * ntree,
double * x,
double * xbestsplit,
double * pid,
double * cutoff,
double * countts,
int * treemap,
int * nodestatus,
int * cat,
int * nodeclass,
int * jts,
int * jet,
int * bestvar,
int * node,
int * treeSize,
int * keepPred,
int * prox,
double * proxMat,
int * nodes )

References computeProximity(), n, NULL, predictClassTree(), unif_rand(), and zeroDouble().

Referenced by main().

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

◆ classRF()

void classRF ( double * x,
int * dimx,
int * cl,
int * ncl,
int * cat,
int * maxcat,
int * sampsize,
int * strata,
int * Options,
int * ntree,
int * nvar,
int * ipi,
double * classwt,
double * cut,
int * nodesize,
int * outcl,
int * counttr,
double * prox,
double * imprt,
double * impsd,
double * impmat,
int * nrnodes,
int * ndbigtree,
int * nodestatus,
int * bestvar,
int * treemap,
int * nodeclass,
double * xbestsplit,
double * errtr,
int * testdat,
double * xts,
int * clts,
int * nts,
double * countts,
int * outclts,
int labelts,
double * proxts,
double * errts,
int * inbag )

References computeProximity(), createClass(), F77_CALL, GetRNGstate(), makeA(), modA(), n, normClassWt(), NULL, oob(), permuteOOB(), predictClassTree(), PutRNGstate(), Rprintf, S_alloc_alt(), seedMT(), swapInt, TestSetError(), unif_rand(), Xtranslate(), zeroDouble(), and zeroInt().

Referenced by compile_windows(), and main().

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

◆ main()

int main ( void )

read and save to the X and Y variable** this file grabbing is different in the regression version as it seemed to work there but not here :(

References classForest(), classRF(), DEBUG_ON, and NULL.

Here is the call graph for this function: