post https://api-lib.bambu.life/api/autoMl/v2/categoricFeaturesInfo
This endpoint is to list categoric features, their unique values and corresponding counts.
Request Body
Name | Datatype | Description | Mandatory | Sample Value | List of Possible Values | Notes |
---|---|---|---|---|---|---|
clientId | String | It is meant for identification purpose as information are stored under unique id value | Yes | |||
categoricFeatures | List of strings | Numerical features are required in order to compute some statistical information, such as count, and many more | Yes | ["nationality", "gender"] | Depends on the values derived from /dataRetrieval endpoint based on the client_id valueThe values must fall under categorical features | The value in the array must match with the set key-value pair found in /dataRetrieval endpoint based on the client_id valueThe values must fall under categorical features |
Response Body
Name | Datatype | Description | Sample Value | No of Decimals | Notes |
---|---|---|---|---|---|
categoricFeatureInfo placeholder | Array of dictionary | A dictionary containing name and the corresponding uniqueVales for particular categoric feature | "name": "nationality", "uniqueValues": [ { "count": 999, "name": "US" } | Payload is the same for each item in numeric_features. |