changed blind_test_input_df to blind_test_df in MultModelsCl
This commit is contained in:
parent
bc12dbd7c2
commit
0350784d52
114 changed files with 107251 additions and 863011 deletions
|
@ -1,4 +1,4 @@
|
|||
/home/tanu/git/LSHTM_analysis/scripts/ml/ml_data_7030.py:548: SettingWithCopyWarning:
|
||||
/home/tanu/git/LSHTM_analysis/scripts/ml/ml_data_7030.py:464: SettingWithCopyWarning:
|
||||
A value is trying to be set on a copy of a slice from a DataFrame
|
||||
|
||||
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
|
||||
|
@ -55,16 +55,13 @@ PASS: OR values imputed, data ready for ML
|
|||
|
||||
Total no. of features for aaindex: 123
|
||||
|
||||
No. of numerical features: 168
|
||||
No. of categorical features: 7
|
||||
|
||||
PASS: x_features has no target variable
|
||||
|
||||
No. of columns for x_features: 175
|
||||
No. of columns for x_features: 174
|
||||
Traceback (most recent call last):
|
||||
File "/home/tanu/git/LSHTM_analysis/scripts/ml/./alr_7030.py", line 19, in <module>
|
||||
File "/home/tanu/git/LSHTM_analysis/scripts/ml/./run_7030.py", line 35, in <module>
|
||||
setvars(gene,drug)
|
||||
File "/home/tanu/git/LSHTM_analysis/scripts/ml/ml_data_7030.py", line 658, in setvars
|
||||
File "/home/tanu/git/LSHTM_analysis/scripts/ml/ml_data_7030.py", line 636, in setvars
|
||||
X, X_bts, y, y_bts = train_test_split(x_features, y_target
|
||||
File "/home/tanu/anaconda3/envs/UQ/lib/python3.9/site-packages/sklearn/model_selection/_split.py", line 2454, in train_test_split
|
||||
train, test = next(cv.split(X=arrays[0], y=stratify))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue