-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As an HTTP client, I can create an HTM model in a RESTful way #5
Comments
I updated the URLs in the description spec above to be more RESTful. |
Suggestion: There's an underlying default model spec (use Grok), so passing an empty JSON map gives you that. The JSON you give just overrides this map (using a merge). |
@fergalbyrne Yes, great idea. I will put that in another ticket. |
Does the api need to include the predicted field? Currently it's in the URL as |
|
Example POST payload here: https://gist.github.com/rhyolight/20c937c15e5ae3333f89 |
Very simple endpoints:
/models
: create modelmodelParams
: same structure as the NuPIC / HTM.Java model params (sorry, we have no real spec for this, you'll just have to look at some example code)predictedField
[optional]: the string name of the field to be predicted (not necessary for anomaly models){"id":"asdf"}
)Errors should return a non 200 status code representing the error as well as possible.
The text was updated successfully, but these errors were encountered: