refactor: rename Z-measure labels to quality-measure in prints and docs
This commit is contained in:
parent
e78bf052a8
commit
4a87a0ceb9
@ -127,7 +127,7 @@ def fast_z_measure(data, dtype, n_elements):
|
||||
if len(vals) < 10:
|
||||
return None, "too_few_finite"
|
||||
|
||||
# Z-measure: theta = arccos(|correlation with linear reference|)
|
||||
# theta = arccos(|correlation with linear reference|)
|
||||
# Pure signal -> decorrelated -> theta near 90
|
||||
# Noise/bias -> correlated with something simple -> theta near 0
|
||||
n = len(vals)
|
||||
@ -255,7 +255,7 @@ def process_shard(shard_path, shard_idx):
|
||||
})
|
||||
continue
|
||||
|
||||
# Z-measure
|
||||
# compute measure
|
||||
theta, status = fast_z_measure(data, dtype, n_elem)
|
||||
|
||||
results.append({
|
||||
@ -320,7 +320,7 @@ def main():
|
||||
log(f"DOWNLOAD ERROR: {e}")
|
||||
continue
|
||||
|
||||
# Z-measure
|
||||
# compute measure
|
||||
log(f"Z-measuring tensors...")
|
||||
measure_start = time.time()
|
||||
shard_results = process_shard(path, shard_idx)
|
||||
|
||||
@ -20,7 +20,7 @@ for model_name in models:
|
||||
if not os.path.isdir(model_path) or not os.path.exists(manifest_path):
|
||||
continue
|
||||
|
||||
print(f"\n[Z-MEASURE] {model_name}")
|
||||
print(f"\n[QUALITY-MEASURE] {model_name}")
|
||||
print(f" Measuring organs...")
|
||||
|
||||
results = measure_directory(model_path)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Organ Architecture — organ_measure.py
|
||||
Z-measure organ quality: signal vs noise.
|
||||
Quality measure â organ signal vs noise.
|
||||
|
||||
CSCI — cross-scale coherence index
|
||||
θ → 0° : noise (organ adds confusion)
|
||||
@ -260,7 +260,7 @@ def print_summary(results, title=""):
|
||||
groups[dirname].append(r)
|
||||
|
||||
print(f"\n{'='*70}")
|
||||
print(f" Z-MEASURE REPORT {title}")
|
||||
print(f" QUALITY REPORT {title}")
|
||||
print(f"{'='*70}")
|
||||
|
||||
for group_name in ['skeleton', 'organs', 'embed', 'norm', 'adapters', 'unknown']:
|
||||
@ -305,7 +305,7 @@ def print_summary(results, title=""):
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(
|
||||
description='Organ Architecture — Z-measure organ quality',
|
||||
description='Organ Architecture — quality measure organ',
|
||||
epilog='CSCI v1.0 — Cross-Scale Coherence Index'
|
||||
)
|
||||
parser.add_argument('--organ', '-o', help='Path to single organ .bin file')
|
||||
|
||||
@ -18,7 +18,7 @@ Method:
|
||||
6. Verify: new theta should be closer to 90
|
||||
|
||||
CSCI(s) = cross_scale_coherence(s, theta=90)
|
||||
When theta = 90, Z = i (pure imaginary = pure potential)
|
||||
When theta = 90, signal is maximally coherent (pure signal, minimal noise)
|
||||
The purified organ IS the signal, nothing else.
|
||||
|
||||
Build v935
|
||||
|
||||
@ -59,9 +59,9 @@ for gguf_name, organ_name in models.items():
|
||||
print(f" [ERROR] {r.stderr[-200:]}")
|
||||
results.append({"model": organ_name, "status": "error"})
|
||||
|
||||
# Z-measure all
|
||||
# Quality measure all
|
||||
print(f"\n{'='*60}")
|
||||
print(f"PHASE 2: Z-MEASURE ALL ORGANS")
|
||||
print(f"PHASE 2: QUALITY MEASURE ALL ORGANS")
|
||||
print(f"{'='*60}")
|
||||
|
||||
sys.path.insert(0, "/mnt/data/organ-architecture")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user