Atelier des rouesLab FR
Objects/Documentation

extinction11.py

I provide this item to reproduce or inspect AT.N4.

Download ↓
"""Probe balance, teaching noise, and source silencing in the four-copy system."""
from fractions import Fraction as F
from itertools import product
from random import Random
import json
from roles10 import learn
def metrics(w,silence):
    out=[]
    for i in range(4):
        s=[int(i==j) for j in range(4)]
        for h in range(3):
            s=[s[x] for x in w]
            if silence:s[i]=0
        out.append(s[3])
    return (F(out[0])+F(3-sum(out[1:]),3))/2
def run():

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.