mondejar / wfdb-utils-and-others Goto Github PK
View Code? Open in Web Editor NEWScripts to work with WFDB format ECG data
Scripts to work with WFDB format ECG data
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.