Github user hpandeycodeit commented on a diff in the pull request: https://github.com/apache/madlib/pull/225#discussion_r162685159 --- Diff: src/ports/postgres/modules/knn/knn.sql_in --- @@ -412,7 +451,8 @@ CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.knn( output_table, k, output_neighbors, - fn_dist + fn_dist, + weighted_avg --- End diff -- @njayaram2, Thanks for pointing it out! I will add these functions.
---