Objets/Documentation
partitions21.py
Je fournis le code pour cette étude. Choisir les classes à conserver
Télécharger ↓"""All 35 deterministic three- and four-class encoders on five observations."""
from fractions import Fraction as F
import json
from ordre20 import MAIN,laws,success
from deficience21 import certificate,anchor
def groupings(labels,k):
if len(labels)==5:
if max(labels)+1==k:yield labels
return
for j in range(min(k,max(labels)+2)):
yield from groupings(labels+[j],k)
def compress(p,labels):