feat: ♻️ Add Classic algorithm as #2 to compare performance

This commit is contained in:
Ricardo Montañana Gómez
2023-01-13 11:44:17 +01:00
parent 7b20bde428
commit 1b89f5927c
2 changed files with 39 additions and 1 deletions

View File

@@ -16,8 +16,10 @@ namespace mdlp {
cutPoints_t cutPoints;
static indices_t sortIndices(samples_t&, labels_t&);
static indices_t sortIndices1(samples_t&);
void computeCutPoints(size_t, size_t);
void computeCutPointsAlternative(size_t, size_t);
void computeCutPointsClassic(size_t, size_t);
bool mdlp(size_t, size_t, size_t);
size_t getCandidate(size_t, size_t);
precision_t halfWayValueCutPoint(size_t, size_t);