InfluenceDiagram.spaceCplxToString
- static InfluenceDiagram.spaceCplxToString(dSize, dim, usedMem)
Return a human-readable string summarising the space complexity of a graphical model.
- Parameters:
dSize (
float) – log10 of the joint domain sizedim (
int) – number of independent parametersusedMem (
int) – memory footprint in bytes
- Returns:
a string of the form
'domainSize: X, dim: Y, mem: Z'- Return type:
str
Example
import pyagrum as gum
gum.InfluenceDiagram.spaceCplxToString(3.0, 12, 4096)
# 'domainSize: 1000, dim: 12, mem: 4Ko 0o'
Class