07-11-2017 08:56 PM
I have a simple LinearRegression service, and I would like to make the LinearRegression.model output (linked to a result port) be available in JSON format. In RapidMiner server, I selected the output format to be JSON, and the MIME type application/jason. No parameter binding. I am expecting the JSON output to list down the values for the weights/coefficients computed by LinearRegression. But when I test the service, nothing appear in Preview.
Appreciate your help/advice. Thank you.
07-12-2017 02:13 AM
the JSON output converts ExampleSets and Documents into json, not arbirtrary java objects. Have a look on our Converters extension. It has an Operator Linear Regression to Example Set. This can be used together with JSON output on server.