Query an Instance for Why Factors

  • Updated

 

Query an instance for Why factors

POST

/cloud/queryVisualization

 

 

 

 

 

Implementation Notes

 

 

 

 

Execute a query in a specific instance. The result of this type of query has the variable importance of each feature during the classification and the neighbors that were taken into account in the classification. The result of the query is in json format. If you don't specify the instance version we'll take the current version.

 

As of now, this returns Why information in an internal format used by the ML Studio GUI. See the queryFactors API for a more general return value.

 

 

 

Parameters

 

 

 

 

Parameter

 

Description

Parameter Type

Data Type

instanceName

 

Name of the instance. Alphanumeric string: [A-Za-z0-9-_]+.

form

string

version

 

Version of the instance. A string Vx where x is an integer greater than 0 and represent the number of version.

form

string

query

 

String query. It's an string representing the object to be queried. It must have the header of the file and the data of the object. The header and the data are separated by '\n' (end of line) and each column of header and data is separated by '\t' (tab).

form

string

filters

 

 

form

List<String>

neighbors

 

 

form

boolean

user

 

user's authentication

header (authorization)

basic authentication

 

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.