Skip to main content
POST
/
quantlib
/
ml
/
preprocessing
/
transform
Power Transformations (Box-Cox, Yeo-Johnson)
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/ml/preprocessing/transform \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "X": [
    [
      100,
      0.5
    ],
    [
      200,
      1.3
    ],
    [
      150,
      0.9
    ]
  ],
  "method": "box_cox"
}
'
{
  "success": true,
  "data": {
    "transformed": [
      [
        4.605,
        -0.693
      ],
      [
        5.298,
        0.262
      ],
      [
        5.011,
        -0.105
      ]
    ],
    "method": "box_cox"
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
X
number[][]
required

Feature matrix

Example:
[[100, 0.5], [200, 1.3], [150, 0.9]]
method
enum<string>
default:power

Transformation method

Available options:
power,
box_cox
Example:

"box_cox"

Response

Transformed data

success
boolean
Example:

true

data
object