Changelog#
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased#
Added#
Changed#
Make the function remove_spikes_naive in torch_ecg.utils.utils_signal support 2D and 3D input signals.
Deprecated#
Removed#
Fixed#
Correctly update the _df_metadata attribute of the PTBXL database reader classes after filtering records.
Enhance the save method of the torch_ecg.utils.utils_nn.CkptMixin class: non-safe items in the configs are removed before saving the model.
Fix errors when monitor is specified while the validation dataloader is not provided in the torch_ecg.components.BaseTrainer class.
Enhance the save_checkpoint method of the torch_ecg.components.BaseTrainer class: non-safe items in the configs are removed before saving the model.
Security#
0.0.31 - 2025-01-28#
Added#
Add functions for downloading PhysioNet data from AWS S3. It is now made the default way to download data from PhysioNet.
Add
easydictas a dependency for backward compatibility (loading old models using safe-modetorch.loadwithweights_only=True. Extra dependencies are added withtorch.serialization.add_safe_globals).
Changed#
Test files (in the
sample-datadirectory) are updated.Add keyword argument
weights_onlytofrom_checkpointandfrom_remotemethods of the models (indeed theCkptMixinclass). The default value is"auto", which means the behavior is the same as before. It checks iftorch.serializationhasadd_safe_globalsattribute. If it does, it will use safe-modetorch.loadwithweights_only=True. Otherwise, it will usetorch.loadwithweights_only=False.
Deprecated#
Support for Python 3.7, 3.8 is deprecated. The minimum supported Python version is now 3.9. In the
pyproject.tomlfile, the fieldrequires-pythonis updated from>=3.7to>=3.9.
Removed#
Restrictions on the version of
wfdbandnumpypackages are removed.
Fixed#
Fix IO issues with several PhysioNet databases.
Security#
Models are now loaded using safe-mode
torch.loadwithweights_only=Trueby default.
0.0.30 - 2024-10-10#
Added#
Add support for AWS S3 in the download utility function
http_getin thetorch_ecg.utils.downloadmodule. PhysioNet now provides data download links from AWS S3, and the download utility function can now handle these links if AWS CLI is installed. This feature is implemented but not put into use yet.
Changed#
Change the default value of the
methodargument of thetorch_ecg.utils.utils_signal.resample_irregular_timeseriesfunction from"spline"to"interp1d". The former is probably not correctly implemented.Update the logger classes: add checking of the write access of the
log_dir. If the directory is not writable, the default log dir~/.cache/torch_ecg/logsis used (ref.torch_ecg.cfg.DEFAULTS.log_dir).Update the selection mechanism of the final model for the trainer classes: if no monitor is specified, the last model is selected by default (previously, no model was selected and saved).
The main part of the
_setup_criterionmethod of theBaseTrainerclass is moved to the functionsetup_criterionin thetorch_ecg.models.lossmodule. The method is simplified and enhanced.
Deprecated#
Script
setup.pyis deprecated. The package building system is switched tohatch.
Removed#
Remove redundancy in base trainer classes: identical
ifblocks are removed from the_setup_criterionmethod of theBaseTrainerclass.
Fixed#
Fix potential error in getting model name in the trainer classes.
Fix bugs in the
CINC2020andCINC2021database reader classes for parsing the header files.
0.0.29 - 2024-07-21#
Added#
Add keyword argument
with_suffixto functiontorch_ecg.utils.misc.get_record_list_recursive3.Add function
_download_from_google_driveto thetorch_ecg.utils.downloadmodule for downloading files from Google Drive.Add
gdownas a dependency in therequirements.txtfile.Add database reader class
PTBXLPlusfor the PTB-XL+ database intorch_ecg.databases.physionet_databases.Add github-release job to the publish action for creating a release on GitHub automatically.
Changed#
Improve the main training loop method of the base trainer class
torch_ecg.components.trainers.BaseTrainer.Allow passing additional keyword arguments to pass to
requests.headin theurl_is_reachablefunction of thetorch_ecg.utils.downloadmodule (via adding the**kwargsargument).Restrict version of
numpyto be<=2.0.0in therequirements.txtfile.numpyversion2.0.0is a breaking update, and a large proportion of the dependencies of this project are not compatible with it yet.Enhance the
cls_to_binfunction and rename it toone_hot_encodein thetorch_ecg.utils.utils_datamodule.
Fixed#
Enhance compatibility for different
pandasversions.Fix errors for taking length of an empty database reader class.
Security#
0.0.28 - 2024-04-02#
Added#
Add CD workflow for the publish action with GitHub Action.
Add an optional argument
return_fsfor theload_datamethod for the database reader classes. IfTrue, the sampling frequency of the record is returned along with the data as a tuple. To keep the behavior consistent, the default value isFalse.Add an optional parameter
fsfor the functioncompute_receptive_fieldin thetorch_ecg.utils.utils_nnmodule. Iffsis provided, the receptive field is computed based on the sampling frequency.Add method
compute_receptive_fieldfor several convolutional neural network models (layers) in thetorch_ecg.models._netsmodule.Add helper function
make_serializablein thetorch_ecg.utils.miscmodule for making an object serializable (with thejsonpackage). It will convert allnumpyarrays tolistin an object, and also convertnumpydata types to python data types in the object recursively.Add helper function
url_is_reachablein thetorch_ecg.utils.downloadmodule for checking if a URL is reachable.Add database reader class
PTBXLfor the PTB-XL database intorch_ecg.databases.physionet_databases.Add class method
from_remoteforCkptMixinclasses. It is used to load a model from a remote location (e.g., a URL) directly.Add
sphinx-emoji-faviconas a dependency for generating the favicon for the documentation.Add utility function
ecg_plotfrom ecg-image-kit.Add
pyarrowas a dependency in therequirements.txtfile.Add benchmark study
train_crnn_cinc2023for the CinC2023 challenge.
Changed#
Change the default value
reset_indexof the utility functiontorch_ecg.utils.utils_data.stratified_train_test_splitfromTruetoFalse.Enhance the decorator
torch_ecg.utils.misc.add_kwargsso that the signature of the decorated function is also updated.Update the documentation: use
sphinx_toolbox.collapseandsphinxcontrib.bibtex; add citation info in the index page.Make
Datasetclasses accept slice index for the__getitem__method.
Deprecated#
Support for Python 3.6 is deprecated. The minimum supported Python version is updated to 3.7.
Removed#
Remove broken links in the docstrings of the database reader classes.
Remove unused scripts
formatting.shandpush2pypi.sh.
Fixed#
Fix errors in the decorator
torch_ecg.utils.misc.add_kwargswhen a bound method is decorated.Fix bugs related to data overflow for preprocessor classes that work with
numpyarrays as reported in issue #12.Fix bugs in augmentor class
StretchCompressin thetorch_ecg.augmentersmodule.Fix dtype error when calling
compute_class_weightfromsklearn.utils.Fix the issue when handling nan values in in computing metrics.
Fix errors for the
ApneaECGdatabase reader class when passing a path that does not exist or a path that contains no records at initialization.
0.0.27 - 2023-03-14#
Added#
Add default configs for blocks of the
ResNetmodel in thetorch_ecg.models.cnnmodule.Add
RegNetmodel in thetorch_ecg.models.cnnmodule.Add
CutMixaugmentor in thetorch_ecg.augmentersmodule.Add support for
torch.nn.Dropout1din the models.Add
.readthedocs.ymlto the project. The documentation is now hosted on Read the Docs besides GitHub Pages.
Changed#
Move
torch_ecg.utils.preproctotorch_ecg.utils._preproc.Allow
embed_dimofSelfAttentionlayer not divisible bynum_headsvia adding a linear projection layer before the multi-head attention layer.Documentation is largely improved.
Deprecated#
Drop compability for older versions of
torch(1.5 and below).
Removed#
Remove
protobuffrom therequirements.txtfile.Clear unused methods in the
CINC2020andCINC2021database reader classes.Clear unused layers in the
torch_ecg.models._netsmodule.Remove the
torch_ecg.utils._pantompkinsmodule. It contains the implementation of the Pan-Tompkins algorithm for QRS detection, modified from old versions of thewfdbpackage. It is moved to thelegacyfolder of the project.Remove
WandbLoggerclass from thetorch_ecg.components.loggersmodule.
Fixed#
Fix bugs when passing
units=Nonefor theload_datamethod of the PhysioNet database reader classes.
0.0.26 - 2022-12-25#
Added#
Add a default
load_datamethod for physionet databases reader classes in the base classPhysioNetDataBase. In most cases, in the inherited classes, one does not need to implement theload_datamethod, as the default method is sufficient. This method is a slight improvement overwfdb.rdrecord.Add decorator
add_kwargsin thetorch_ecg.utils.miscmodule for adding keyword arguments to a function or method.Add functions
list_databases,list_datasetsin thetorch_ecg.datasetsmodule for listing available databases reader classes andDatasetclasses.Add
savemethod for theCkptMixinclass. It is used to save the model to a file.Add
_normalize_leadsa method of the base_DataBaseclass in thetorch_ecg.databases.basemodule. It is used to normalize the names of the ECG leads.Add subsampling functionality for database reader classes.
Add benchmark study
train_mtl_cinc2022for the CinC2022 challenge.Add
CITATIONS.bibfile for storing BibTeX entries of the papers related to the project.Add 10 sample data from the CPSC2018 database for testing in the
sample-datadirectory.
Changed#
Use
CitationMixinfrom thebib-lookuppackage as the base class for theDataBaseInfoclass intorch_ecg.databases.base.Use
CitationMixinas one of the base classes for the models intorch_ecg.models.Allow dummy (empty) preprocessor managers, a warning instead of an error is raised in such cases.
Enhance error message for the computation of metrics.
Add keyword argument
requires_gradandinclude_buffersto thetorch_ecg.utils.utils_nn.compute_module_sizefunction. Thedtypeargument is removed as the data type of the model is now inferred from the model itself.Improve several database reader classes:
CPSC2018,CPSC2021,CINC2017,ApneaECG,MITDB,SPH.Add asymmetric zero pad for convolution layers, so that when
stride = 1andkernel_sizeis even, strict"same"padding is conducted.Use loggers instead of
printin database reader classes.Integrate code coverage into the CI workflow. The coverage report is generated and uploaded to Codecov.
More unit tests are added, and the existing ones are updated. Code coverage is largely improved.
Deprecated#
Drop compatibility for
tqdm< 4.29.1
Removed#
Remove unused rpeaks detection methods in the
torch_ecg.utils.rpeaksmodule.Remove
_normalize_leadsmethod inLUDBdatabase reader class.Remove unused functions in the file of the
CPSC2020database reader class.
Fixed#
Fix bugs in the config class
torch_ecg.cfg.CFG.Fix errors in the
plotmethod ofCINC2020andCINC2021database reader classes.
Security#
CVE-2007-4559 patch: Fix a potential security vulnerability in the
torch_ecg.utils.download.http_getfunction.
0.0.25 - 2022-10-08#
Added#
Add docstring utility function
remove_parameters_returns_from_docstringintorch_ecg.utils.misc.Add abstract property
database_infoto the base class_DataBaseintorch_ecg.databases.baseso that when implementing a new database reader class that inherits from the base class, itsDataBaseInfomust be implemented and assigned to the property.Add method
get_citationto the base abstract class_DataBaseintorch_ecg.databases.basewhich enhances the process for getting citations for the databases.Add database reader class
CACHET_CADBfor the CACHET-CADB database intorch_ecg.databases.other_databases.Add
downloadmethod for the base abstract classCPSCDataBaseintorch_ecg.databases.base.
Changed#
Improve the warning message for passing an non-existing path when initializing a database reader class.
Change the default behavior of the
downloadmethod forPhysioNetDataBaseclass: default to download the compressed version of the database.Update the
READMEfile in thetorch_ecg/databasesdirectory.
Fixed#
Use
register_bufferin custom loss classes for constant tensors to avoid potential device mismatch issues.Rename and update the data file
physionet_dbs.csv.tar.gztophysionet_dbs.csv.gzto comply with the changement of thepandas.read_csvfunction from version 1.4.x to 1.5.x.Fix the incorrect usage of
NoReturntype hints. It is replaced withNoneto indicate that the function/method does not return anything.
0.0.24 - 2022-08-13 [YANKED]#
This release was yanked.
0.0.23 - 2022-08-09#
Added#
Add
collate_fnas an optional argument forBaseTrainerclass intorch_ecg.components.trainers.
Changed#
Let
db_dirattribute of the database reader classes be absolute when instantiated, to avoid potentialpathliberrors.Update utility function torch_ecg.utils.utils_nn.adjust_cnn_filter_lengths`: avoid assigning unnecessary fs to dict-type config items; change default value of the
patternargument from"filter_length|filt_size"to"filter_length|filter_size"to avoid unintended changement of configs forBlurPool(intorch_ecg.models._nets).Enhance error message for
BlurPoolintorch_ecg.models._nets.
0.0.22 - 2022-08-05#
Changed#
Make utility function
torch_ecg.utils.utils_data.default_collate_fnsupportdicttype batched data.Update docstrings of several metrics utility functions in
torch_ecg.utils.utils_metrics.
0.0.21 - 2022-08-01#
Added#
Add utility function
get_kwargsintorch_ecg.utils.miscfor getting (keyword) arguments from a function/method.Add AHA diagnosis statements in
torch_ecg.databases.aux_data.Add argument
reset_indexto the utility functiontorch_ecg.utils.utils_data.stratified_train_test_split.Add
typing-extensionsas a dependency in therequirements.txtfile.Add database reader class
QTDBfor the QTDB database intorch_ecg.databases.physionet_databases.
Changed#
Enhance data handling (typicall when using the
load_datamethod of the database reader classes) with precise dtypes viatorch_ecg.cfg.DEFAUTLS.Update the setup of optimizer for the base trainer class
torch_ecg.components.trainers.BaseTrainer.Update the
DataBaseInfoclass for theSPHdatabase.Update the
READMEfile in thetorch_ecg/databasesdirectory.Update plotted figures of the benchmark studies.
Rename
SequenceLabelingOutputtoSequenceLabellingOutput(typo fixed) in thetorch_ecg.components.outputsmodule.Enhance docstring of
LUDBdatabase reader class via updating itsDataBaseInfoclass.Append the
_ls_recmethod as the last step in thedownloadmethod of the database reader classes.Change
torch_ecg.utils.utils_data.ECGWaveFormfrom anamedtupleto adataclass.
Removed#
bib_lookup.pyis removed from the project. It is now delivered in an isolated packagebib_lookuppublished on PyPI, and added as a dependency in therequirements.txtfile.Remove unnecessary script
exec_git.py.Remove
joblibin therequirements.txtfile.
0.0.20 - 2022-06-15#
Added#
Add database reader class
SPHfor the SPH database intorch_ecg.databases.other_databases.Add
dataclassDataBaseInfofor storing information of a database. It has attributestitle,about,note,usage,issues,reference, etc., and has a methodformat_database_docstringfor formatting the docstring of a database reader class. The generated docstring can be assigned to corresponding database reader class via theadd_docstringdecorator (intorch_ecg.utils.misc).Add default cache directory
~/.cache/torch_ecgfor storing downloaded data files, model weight files, etc.Add helper function
is_compressed_filefor checking if a file is compressed intorch_ecg.utils.download.
0.0.19 - 2022-06-09#
Added#
Add argument
relativeto the utility functionget_record_list_recursive3.Add attribute
_df_recordsto the database reader classes. The attribute stores the DataFrame of the records of the database, containing paths to the records and other information (labels, demographics, etc.).
Fixed#
Fix bugs in the download utility function
http_get.Fix bugs in the database reader classe
CPSC2021.
0.0.18 - 2022-06-05#
Added#
Add property
in_channelsfor the models.The number of input channels is stored as a private attribute_in_channels, and the propertyin_channelsmakes it easier to access the value.Add warning message to the
downloadmethod of theCPSC2019database reader class.Add
get_absolute_pathmethod for the database reader classes to uniformly handle the path operations.
Changed#
All all absolute imports are replaced with relative imports.
Update citation and images for several benchmark studies
Update the
downlaodlink for theCPSC2019database reader class (ref. propertytorch_ecg.databases.CPSC2019.url).
Removed#
Remove the
torch_ecg.utils.misc.deprecate_kwargsdecorator. It is delivered in an isolated packagedeprecate_kwargspublished on PyPI, and added as a dependency in therequirements.txtfile.
Fixed#
Fix errors in the
_ls_recmethod of theCPSC2019database reader class.Fix bugs in the
torch_ecg.utils.misc.deprecate_kwargsdecorator.Fix the issue that
tensorboardXis incompatible with the latest version ofprotobuf.
0.0.17 - 2022-05-03 [YANKED]#
This release was yanked.
0.0.16 - 2022-04-28#
Added#
Add method
_categorize_recordsfor theMITDBdatabase reader class, categorize records by specific attributes. Related helper propertiesbeat_types_recordsandrhythm_types_recordsare added.Add method
_aggregate_statsfor theMITDBdatabase reader class. Related helper propertiesdf_statsanddb_statsare added.Add function
cls_to_binfor converting categorical (typically multi-label) class labels to binary class labels (2D array with 0/1 values).Add context manager
torch_ecg.utils.misc.timeoutfor setting a timeout for a block of code.Add context manager
torch_ecg.utils.misc.Timerto time the execution of a block of code.Add module
torch_ecg.components.inputsfor input data classes.Add class
Spectrogram(intorch_ecg.utils) for generating spectrogram input data. This class is modified from thetorchaudio.transforms.Spectrogram.Add decorator
torch_ecg.utils.misc.deprecate_kwargsfor deprecating keyword arguments of a function/method.Top-level module
torch_ecg.sslfor self-supervised learning methods and models is introduced, but not implemented yet.Add helper function
torch_ecg.utils.utils_nn.compute_sequential_output_shapeto simplify the computation of output shape of sequential models.mobilenet_v3model is added to thetorch_ecg.modelsmodule. It is now available as a cnn backbone choice for theECG_CRNNmodel (and for other downstream task models).
Changed#
Use
numpy’s defaultrngfor random number generation in place ofnp.randomand Python built-inrandommodule.Update the
READMEfile.Move the function
generate_weight_maskfromCPSC2021dataset totorch_ecg.utils.utils_data.Database reader
MITDBis enhanced: add propertiesdf_stats_expanded; add argumentsbeat_typesandrhythm_typesto the data and annotation loading methods.Downloading function
http_getis enhanced to support downloading normal files other than compressed files.Update
__init__file of thetorch_ecg.utilsmodule.Database reader class
CinC2017is updated: add property_validation_set.The
ECG_UNETmodel is simplified by removing the unnecessary zero padding along the channel axis.Update the
READMEfile.
Deprecated#
Keyword argument
batch_normin model building blocks (ref.torch_ecg.models) is deprecated. Usenorminstead.
Removed#
Redundant functions in
torch_ecg.utils.utils_intervalare removed:diff_with_step,mask_to_intervals.
Fixed#
Remove redudant code for the
ECG_UNETmodel which might cause error in computing output shapes.
0.0.15 - 2022-04-14#
Changed#
Use
pathlib.Path.parentsinstead of sequence ofpathlib.Path..parentto get the parent directory of a file path.Type hints and docstrings of some database reader classes are enhanced:
ApneaECG,CINC2020,CINC2021.Update the
READMEfile: add citation information for the package.
0.0.14 - 2022-04-10#
Added#
Implements the lead-wise mechanism (as a method
_assign_weights_lead_wise) for theConv_Bn_Activationlayer in thetorch_ecg.models._netsmodule.Implements
assign_weights_lead_wisefor modelMultiScopicCNN(intorch_ecg.models).Zenodo configuration file
.zenodo.jsonis added.
Changed#
Update the
READMEfile: add:point_right: [Back to TOC](#torch_ecg)to the end of long sections.
Fixed#
Fix errors in the computation of classification metrics.
0.0.13 - 2022-04-09#
Added#
Add metrics computation class
WaveDelineationMetricsfor evaluating the performance of ECG wave delineation models.Add methods for computing the metrics to the output classes (in the module
torch_ecg.components.outputs).Add script
push2pypi.shfor pushing the package to PyPI.Add attribute
global_pool_sizeto the configuration of the classification models (torch_ecg.models.ECG_CRNN).
Changed#
flake8check ignore list is updated.READMEis updated.
Removed#
Usage of
easydictis removed. Now we usetorch_ecg.cfg.CFGfor configuration.
Fixed#
Computation of the metric of mean_error for ECG wave delineation is corrected.
Fix bugs in
SpaceToDepthlayer (torch_ecg.models.resnet).
0.0.12 - 2022-04-05#
Changed#
Some out-of-date
sample-datafiles are updated, unnecessary files are removed.Passing a path that does not exist to a database reader class now raises no error, but a warning is issued instead.
Include
isortandflake8in the code formatting and linting steps. Code are reformatted and linted.
0.0.11 - 2022-04-03#
Changed#
Docstrings are cleaned up.
Unit tests are updated.
0.0.10 - 2022-04-01#
Added#
Add
BibLookupclass for looking up BibTeX entries from DOIs of papers related to datasets and models.Add
RPeaksDetectionMetricsclass to thetorch_ecg.components.metricsmodule for evaluating the performance of R-peaks detection models.Add CI workflow for running tests via GitHub Actions.
Changed#
The loading methods (
load_data,load_ann, etc.) of the database reader classes are enhanced to acceptinttype record name argument (rec), which redirects to the record with the corresponding index in theall_recordsattribute of the database reader class.
0.0.9 - 2023-03-30#
Added#
Add decorator
add_docstringfor adding/modifying docstrings of functions and classes.Add method
appendfor theBaseOutputclass.- Add several metrics computation functions in
torch_ecg/utils/utils_metrics.py: confusion_matrixovr_confusion_matrixaucaccuracyf_measureQRS_score
- Add several metrics computation functions in
Add top-level module
torch_ecg.components.Add classes for metrics computation to the
torch_ecg.components.metricsmodule.
Changed#
Datasetclasses and corresponding config classes are added to the__init__.pyfile of thetorch_ecg.databases.datasetmodule so that they can be imported directly from the module.Logger classes, output classes, and trainer classes are moved to the new module
torch_ecg.components.Callbacks in
BaseTrainerare enhanced, allowing empty monitor, and allowing non-positive number of checkpoints to be saved (i.e., no checkpoint is saved).
0.0.8 - 2022-03-29#
Fixed#
Bugs in extracting compressed files in the
http_getfunction of theutils.downloadmodule.
Security#
0.0.7 - 2022-03-28#
Fixed#
Import errors for early versions of pytorch.
Cached table of PhysioNet databases is added as
package_datainsetup.pyto avoid the error of missing the table file when installing the package.
Security#
0.0.6 - 2022-03-28#
Added#
Add methods
__len__and__getitem__for the base classtorch_ecg.databases.base._DataBase.
Changed#
The base class of
CPSC2021is changed fromCPSCDataBasetoPhysioNetDataBase.Function
compute_output_shapeis enhanced to support different paddings in two ends of the input signal.READMEis updated.Docstrings of many classes and functions are updated.
blackis used for code formatting.
0.0.5 - 2022-03-27#
Added#
Add cached table of PhysioNet databases as a data file stored in the package.
Add
requestsas a dependency in therequirements.txtfile.
Changed#
An optional argument
btypeis added to the functionbutter_bandpass_filterto specify the type of the filter:"lohi","hilo".A
compressedargument is added to thedownloadmethod of thePhysioNetDataBaseclass to specify whether to download the compressed version of the database.
Fixed#
Fix bugs in the function
preprocess_multi_lead_signal.
0.0.4 - 2022-03-26#
Added#
Add
ReprMixinclass for better representation of the classes (e.g., models, preprocessors, database readers, etc.).Added model_dir to default config.
- Add
Datasetclasses for generating input data for the models: CINC2020CINC2021CPSC2019CPSC2021LUDB
- Add
Add
sample-datadirectory for storing sample data for testing.Add
urlproperty to the database classes.Add utility functions for the computation of metrics.
Add
BeatAnnclass for better annotation of ECG beats.Add download utility functions.
Add
Outputclasses for the models. The output classes are used to store the output of the models and provide methods for post-processing.
Changed#
Manipulation of custom preprocessor classes is enhanced.
SizeMixinclass is improved for better computation of the sizes of the models.Replace
oswithpathlib, which is more flexible for path operations.Several database reader classes are updated: mitdb, ltafdb.
Improve
PhysioNetDataBaseby using wfdb built-in methods of getting database version string and downloading the database.Update the
READMEfile.
Removed#
Unnecessary imports are removed.
Fixed#
Fix bugs in the
flushmethod of theTxtLogger.
0.0.3 - 2022-03-24 [YANKED]#
This release was yanked.
0.0.2 - 2022-03-04#
Added#
Add
Preprocessorclasses for ECG data preprocessing (ref.torch_ecg.preprocessors).Add
Augmenterclasses for ECG data augmentation (ref.torch_ecg.augmenters).Add database reader classes for reading ECG data from different sources (ref.
torch_ecg.databases).Add model classes for ECG signal analysis, including classification, segmentation (R-peak detection, wave delineation, etc., ref.
torch_ecg.models).Add several benchmark studies for ECG signal analysis tasks:
CinC2020, multi-label classification.
CinC2021, multi-label classification.
CPSC2019, QRS detection.
CPSC2020, single-label classification.
CPSC2021, single-label classification.
LUDB, wave delineation.
ref. the
benchmarksdirectory of the project.Add documentation for the project (ref.
docsdirectory).Add CodeQL action for security analysis (ref.
.github/workflows).Add unit tests for the project (ref.
testdirectory).
0.0.1 - 2022-03-03 [YANKED]#
This release was yanked.