Hi, I’m implementing k-nearest-neighbors classification based flink-ml structure.
In recent commit (7a7a2940 [1]), the pipeline is restructured by dividing predict operation into case of a single element and case of data set. In case of data set, parameter map is given as a method parameter but in case of a single element there is no method to access parameter map. But in k-nearest-neighbors classification, we need to know k in predict method to select top k values. How can I solve this problem? Regards, Chiwan Park [1] https://github.com/apache/flink/commit/7a7a294033ef99c596e59f670e2e4ae9262f5c5f