Skip to content

Commit

Permalink
more cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hosseinmoein committed Feb 19, 2025
1 parent d0f1f64 commit 222ffbe
Show file tree
Hide file tree
Showing 2 changed files with 709 additions and 683 deletions.
110 changes: 3 additions & 107 deletions include/DataFrame/DataFrameMLVisitors.h
Original file line number Diff line number Diff line change
Expand Up @@ -720,66 +720,6 @@ struct DBSCANVisitor {

// ----------------------------------------------------------------------------





























































// Fast Hierarchical Agglomerative Clustering
//
template<typename T, typename I = unsigned long, std::size_t A = 0>
Expand Down Expand Up @@ -854,8 +794,9 @@ struct FastHierVisitor {

for (const auto &node : clus_res.Z)
std::cout << node.node1 << ", "
<< node.node2 << ", " << node.dist << '\n';
std::cout << '\n' << std::endl;
<< node.node2 << ", "
<< node.dist << '\n';
std::cout << "\n\n" << std::endl;
for (const auto &val : Z)
std::cout << val << ", ";
std::cout << std::endl;
Expand Down Expand Up @@ -895,51 +836,6 @@ struct FastHierVisitor {

// ----------------------------------------------------------------------------














































// Runtime complexity is O(I * n^2) where I is number of iterations.
//
// Type T must have arithmetic operators and default constructor well defined
Expand Down
Loading

0 comments on commit 222ffbe

Please sign in to comment.