#pragma once #include #include #include "../Runner/hdbscanRunner.hpp" #include "../Runner/hdbscanParameters.hpp" #include "../Runner/hdbscanResult.hpp" #include "../HdbscanStar/outlierScore.hpp" using namespace std; class Hdbscan { private: string fileName; hdbscanResult result; public: vector> dataset; std::vector labels_; std::vector normalizedLabels_; std::vector outlierScores_; std::vector membershipProbabilities_; uint32_t noisyPoints_; uint32_t numClusters_; Hdbscan(string readFileName) { fileName = readFileName; } string getFileName(); int loadCsv(int numberOfValues, bool skipHeader = false); void execute(int minPoints, int minClusterSize, string distanceMetric); void displayResult(); };