Block 0: accuracy = 97.5, ITR = 301.3
Block 1: accuracy = 100.0, ITR = 319.3
Block 2: accuracy = 95.0, ITR = 286.3
Block 3: accuracy = 95.0, ITR = 286.3
Block 4: accuracy = 95.0, ITR = 286.3
Block 5: accuracy = 100.0, ITR = 319.3
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-9-7ca177a962e5> in <module>
124
125 # Mean accuracy and ITR computation
--> 126 mu, _, muci, _ = normfit(accs, alpha_ci)
127 print()
128 print(f"Mean accuracy = {mu:.1f}%\t({ci:.0f}% CI: {muci[0]:.1f}-{muci[1]:.1f}%)") # noqa
<ipython-input-4-769a1af8404d> in normfit(data, ci)
43 num = len(arr)
44 avg, std_err = np.mean(arr), scipy.stats.sem(arr)
---> 45 h_int = std_err * t.ppf((1 + ci) / 2., num - 1)
46 var = np.var(data, ddof=1)
47 var_ci_upper = var * (num - 1) / (chi2.ppf((1 - ci) / 2, num - 1))
AttributeError: 'float' object has no attribute 'ppf'
Hi @gferraro2019, I tried running example_trca.py, and encounter this error: