Moving discussion from JIRA to dev mailing list... @anishsingh and @tianwei37 Thank you for your interest in k-NN https://issues.apache.org/jira/browse/MADLIB-927
I think this is a great algorithm to work on. May I suggest that you review some of the material on the MADlib wiki https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61319606 In particular the architecture https://cwiki.apache.org/confluence/display/MADLIB/Architecture and the quick start guide for developers https://cwiki.apache.org/confluence/display/MADLIB/Quick+Start+Guide+for+Developers That will give you a sense of how in-data base machine learning works in MADlib. Please post any questions that you have to this mailing list and we will be pleased to help you. Frank