Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate graph objects into hdbscan #539

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Apr 20, 2022

  1. Integrate-graph-objects into hdbscan_.py

    Create a new option for metrics calles "graph", which takes graph objects as a csr adjacency matrix and runs the HDBSCAN function on the csgraph min_span_tree of the given graph.
    
    Example plot file (plot_hdbscan_graph.py) shows the working of the function and displays the example plots of the graphs.
    JanRhoKa committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    d597882 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Graph metric changes and tests added

    Modifed the _hdbscan_sparse_distance_matrix function to integrate the graph metric into the hdbscan code.
    
    Started working on the test for the graph metric.
    JanRhoKa committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    ec7f733 View commit details
    Browse the repository at this point in the history
  2. Create test for hdbscan graph metric

    Use the test_hdbscan_sparse_distance_matrix test to create the test_hdbscan_graph function. Added the requirments for the metric to the requirements.txt (igraph and networkx).
    JanRhoKa committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    fd9bad5 View commit details
    Browse the repository at this point in the history
  3. Clean up code

    Added commentary and proving the test.
    JanRhoKa committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    3f6ad31 View commit details
    Browse the repository at this point in the history
  4. Reset requirements

    Set requirements back to the latest HDBSCAN version.
    JanRhoKa committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    6da5a87 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Update hdbscan/tests/test_hdbscan.py

    Co-authored-by: Isaac Virshup <ivirshup@gmail.com>
    JanRhoKa and ivirshup committed May 5, 2022
    Configuration menu
    Copy the full SHA
    69ab735 View commit details
    Browse the repository at this point in the history
  2. Integrate comments from ivirshup

    Updated the hdbscan_ function for metric="graph" and test_hdbscan by integrating the comments made by ivirshup
    JanRhoKa committed May 5, 2022
    Configuration menu
    Copy the full SHA
    643b1f3 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. Remove networkx from test_hdbscan

    Removed the networkx as nx import from the test_hdbscan file to avoid test failures, as it wasn't used.
    JanRhoKa committed May 10, 2022
    Configuration menu
    Copy the full SHA
    c50f604 View commit details
    Browse the repository at this point in the history