Github user peedeeX21 commented on the pull request:

    https://github.com/apache/flink/pull/700#issuecomment-116850459
  
    I am having some trouble to fit our predictor into the new API. 
    The problem is, that with `PredictOperation` the type of the model has to 
be defined. A `DataSet` of this type is the output of the `getModel`. For the 
`predict` method the input is just an object of this type.
    
    In our case our model is a `DataSet` of `LabeledVectors` (the centroids). 
This means I can not implement a `PredictOperation` due to that restriction.
    
    For me the API feels a bit inconsistent in that case 
    
    For now I implemented only an `PredictDataSetOperation`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to