fullseye

shape_explained_variance — SHAPESTAT model op

使い方

各主成分の寄与率(合計 1)。→ (k,)

式: variance / total_variance。分母は model["total_variance"](shape_pca特異値から計算した総分散)で、無ければ variance.sum()

shape_pca の分散は標本分散(K-1 で割る)なので、個体数が少ないと 固有値の絶対値は膨らむが、比であるこの量は影響を受けにくい。累積和 (cumsum)で「99 % に何本要るか」を決め、shape_mahalanobiscumulativeshape_synthesizen_modes に渡す。

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(signal を入力に取れる)

shape_reconstruct

同カテゴリ(model)

shape_pca · shape_project · shape_reconstruct · shape_mahalanobis · shape_synthesize


Provenance: shapestats.py — SHAPESTAT operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.