Commands model:principal_components/predict¶
[ALPHA] Predict using principal components model.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | model:principal_components/predict |
---|---|
arguments: | model : <bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e68702090>>
frame : <bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e686f3fd0>>
mean_centered : bool (default=True)
t_squared_index : bool (default=False)
observation_columns : list (default=None)
c : int32 (default=None)
name : unicode (default=None)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
Predicting on a dataframe’s columns using a Principal Components Model.
Response¶
Status
200 OK
Body
Returns information about the command. See the Response Body for Get Command here below. It is the same.
GET /v1/commands/:id¶
Request¶
Route
GET /v1/commands/18
Body
(None)
Headers
Authorization: test_api_key_1
Content-type: application/json
Response¶
Status
200 OK
Body
<bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e686f3fd0>>
A frame with existing columns and ‘c’ additional columns containing the projections of V on the frame and an additional column storing the t-square-index value if requested.