---
title: "Calculate mutual informations"
method: POST
path: "/statisticalOperations/continuousMutualInformation"
tags: ["Statistical operations"]
---

# Calculate mutual informations

`POST /statisticalOperations/continuousMutualInformation`

## Request body

- object
  - `k` integer — number of neighbors
  - `base` integer — takes 2 (unit =bits), 10 (unit= nats)
  - `list_continuous` array[], required — Array of rows with the same sizes (continuous only)
    - number[]
  - `list_discrete` array[], required — Array of rows with the same sizes (dicrete only)
    - number[]
  - `normalise` string — This parameter is used to normalise the mutual information coefficient, it takes either 'max' or 'min' or 'square root' or 'mean' or 'none'

## Response `200`

mutual information matrix

## Other responses

- `403` — Invalid Input array, not the same size

## Changes

- **2024-07-22** `3063ef5d8a81` — 1 info
  - api operation id `controller.statisticalOperations.mutualInformation` removed and replaced with `debiaiServer.controller.statisticalOperations.mutualInformation`
- **2024-07-19** `30f824d14afd` — 1 info
  - api operation id `debiaiServer.controller.statisticalOperations.mutualInformation` removed and replaced with `controller.statisticalOperations.mutualInformation`
- **2024-07-11** `67ad9bcbaea3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/debiai/apis/debiai-backend-api/changes/statisticalOperations/continuousMutualInformation/post.md)

---

[API](https://skmtc.dev/debiai/apis/debiai-backend-api.md) · [All operations](https://skmtc.dev/debiai/apis/debiai-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/debiai/debiai-backend-api/revisions/3063ef5d8a81/schema)
