Skip to main content
POST

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://api.fincept.in/auth/register

Body

application/json
n_states
integer
required

Number of states in the distribution

Example:

5

constraint_values
number[]
required

Target probabilities for each state (constraints). Each value represents the desired probability for the corresponding state index.

Example:

Response

Maximum entropy distribution computed successfully

success
boolean
Example:

true

data
object