xristlamp commented on PR #576: URL: https://github.com/apache/incubator-wayang/pull/576#issuecomment-2909245118
> Hiya thanks for your contribution! > > I am a little confused with your usage of `BinaryToUnaryOperator` for the `DecisionTreeRegressionOperator`, you have inputs `Double[]` and `Double` but also `void` can you check if the return type of the operator should be `void`? Thank you very much for the observation! Just to clarify: the Void is the third type parameter and refers to the "model" that the operator could return. In our case, since the operator does not return a model but only the predictions (Double), we use Void as the third parameter. The actual output of the operator (predictions) is correctly defined as Double , that's the second type parameter. - double[] is the feature vector input - Double is the prediction output - Void indicates that this operator does not return a model object -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
