Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-1181

Add an option for weighted average in k-NN

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v1.14
    • k-NN
    • None

    Description

      Follow on from
      https://issues.apache.org/jira/browse/MADLIB-1059
      (please see this JIRA for additional comments)

      MADlib does a simple average of the k-nearest neighbors to come up with the
      final value for classification and regression. Doing a weighted average instead
      might be a desirable functionality. The weighting for the average can be based on the
      distance of the k-nearest neighbors.

      We can probably provide an optional parameter to let users choose how the final
      score has to be computed (avg or weighted avg).

      This JIRA applies to classification and regression.

      Attachments

        Issue Links

          Activity

            People

              hpandey12 Himanshu Pandey
              fmcquillan Frank McQuillan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: