You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
following your guidance, i get the dataset successfully, but i have a problem, it confused me a lot . as follows:
D:\Anaconda\envs\py36\python.exe D:\Desktop\ecg_learn\ecg-classification-master\python\run_train_SVM.py
Traceback (most recent call last):
File "D:\Desktop\ecg_learn\ecg-classification-master\python\run_train_SVM.py", line 54, in
main(multi_mode, 90, 90, do_preprocess, use_weight_class, maxRR, use_RR, norm_RR, compute_morph, oversamp_method, pca_k, feature_selection, do_cross_val, C_value, gamma_value, reduced_DS, leads_flag)
File "D:\Desktop\ecg_learn\ecg-classification-master\python\train_SVM.py", line 198, in main
scaler.fit(tr_features)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\preprocessing_data.py", line 730, in fit
return self.partial_fit(X, y, sample_weight)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\preprocessing_data.py", line 768, in partial_fit
force_all_finite='allow-nan', reset=first_call)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\base.py", line 421, in _validate_data
X = check_array(X, **check_params)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\utils\validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\utils\validation.py", line 729, in check_array
context))
ValueError: Found array with 0 sample(s) (shape=(0, 59)) while a minimum of 1 is required by StandardScaler.
Runing train_SVM.py!
Loading pickle: ../../dataset/mitdb/m_learning/scikit/features/w_90_90_DS1_rm_bsline_maxRR_u-lbp_MLII.p...
Loading pickle: ../../dataset/mitdb/m_learning/scikit/features/w_90_90_DS2_rm_bsline_maxRR_u-lbp_MLII.p...
-------- []
Process finished with exit code 1
i hope i can get your help
The text was updated successfully, but these errors were encountered:
following your guidance, i get the dataset successfully, but i have a problem, it confused me a lot . as follows:
D:\Anaconda\envs\py36\python.exe D:\Desktop\ecg_learn\ecg-classification-master\python\run_train_SVM.py
Traceback (most recent call last):
File "D:\Desktop\ecg_learn\ecg-classification-master\python\run_train_SVM.py", line 54, in
main(multi_mode, 90, 90, do_preprocess, use_weight_class, maxRR, use_RR, norm_RR, compute_morph, oversamp_method, pca_k, feature_selection, do_cross_val, C_value, gamma_value, reduced_DS, leads_flag)
File "D:\Desktop\ecg_learn\ecg-classification-master\python\train_SVM.py", line 198, in main
scaler.fit(tr_features)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\preprocessing_data.py", line 730, in fit
return self.partial_fit(X, y, sample_weight)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\preprocessing_data.py", line 768, in partial_fit
force_all_finite='allow-nan', reset=first_call)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\base.py", line 421, in _validate_data
X = check_array(X, **check_params)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\utils\validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "D:\Anaconda\envs\py36\lib\site-packages\sklearn\utils\validation.py", line 729, in check_array
context))
ValueError: Found array with 0 sample(s) (shape=(0, 59)) while a minimum of 1 is required by StandardScaler.
Runing train_SVM.py!
Loading pickle: ../../dataset/mitdb/m_learning/scikit/features/w_90_90_DS1_rm_bsline_maxRR_u-lbp_MLII.p...
Loading pickle: ../../dataset/mitdb/m_learning/scikit/features/w_90_90_DS2_rm_bsline_maxRR_u-lbp_MLII.p...
-------- []
Process finished with exit code 1
i hope i can get your help
The text was updated successfully, but these errors were encountered: