Skip to content

Comments

Json object support, etc#2

Closed
matt2000 wants to merge 12 commits intotrustedanalytics:masterfrom
matt2000:JSON-object-support
Closed

Json object support, etc#2
matt2000 wants to merge 12 commits intotrustedanalytics:masterfrom
matt2000:JSON-object-support

Conversation

@matt2000
Copy link

This branch adds two more services to the REST server:

  • GET /names returns a JSON array of the names of the input values expected by the model.
  • POST /score-object accepts a Body containing a JSON object with any of the values expected by the model, and returns a JSON Array with the category prediction and first two scores. (My current use is a boolean model, so this is sufficient for me, but I realize the artificial limitation here.)

It also:

  • Add the EasyPredictModelWrapper class from H2O, to simplify scoring.
  • Improves the build script to reuse previously downloaded java, where possible.

@dpuzio dpuzio self-assigned this Feb 1, 2016
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, this isnt needed.

@matt2000 matt2000 mentioned this pull request Jun 21, 2016
@matt2000
Copy link
Author

Closing in favor of PR #5

@matt2000 matt2000 closed this Jun 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants