Retrieve Prediction TitlesΒΆ
The retrieve_prediction_titles
session, is an implementation that retrieves all prediction
titles, based upon the supplied model_type
, from the applications database, via the
/retrieve-prediction-titles
endpoint:
Note: the content of each of the above examples, can be substituted for
the data
attribute, in a given POST
request:
import requests
endpoint = 'https://192.168.99.101:9090/retrieve-prediction-titles'
headers = {
'Authorization': 'Bearer ' + token,
'Content-Type': 'application/json'
}
requests.post(endpoint, headers=headers, data=json_string_here)
Note: more information, regarding how to obtain a valid token
, can be further
reviewed, in the /login
documentation.
The following properties define the above data
attribute:
model_type
: corresponds to the desired model type:all
: pertains to all stored model typessvm
: pertains only to the support vector machine model typesvr
: pertains only to the suppport vector regression model type