Objects/Documentation
partitions10.py
I provide the computation for “Seven counters outperform two six-counter partitions on a frozen layer”.
Download ↓"""Frozen trained layer. Compare three canonical partitions on the same five route seeds."""
import argparse,json,tempfile
from collections import Counter
from hashlib import sha256
from itertools import combinations
from pathlib import Path
from statistics import median
from apprendre import learn,blocks,descriptions
from neurones import build
from porter import netcheck,path_stats
HERE=Path(__file__).resolve().parent
def experiment(tools=None,export=None,holdout=False):
model,truth,quality=learn()
groups={n:[a for a in combinations(range(8),4) if 0 in a and blocks(model,a)[0]==n] for n in (6,7)}