You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
781 B
21 lines
781 B
#ifndef EVALUATION_H
|
|
#define EVALUATION_H
|
|
|
|
struct minEval;
|
|
|
|
enum Evaluation {gini, entropy, logLoss};
|
|
|
|
minEval giniSparse(double** data, long* result, long* d, long size, long col, long classes, long* totalT);
|
|
|
|
minEval entropySparse(double** data, long* result, long* d, long size, long col, long classes, long* totalT);
|
|
|
|
minEval giniSparseIncremental(long sizeTotal, long classes, double* newSortedData, long* newSortedResult, long* T);
|
|
|
|
minEval entropySparseIncremental(long sizeTotal, long classes, double* newSortedData, long* newSortedResult, long* T);
|
|
|
|
minEval giniDense(long max, long size, long classes, long** rem, long* d, double* record, long* totalT);
|
|
|
|
minEval entropyDense(long max, long size, long classes, long** rem, long* d, double* record, long* totalT);
|
|
|
|
#endif
|