orhankislal opened a new pull request #519: URL: https://github.com/apache/madlib/pull/519
JIRA: MADLIB-1452 This commit enables the top_n_accuracy metric. The current parser cannot use top_n_accuracy(k=3) format because we don't want to run eval for security reasons. Instead, we add a helper function so that the user can easily create a custom top_n_accuracy function. <!-- Thanks for sending a pull request! Here are some tips for you: 1. Refer to this link for contribution guidelines https://cwiki.apache.org/confluence/display/MADLIB/Contribution+Guidelines 2. Please Provide the Module Name, a JIRA Number and a short description about your changes. --> - [ ] Add the module name, JIRA# to PR/commit and description. - [ ] Add tests for the change. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org