MCPcopy Create free account

hub / github.com/DAMO-DI-ML/NeurIPS2023-One-Fits-All / functions

Functions1,009 in github.com/DAMO-DI-ML/NeurIPS2023-One-Fits-All

↓ 25 callersMethodtransform
(self, data)
Imputation/utils/tools.py:72
↓ 21 callersMethodload
Load cached dataset. :param training: Load training part if training is True, test part otherwise.
Imputation/data_provider/m4.py:82
↓ 18 callersMethodtransform
(self, data)
Short-term_Forecasting/utils/tools.py:72
↓ 18 callersMethodtransform
(self, data)
Anomaly_Detection/utils/tools.py:72
↓ 15 callersMethodload
Load cached dataset. :param training: Load training part if training is True, test part otherwise.
Short-term_Forecasting/data_provider/m4.py:82
↓ 15 callersMethodload
Load cached dataset. :param training: Load training part if training is True, test part otherwise.
Anomaly_Detection/data_provider/m4.py:82
↓ 15 callersMethodtrain
(self)
Imputation/exp/exp_basic.py:51
↓ 11 callersMethodstep
(self, closure=None)
Classification/src/optimizers.py:39
↓ 9 callersMethod__init__
(self, layers)
Zero-shot_Learning/layers/ETSformer_EncDec.py:251
↓ 8 callersMethod__init__
(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1)
Classification/src/models/embed.py:110
↓ 8 callersMethod__init__
(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1)
Short-term_Forecasting/layers/Embed.py:110
↓ 8 callersMethod__init__
(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1)
Anomaly_Detection/layers/Embed.py:110
↓ 8 callersMethod__init__
(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1)
Imputation/layers/Embed.py:110
↓ 7 callersMethod__init__
(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1)
Zero-shot_Learning/embed.py:107
↓ 7 callersMethod__init__
(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1)
Zero-shot_Learning/layers/Embed.py:111
↓ 7 callersMethod__init__
(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1)
Few-shot_Learning/embed.py:107
↓ 7 callersMethod__init__
(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1)
Long-term_Forecasting/embed.py:107
↓ 6 callersMethod__init__
(self, attn_layers, conv_layers=None, norm_layer=None)
Zero-shot_Learning/layers/Autoformer_EncDec.py:86
↓ 5 callersMethod__init__
(self, mask_flag=True, factor=5, scale=None, attention_dropout=0.1, output_attention=False)
Zero-shot_Learning/layers/SelfAttention_Family.py:13
↓ 5 callersMethod_get_data
(self, flag)
Anomaly_Detection/exp/exp_anomaly_detection.py:31
↓ 5 callersMethodsummarize_groups
Re-group scores respecting M4 rules. :param scores: Scores per group. :return: Grouped scores.
Short-term_Forecasting/utils/m4_summary.py:113
↓ 5 callersMethodsummarize_groups
Re-group scores respecting M4 rules. :param scores: Scores per group. :return: Grouped scores.
Anomaly_Detection/utils/m4_summary.py:113
↓ 5 callersMethodsummarize_groups
Re-group scores respecting M4 rules. :param scores: Scores per group. :return: Grouped scores.
Imputation/utils/m4_summary.py:113
↓ 4 callersMethod__init__
(self, k=3, alpha=64, L=0, c=1, base='legendre',
Zero-shot_Learning/layers/MultiWaveletCorrelation.py:507
↓ 4 callersMethod__init__
(self, attn_layers, conv_layers=None, norm_layer=None)
Zero-shot_Learning/layers/Transformer_EncDec.py:55
↓ 4 callersMethod__init__
(self, attn_layers, conv_layers=None, norm_layer=None)
Few-shot_Learning/models/PatchTST.py:114
↓ 4 callersMethod__init__
(self, attn_layers, conv_layers=None, norm_layer=None)
Long-term_Forecasting/models/PatchTST.py:114
↓ 4 callersMethod__init__
(self, feat_dim, max_len, d_model, n_heads, num_layers, dim_feedforward, dropout=0.1, pos_enc
Classification/src/models/ts_transformer.py:199
↓ 4 callersMethod_get_data
(self, flag)
Short-term_Forecasting/exp/exp_short_term_forecasting.py:35
↓ 4 callersMethod_get_data
(self, flag)
Imputation/exp/exp_imputation.py:28
↓ 4 callersFunctioncollate_fn
Build mini-batch tensors from a list of (X, mask) tuples. Mask input. Create Args: data: len(batch_size) list of tuples (X, y).
Imputation/data_provider/uea.py:7
↓ 4 callersMethodprint_callback
(self, i_batch, metrics, prefix='')
Classification/src/running.py:257
↓ 4 callersFunctionpsi
(psi1, psi2, i, inp)
Zero-shot_Learning/layers/MultiWaveletCorrelation.py:141
↓ 4 callersFunctiontime_features
(dates, freq='h')
Zero-shot_Learning/utils/timefeatures.py:133
↓ 4 callersFunctiontime_features
(dates, freq='h')
Few-shot_Learning/utils/timefeatures.py:133
↓ 4 callersFunctiontime_features
(dates, freq='h')
Long-term_Forecasting/utils/timefeatures.py:133
↓ 4 callersMethodtransform
(self, data)
Zero-shot_Learning/utils/tools.py:88
↓ 4 callersMethodtransform
(self, data)
Few-shot_Learning/utils/tools.py:87
↓ 4 callersMethodtransform
(self, data)
Long-term_Forecasting/utils/tools.py:87
↓ 3 callersFunction_get_activation_fn
(activation)
Classification/src/models/ts_transformer.py:56
↓ 3 callersFunctiondata_provider
(args, flag, drop_last_test=True, train_all=False)
Zero-shot_Learning/data_provider/data_factory.py:12
↓ 3 callersFunctiondata_provider
(args, flag, drop_last_test=True, train_all=False)
Few-shot_Learning/data_provider/data_factory.py:12
↓ 3 callersFunctiondata_provider
(args, flag, drop_last_test=True, train_all=False)
Long-term_Forecasting/data_provider/data_factory.py:12
↓ 3 callersFunctiondivide_no_nan
a/b where the resulted NaN or Inf are replaced by 0.
Short-term_Forecasting/utils/losses.py:25
↓ 3 callersFunctiondivide_no_nan
a/b where the resulted NaN or Inf are replaced by 0.
Anomaly_Detection/utils/losses.py:25
↓ 3 callersFunctiondivide_no_nan
a/b where the resulted NaN or Inf are replaced by 0.
Imputation/utils/losses.py:25
↓ 3 callersMethodevaluate
(self, epoch_num=None, keep_all=True)
Classification/src/running.py:254
↓ 3 callersFunctionget_frequency_modes
get modes on frequency domain: 'random' means sampling randomly; 'else' means sampling the lowest modes;
Zero-shot_Learning/layers/FourierCorrelation.py:10
↓ 3 callersFunctiongroup_values
(values, groups, group_name)
Short-term_Forecasting/utils/m4_summary.py:28
↓ 3 callersFunctiongroup_values
(values, groups, group_name)
Anomaly_Detection/utils/m4_summary.py:28
↓ 3 callersFunctiongroup_values
(values, groups, group_name)
Imputation/utils/m4_summary.py:28
↓ 3 callersMethodinverse_transform
(self, data)
Zero-shot_Learning/data_provider/data_loader.py:424
↓ 3 callersMethodinverse_transform
(self, data)
Few-shot_Learning/data_provider/data_loader.py:422
↓ 3 callersMethodinverse_transform
(self, data)
Long-term_Forecasting/data_provider/data_loader.py:422
↓ 3 callersMethodinverse_transform
(self, data)
Short-term_Forecasting/data_provider/data_loader.py:781
↓ 3 callersMethodinverse_transform
(self, data)
Anomaly_Detection/data_provider/data_loader.py:781
↓ 3 callersMethodinverse_transform
(self, data)
Imputation/data_provider/data_loader.py:781
↓ 3 callersMethodnormalize
Args: df: input dataframe Returns: df: normalized dataframe
Classification/src/datasets/data.py:39
↓ 3 callersMethodnormalize
Args: df: input dataframe Returns: df: normalized dataframe
Imputation/data_provider/uea.py:77
↓ 3 callersFunctiontime_features
(dates, freq='h')
Short-term_Forecasting/utils/timefeatures.py:133
↓ 3 callersFunctiontime_features
(dates, freq='h')
Anomaly_Detection/utils/timefeatures.py:133
↓ 3 callersFunctiontime_features
(dates, freq='h')
Imputation/utils/timefeatures.py:133
↓ 3 callersMethodupdate
(self)
Classification/src/datasets/dataset.py:40
↓ 3 callersMethodwavelet_transform
(self, x)
Zero-shot_Learning/layers/MultiWaveletCorrelation.py:373
↓ 2 callersFunctionMSE
(pred, true)
Zero-shot_Learning/utils/metrics.py:18
↓ 2 callersFunctionMSE
(pred, true)
Few-shot_Learning/utils/metrics.py:18
↓ 2 callersFunctionMSE
(pred, true)
Long-term_Forecasting/utils/metrics.py:18
↓ 2 callersFunctionMSE
(pred, true)
Short-term_Forecasting/utils/metrics.py:18
↓ 2 callersFunctionMSE
(pred, true)
Anomaly_Detection/utils/metrics.py:18
↓ 2 callersFunctionMSE
(pred, true)
Imputation/utils/metrics.py:18
↓ 2 callersMethod__init__
(self)
Zero-shot_Learning/main_test.py:242
↓ 2 callersMethod__init__
(self, configs, device)
Few-shot_Learning/models/DLinear.py:42
↓ 2 callersMethod__init__
(self, configs, device)
Long-term_Forecasting/models/DLinear.py:42
↓ 2 callersMethod__init__
(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, weight_decay=0, degenerated_to_sgd=True)
Classification/src/optimizers.py:17
↓ 2 callersMethod__init__
(self, data, indices, mean_mask_length=3, masking_ratio=0.15, mode='separate', distribution='
Classification/src/datasets/dataset.py:9
↓ 2 callersMethod__init__
(self)
Short-term_Forecasting/utils/losses.py:36
↓ 2 callersMethod__init__
(self)
Anomaly_Detection/utils/losses.py:36
↓ 2 callersMethod__init__
(self)
Imputation/utils/losses.py:36
↓ 2 callersMethod__setstate__
(self, state)
Classification/src/optimizers.py:36
↓ 2 callersFunctioncheck_tensor
(X, verbose=True, zero_thresh=1e-8, inf_thresh=1e6)
Classification/src/utils/utils.py:265
↓ 2 callersMethodcompl_mul1d
(self, order, x, weights)
Zero-shot_Learning/layers/MultiWaveletCorrelation.py:404
↓ 2 callersFunctionconv1d_fft
(f, g, dim=-1)
Zero-shot_Learning/layers/ETSformer_EncDec.py:28
↓ 2 callersFunctionexport_record
Adds a list of values as a bottom row of a table in a given excel file
Classification/src/utils/utils.py:141
↓ 2 callersFunctiongeom_noise_mask_single
Randomly create a boolean mask of length `L`, consisting of subsequences of average length lm, masking with 0s a `masking_ratio` proportion o
Classification/src/datasets/dataset.py:274
↓ 2 callersFunctionget_filter
(base, k)
Zero-shot_Learning/layers/MultiWaveletCorrelation.py:140
↓ 2 callersFunctionget_pos_encoder
(pos_encoding)
Classification/src/models/ts_transformer.py:128
↓ 2 callersFunctionl2_reg_loss
Returns the squared L2 norm of output layer of given model
Classification/src/models/loss.py:23
↓ 2 callersMethodlast_insample_window
The last window of insample size of all timeseries. This function does not support batching and does not reshuffle timeseries.
Short-term_Forecasting/data_provider/data_loader.py:784
↓ 2 callersMethodload_single
(filepath)
Classification/src/datasets/data.py:428
↓ 2 callersFunctionmase
(forecast, insample, outsample, frequency)
Short-term_Forecasting/utils/m4_summary.py:32
↓ 2 callersFunctionmase
(forecast, insample, outsample, frequency)
Anomaly_Detection/utils/m4_summary.py:32
↓ 2 callersFunctionmase
(forecast, insample, outsample, frequency)
Imputation/utils/m4_summary.py:32
↓ 2 callersFunctionmetric
(pred, true)
Zero-shot_Learning/utils/metrics.py:40
↓ 2 callersFunctionpadding_mask
Used to mask padded positions: creates a (batch_size, max_len) boolean mask from a tensor of sequence lengths, where 1 means keep element at
Classification/src/datasets/dataset.py:301
↓ 2 callersFunctionpipeline_factory
For the task specified in the configuration returns the corresponding combination of Dataset class, collate function and Runner class.
Classification/src/running.py:32
↓ 2 callersFunctionplot_confusion_matrix
Plot confusion matrix in a separate window
Classification/src/utils/analysis.py:177
↓ 2 callersFunctionprint_confusion_matrix
Print confusion matrix as text to terminal
Classification/src/utils/analysis.py:191
↓ 2 callersMethodread_data
Reads a single .csv, which typically contains a day of datasets of various weld sessions.
Classification/src/datasets/data.py:439
↓ 2 callersMethodsave_checkpoint
(self, val_loss, model, path)
Zero-shot_Learning/utils/tools.py:69
↓ 2 callersMethodsave_checkpoint
(self, val_loss, model, path)
Zero-shot_Learning/utils/tools_tsf.py:58
next →1–100 of 1,009, ranked by callers