Commands frame/entropy¶
Calculate the Shannon entropy of a column.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | frame/entropy |
---|---|
arguments: | frame : Frame
data_column : unicode
weights_column : unicode (default=None)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
The data column is weighted via the weights column. All data elements of weight <= 0 are excluded from the calculation, as are all data elements whose weight is NaN or infinite. If there are no data elements with a finite weight greater than 0, the entropy is zero.
Response¶
Status
200 OK
Body
Returns information about the command. See the Response Body for Get Command here below. It is the same.