Rapidminer JSON output
Hi everyone,
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.
Nordin
Answers
-
Hi,
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.
Best,
Martin
3