MCPcopy Create free account

hub / github.com/AI4HealthUOL/ecg-fm-benchmarking / functions

Functions823 in github.com/AI4HealthUOL/ecg-fm-benchmarking

↓ 1 callersFunctiontsdata_collate_fn
Collate function for TSData objects, returning a dictionary with only present fields.
code/clinical_ts/data/time_series_dataset.py:36
↓ 1 callersMethodtune
(self)
code/extensions/cauchy/tuner.py:147
↓ 1 callersFunctionuninstall_extensions
(tuning_extension_names, verbose=True)
code/extensions/cauchy/tuner.py:61
↓ 1 callersFunctionvit_tiny
(num_leads, num_classes=1, seq_len=5000, patch_size=50, **kwargs)
code/clinical_ts/models/ecg_foundation_models/merl/vit1d.py:215
↓ 1 callersFunctionwrite_file
dump the contents of string to a file called filename
code/extensions/cauchy/tuner.py:28
↓ 1 callersFunctionxresnet1d101
(**kwargs)
code/clinical_ts/models/ecg_foundation_models/ecgfm_ked.py:234
FunctionAdaptiveAvgPool
nn.AdaptiveAvgPool layer for `ndim`
code/clinical_ts/models/ecg_foundation_models/ecgfm_ked.py:125
FunctionAvgPool
nn.AvgPool layer for `ndim`
code/clinical_ts/models/ecg_foundation_models/ecgfm_ked.py:135
FunctionMaxPool
nn.MaxPool layer for `ndim`
code/clinical_ts/models/ecg_foundation_models/ecgfm_ked.py:130
FunctionPYBIND11_MODULE
code/extensions/cauchy/cauchy.cpp:86
FunctionResNet101
(num_classes)
code/clinical_ts/models/ecg_foundation_models/merl/resnet1d.py:106
FunctionResNet152
(num_classes)
code/clinical_ts/models/ecg_foundation_models/merl/resnet1d.py:111
FunctionResNet34
(num_classes)
code/clinical_ts/models/ecg_foundation_models/merl/resnet1d.py:100
FunctionResNet50
(num_classes)
code/clinical_ts/models/ecg_foundation_models/merl/resnet1d.py:103
Method__call__
(self, inp)
code/clinical_ts/data/time_series_dataset_transforms.py:68
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:82
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:109
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:133
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:153
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:187
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:205
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:237
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:251
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:304
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:329
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:362
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:387
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:403
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:416
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:428
Method__call__
(self, sample)
code/clinical_ts/data/time_series_dataset_transforms.py:447
Method__call__
(self,targs,preds)
code/clinical_ts/metric/base.py:62
Method__enter__
(self, *args)
code/clinical_ts/utils/callbacks.py:31
Method__exit__
(self, *args)
code/clinical_ts/utils/callbacks.py:34
Method__getitem__
(self, idx)
code/clinical_ts/data/time_series_dataset.py:261
Method__init__
(self, num_classes, num_output_tokens)
code/main_lite_base.py:62
Method__init__
(self,hparams)
code/main_lite_ecg.py:26
Method__init__
(self,hparams)
code/main_lite_eeg.py:8
Method__init__
(self, num_classes, num_output_tokens)
code/main_lite.py:358
Method__init__
(self,hparams)
code/main_lite_movement.py:8
Method__init__
(self, hparams)
code/clinical_ts/template_model.py:60
Method__init__
input shape: (bs,channels,seq) + optional static (bs,feat) selected encoders e.g. NoEncoder also accept (bs,channels,freq,seq) for th
code/clinical_ts/template_modules.py:231
Method__init__
input shape: (bs,channels,seq) + optional static (bs,feat) selected encoders e.g. NoEncoder also accept (bs,channels,freq,seq) for th
code/clinical_ts/template_modules.py:255
Method__init__
if target_dim is not None, the output dimension should be target_dim input shape: bs, channels output shape: bs, feat
code/clinical_ts/template_modules.py:275
Method__init__
input shape: bs, seq, feat output shape: bs, seq, feat
code/clinical_ts/template_modules.py:296
Method__init__
(self, hparams_quantizer, hparams_input_shape)
code/clinical_ts/template_modules.py:342
Method__init__
(self, hparams_seqenc, hparams_input_shape, static_stats_train, target_dim=None, has_ema=True)
code/clinical_ts/template_modules.py:373
Method__init__
(self, lst_hparams_seqenc, hparams_input_shape, static_stats_train, target_dim=None)
code/clinical_ts/template_modules.py:648
Method__init__
(self,interval="epoch",start=True,end=True)
code/clinical_ts/utils/misc_utils.py:5
Method__init__
(self,num_steps=15000,tstart=1,tend=1.0/16.)
code/clinical_ts/utils/misc_utils.py:73
Method__init__
(self,num_steps=5000,betaend=5e-4)
code/clinical_ts/utils/misc_utils.py:85
Method__init__
(self, m, store_output=True)
code/clinical_ts/utils/callbacks.py:13
Method__init__
(self,quantizer_modules)
code/clinical_ts/utils/callbacks.py:38
Method__init__
(self, unfreeze_epoch: int = 5, train_bn: bool = True)
code/clinical_ts/utils/callbacks.py:48
Method__init__
(self,interval="epoch",start=True,end=True)
code/clinical_ts/utils/callbacks.py:71
Method__init__
(self, embed_dim: int, num_heads: int, output_dim: int = None, batch_first: bool = True, bias: bool = False)
code/clinical_ts/utils/heads.py:35
Method__init__
(self, hparams_head, hparams_input_shape, target_dim)
code/clinical_ts/utils/heads.py:74
Method__init__
(self, hparams_head, hparams_input_shape, target_dim)
code/clinical_ts/ts/head.py:17
Method__init__
(self, bidirectional=False, cls_first=False)
code/clinical_ts/ts/head.py:102
Method__init__
(self, hparams_head, hparams_input_shape, target_dim)
code/clinical_ts/ts/head.py:124
Method__init__
(self, dim0, dim1)
code/clinical_ts/ts/head.py:176
Method__init__
(self, hparams_head, hparams_input_shape, target_dim)
code/clinical_ts/ts/head.py:185
Method__init__
(self, hparams_head, hparams_input_shape, target_dim)
code/clinical_ts/ts/head.py:229
Method__init__
(self, hparams_head, hparams_input_shape, target_dim)
code/clinical_ts/ts/head.py:297
Method__init__
(self, hparams_head, hparams_input_shape, target_dim=None)
code/clinical_ts/ts/head.py:325
Method__init__
(self, hparams_predictor, hparams_input_shape)
code/clinical_ts/ts/s4.py:10
Method__init__
RNN Encoder is actually just a conv encoder
code/clinical_ts/ts/encoder.py:13
Method__init__
( self, d_input, # None to disable encoder d_output, # None to disable decoder
code/clinical_ts/ts/s4_modules/s4_model.py:12
Method__init__
(self, d_input, d_output, bias=True)
code/clinical_ts/ts/s4_modules/s42.py:159
Method__init__
L: Maximum length; this module computes an SSM kernel of length L w: (N) p: (r, N) low-rank correction to A q: (r, N)
code/clinical_ts/ts/s4_modules/s42.py:530
Method__init__
( self, H, N=64, L=1, measure="legs", rank=1, channels
code/clinical_ts/ts/s4_modules/s42.py:963
Method__init__
tie: tie dropout mask across sequence lengths (Dropout1d/2d/3d)
code/clinical_ts/ts/s4_modules/s4_utils.py:7
Method__init__
(self, lambd)
code/clinical_ts/ts/basic_conv1d_modules/basic_conv1d.py:44
Method__init__
Output will be 2*sz or 2 if sz is None
code/clinical_ts/ts/basic_conv1d_modules/basic_conv1d.py:86
Method__init__
(self,channels,reduction=16)
code/clinical_ts/ts/basic_conv1d_modules/basic_conv1d.py:96
Method__init__
(self, filters=[128,128,128,128],kernel_size=3, stride=2, dilation=1, pool=0, pool_stride=1, squeeze_excite_re
code/clinical_ts/ts/basic_conv1d_modules/basic_conv1d.py:140
Method__init__
(self, datasets)
code/clinical_ts/data/time_series_dataset.py:97
Method__init__
(self, transforms)
code/clinical_ts/data/time_series_dataset_transforms.py:65
Method__init__
(self, output_size,annotation=False)
code/clinical_ts/data/time_series_dataset_transforms.py:78
Method__init__
(self, output_size, annotation=False)
code/clinical_ts/data/time_series_dataset_transforms.py:105
Method__init__
(self, start_idx, end_idx, annotation=False)
code/clinical_ts/data/time_series_dataset_transforms.py:127
Method__init__
(self, scale=0.1)
code/clinical_ts/data/time_series_dataset_transforms.py:150
Method__init__
(self, fs_source, fs_target)
code/clinical_ts/data/time_series_dataset_transforms.py:183
Method__init__
(self, fs, window="hann", nperseg=256, noverlap= 128, pad="reflect", log_transform=True)
code/clinical_ts/data/time_series_dataset_transforms.py:196
Method__init__
(self)
code/clinical_ts/data/time_series_dataset_transforms.py:234
Method__init__
(self, transpose_data=True, transpose_label=False)
code/clinical_ts/data/time_series_dataset_transforms.py:246
Method__init__
(self, stats_mean, stats_std, input=True, channels=[])
code/clinical_ts/data/time_series_dataset_transforms.py:294
Method__init__
(self, input=True, channels=[],axis=None)
code/clinical_ts/data/time_series_dataset_transforms.py:323
Method__init__
(self, lowcut=50, highcut=50, fs=100, order=5, btype='band', forwardbackward=True, input=True)
code/clinical_ts/data/time_series_dataset_transforms.py:357
Method__init__
(self, channels=[0], axis=-1, input=True)
code/clinical_ts/data/time_series_dataset_transforms.py:382
Method__init__
(self, func, input=False)
code/clinical_ts/data/time_series_dataset_transforms.py:399
Method__init__
(self, func)
code/clinical_ts/data/time_series_dataset_transforms.py:413
Method__init__
(self, func)
code/clinical_ts/data/time_series_dataset_transforms.py:425
Method__init__
(self, majority_vote=False, num_classes=2, binary=False,epoch_length=0)
code/clinical_ts/data/time_series_dataset_transforms.py:441
Method__init__
(self, hparams_metric, lbl_itos, key_prefix, key_postfix, test=True)
code/clinical_ts/metric/base.py:41
Method__init__
(self, hparams_metric, lbl_itos, key_prefix="", key_postfix="0", test=True)
code/clinical_ts/metric/base.py:92
Method__init__
(self, hparams_metric, lbl_itos, key_prefix="", key_postfix="0", test=True)
code/clinical_ts/metric/base.py:194
Method__init__
(self, hparams_metric, lbl_itos, key_prefix="", key_postfix="0", test=True)
code/clinical_ts/metric/base.py:231
Method__init__
(self, hparams_metric, lbl_itos, key_prefix="", key_postfix="0", test=True)
code/clinical_ts/metric/base.py:315
Method__init__
(self, num_classes=1, num_output_tokens=1)
code/clinical_ts/models/fm_movement.py:12
← previousnext →301–400 of 823, ranked by callers