runExtVal.py:29 run() INFO Running 1/1.
/home/helitonmrf/Projects/QSARModelingCore/qsarmodelingpy/calculate_parameters.py:66: RuntimeWarning: divide by zero encountered in true_divide
R2 = 1-(calcPress(yreal, ypred)/ssy1)
Traceback (most recent call last):
File "/home/helitonmrf/Projects/QSARModelingPy/CLI/./runExtVal.py", line 87, in <module>
run(filename)
File "/home/helitonmrf/Projects/QSARModelingPy/CLI/./runExtVal.py", line 59, in run
ext.extVal(train, test, nLV)
File "/home/helitonmrf/Projects/QSARModelingCore/qsarmodelingpy/external_validation.py", line 149, in extVal
yp = pls.predict(self.X[new_test])
File "/home/helitonmrf/miniconda3/envs/QSARModelingGUI/lib/python3.9/site-packages/sklearn/cross_decomposition/_pls.py", line 382, in predict
X = check_array(X, copy=copy, dtype=FLOAT_DTYPES)
File "/home/helitonmrf/miniconda3/envs/QSARModelingGUI/lib/python3.9/site-packages/sklearn/utils/validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "/home/helitonmrf/miniconda3/envs/QSARModelingGUI/lib/python3.9/site-packages/sklearn/utils/validation.py", line 669, in check_array
raise ValueError("Found array with %d sample(s) (shape=%s) while a"
ValueError: Found array with 0 sample(s) (shape=(0, 10)) while a minimum of 1 is required.
ValueErrorwhen trying to externally validate the following pair of files.files.zip
Log
Details