Commands frame/box_cox¶
Calculate the box-cox transformation for each row in current frame.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | frame/box_cox |
---|---|
arguments: | frame : Frame
column_name : unicode
lambda_value : float64 (default=0.0)
box_cox_column_name : unicode (default=None)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
Calculate the box-cox transformation for each row in a frame using the given lambda value or default 0.0.
The box-cox transformation is computed by the following formula, where yt is a single entry value(row):
wt = log(yt); if lambda=0, wt = (yt^lambda -1)/lambda ; else
where log is the natural log.
Response¶
Status
200 OK
Body
Returns information about the command. See the Response Body for Get Command here below. It is the same.