Skip to content

Commit

Permalink
🎨 Add rubocop disable comment to HDBSCAN
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshoku committed Apr 12, 2020
1 parent b66d298 commit f877ba5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rumale/clustering/hdbscan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def breadth_first_search_hierarchy(hierarchy, root)
res
end

# rubocop:disable Metrics/AbcSize, Metrics/MethodLength, Metrics/PerceivedComplexity
def condense_tree(hierarchy, min_cluster_size)
n_edges = hierarchy.size
root = 2 * n_edges
Expand Down Expand Up @@ -262,6 +263,7 @@ def flatten(tree, stabilities)
end
res
end
# rubocop:enable Metrics/AbcSize, Metrics/MethodLength, Metrics/PerceivedComplexity
end
end
end

0 comments on commit f877ba5

Please sign in to comment.