Tree Construction Adapter¶
DC Tree¶
Functions
-
std::shared_ptr<UltrametricTreeNode> build_DCTree(std::vector<std::vector<double>> &data, const std::unordered_map<std::string, std::string> &config = {})¶
-
UltrametricTree build_from_DCTree(std::vector<std::vector<double>> &data, const std::unordered_map<std::string, std::string> &config = {})¶
HST¶
Functions
-
Node_t *build_HST(std::vector<std::vector<double>> &data, const std::unordered_map<std::string, std::string> &config = {})¶
-
std::shared_ptr<UltrametricTreeNode> convert_from_HST(Node_t *root_HST)¶
-
UltrametricTree build_from_HST(std::vector<std::vector<double>> &data, const std::unordered_map<std::string, std::string> &config = {})¶
MLPack Trees Adapter¶
Functions
-
std::shared_ptr<UltrametricTreeNode> convert_from_MLPackTree(std::vector<std::vector<double>> &data, UltrametricTreeType tree_type, const std::unordered_map<std::string, std::string> &config = {})¶
-
UltrametricTree build_from_MLPackTree(std::vector<std::vector<double>> &data, UltrametricTreeType tree_type, const std::unordered_map<std::string, std::string> &config = {})¶
Parse JSON to Tree¶
Functions
-
UltrametricTree parse_json_to_tree(const std::unordered_map<std::string, std::string> &config)¶