Class: Soothsayer::HostedModel

Inherits:
Object
  • Object
show all
Defined in:
lib/soothsayer/hosted_model.rb

Class Method Summary collapse

Class Method Details

.predict(hosted_model_name, params) ⇒ Object



4
5
6
# File 'lib/soothsayer/hosted_model.rb', line 4

def predict(hosted_model_name, params)
  API.post("/hostedmodels/#{hosted_model_name}/predict", opts(params))
end