b8525d9d90
Das Skript liest direkt deine Thermometer.csv (mit Systemebene = psychisch|sozial), konstruiert ein bipartites Netz (Systemebene ↔ Item) mit Kantengewicht = Effektstärke (Vorzeichen bleibt erhalten), rendert ein interaktives Spring-Layout und exportiert (optional) JSON mit Knoten/Kanten & einfachen Zentralitäten.Jochen Hanisch-Johannsen2025-09-03 22:12:58 +02:00
97c15bf209
1. Soft-Scoring über Textähnlichkeit • Neue Funktionen build_lexicons(...) und compute_soft_system_scores(...) (TF-IDF + Cosine). • Erzeugt Psych_Score und Sozial_Score im Bereich 0..1. • Quelle der Lexika: zuerst system_mapping.csv (falls vorhanden), dann bereits klassifizierte Stichwörter, sonst konservative Heuristik. 2. Neuer Kopplungsindex • compute_coupling_index(...) nutzt jetzt Soft-Scores. • Kopplungsgewicht = harmonisches Mittel H(p,s) = 2ps/(p+s). • Index = sign(d) * norm(|d|) * H. • Adressierungslabel basieren auf den Soft-Scores (Schwelle 0.5). 3. Plots umgestellt • 2D-Plot nutzt Psych_Score (x) und Sozial_Score (y), Achsen 0..1 mit Ticks 0, .25, .5, .75, 1. • 3D-Plot nutzt Soft-Scores auf x/y, d auf z. • Farben/Marker weiter strikt aus dem CI-Template. 4. Pipeline • Nach classify_systems(...) wird compute_soft_system_scores(...) aufgerufen. • Export erweitert um Psych_Score und Sozial_Score. • Kleine Kurzdiagnostik: Quartile der Soft-Scores im Terminal.Jochen Hanisch-Johannsen2025-09-03 21:43:54 +02:00