-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi,
thank you for the tutorials. Can you please help me with the permutation_test? I always get this error:
`
File "/var/folders/q4/g502v5zj32x0gmls_36j_9280000gn/T/ipykernel_55912/2957162646.py", line 5, in
permt = pls.permutation_test(X, Y, 100)
File "/Users/user/chemometrics-tutorials-master/pyChemometrics/ChemometricsPLS.py", line 951, in permutation_test
raise exp
File "/Users/user/chemometrics-tutorials-master/pyChemometrics/ChemometricsPLS.py", line 947, in permutation_test
pvals['R2Y_Test'] = (len(np.where(permuted_R2Y_test >= obs_r2y)) + 1) / (nperms + 1)
ValueError: operands could not be broadcast together with shapes (100,) (7,) `
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels