File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 22"""
33Direct test of PCA implementation with real data.
44This script processes the real data files and runs the PCA implementation directly.
5+ By directly we mean: not through the Conversation class, but by calling the PCA fuinctions.
6+ To that effect, this test does duplicate the `load_votes()` logic from Conversation.
57"""
68
79import os
@@ -137,7 +139,9 @@ def test_pca_implementation(dataset_name: str) -> None:
137139 count = np .sum (labels == i )
138140 print (f"Cluster { i + 1 } : { count } participants" )
139141
140- print ("PCA implementation is WORKING CORRECTLY with real data" )
142+ # By "working correclty" we mean: the code runs without error.
143+ # However there is no check on the actual correctness of the PCA results here.
144+ print ("PCA implementation RUNS WITHOUT RAISING ANY ERROR with real data" )
141145
142146 except Exception as e :
143147 print (f"Error during PCA: { e } " )
You can’t perform that action at this time.
0 commit comments