Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13589

Allow zplot to visualize 2D clusters and convex hulls

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 8.2
    • streaming expressions
    • None

    Description

      This ticket will add support for visualization of convex hulls through the projectToBorder function and 2D clusters by adding the clusters parameter to the zplot function.

      The projectToBorder function is a function that works together with the existing convexHull function. It takes two parameters:

      1) A Convex Hull created by the convexHull function.

      2) A matrix of 2D points to project to the border.

      The projectToBorder function then projects each 2D point to the Convex Hull border and returns a matrix with these points.

      Using this approach the border of a convex hull can be visualized in interesting ways.

      Sample visualizations are attached.

      Attachments

        1. clusters.png
          291 kB
          Joel Bernstein
        2. convex.png
          265 kB
          Joel Bernstein
        3. SOLR-13589.patch
          5 kB
          Joel Bernstein
        4. SOLR-13589.patch
          4 kB
          Joel Bernstein

        Activity

          People

            Unassigned Unassigned
            jbernste Joel Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: