MCPcopy Create free account

hub / github.com/Anoise/WTFlib / functions

Functions416 in github.com/Anoise/WTFlib

↓ 24 callersMethodabs
(self, x, y)
LDPS_Graph/layers/utils.py:358
↓ 23 callersMethod__init__
(self, args, meta_shape=None, cross_shape=None, growth_rate=12, num_init_features=12, bn_size=4, drop_rate=0.2
LDPS_Graph/models/Mvstgn.py:595
↓ 12 callersMethodcuda
(self)
LDPS_Graph/layers/utils.py:313
↓ 10 callersMethodcpu
(self)
LDPS_Graph/layers/utils.py:317
↓ 9 callersMethod__init__
(self, in_channels, out_channels, K, bias=True)
LDPS_Graph/layers/PatchTST_backbone.py:315
↓ 9 callersMethod__init__
(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1)
LDPS_Graph/layers/Embed.py:106
↓ 8 callersMethodencoder
(self, inputs, adj_mx)
LDPS_Graph/models/dydcrnn_arch/dydcrnn.py:94
↓ 7 callersMethod__init__
(self, attn_layers, conv_layers=None, norm_layer=None)
LDPS_Graph/layers/Autoformer_EncDec.py:105
↓ 7 callersMethodstep
(self, input, Hidden_State, Cell_State, predefined_A, type='encoder', i=None)
LDPS_Graph/models/dydgcrn_arch/dydgcrn.py:121
↓ 6 callersMethoddecoder
(self, encoder_hidden_state, adj_mx, labels=None, batches_seen=None)
LDPS_Graph/models/dydcrnn_arch/dydcrnn.py:102
↓ 5 callersFunctiontime_features
(dates, freq='h')
LDPS_Graph/utils/timefeatures.py:133
↓ 4 callersMethod__init__
(self, k=3, alpha=64, L=0, c=1, base='legendre',
LDPS_Graph/layers/MultiWaveletCorrelation.py:297
↓ 4 callersMethod__init__
(self, attn_layers, conv_layers=None, norm_layer=None)
LDPS_Graph/layers/Transformer_EncDec.py:54
↓ 4 callersMethod__init__
(self, configs)
LDPS_Graph/models/Stat_models.py:103
↓ 4 callersMethod__init__
(self, adj_mx, **model_kwargs)
LDPS_Graph/models/dcrnn_arch/dcrnn_arch.py:84
↓ 4 callersMethod__init__
(self, args)
LDPS_Graph/models/dydcrnn_arch/dydcrnn.py:83
↓ 4 callersFunctioncalculate_random_walk_matrix
(adj_mx)
LDPS_Graph/models/dydcrnn_arch/dcrnn_utils.py:100
↓ 4 callersMethodpredict
(self, setting, load=False)
LDPS_Graph/exp/exp_main2.py:400
↓ 4 callersFunctionpsi
(psi1, psi2, i, inp)
LDPS_Graph/layers/utils.py:133
↓ 4 callersMethodtransform
(self, data)
LDPS_Graph/utils/tools.py:86
↓ 3 callersMethod__init__
(self, d=2, p=2, size_average=True, reduction=True)
LDPS_Graph/layers/utils.py:347
↓ 3 callersMethod__init__
(self, c_in, c_out, dropout, support_len=3, order=2)
LDPS_Graph/models/gwnet_arch/gwnet.py:32
↓ 3 callersMethod_get_data
(self, test=False)
LDPS_Graph/exp/exp_main2.py:61
↓ 3 callersFunctionget_frequency_modes
get modes on frequency domain: 'random' means sampling randomly; 'else' means sampling the lowest modes;
LDPS_Graph/layers/FourierCorrelation.py:10
↓ 3 callersMethodhard_sigmoid
(self, x)
LDPS_Graph/models/Mvstgn.py:48
↓ 3 callersMethodinverse_transform
(self, data)
LDPS_Graph/data_provider/data_loader.py:395
↓ 3 callersMethodreturn_result
(self)
LDPS_Graph/models/Stat_models.py:29
↓ 3 callersMethodtrain
(self, setting)
LDPS_Graph/exp/exp_main2.py:165
↓ 3 callersMethodwavelet_transform
(self, x)
LDPS_Graph/layers/MultiWaveletCorrelation.py:191
↓ 2 callersFunctionCoord1dPosEncoding
(q_len, exponential=False, normalize=True)
LDPS_Graph/layers/PatchTST_layers.py:89
↓ 2 callersFunctionCoord2dPosEncoding
(q_len, d_model, exponential=False, normalize=True, eps=1e-3, verbose=False)
LDPS_Graph/layers/PatchTST_layers.py:74
↓ 2 callersFunctionMSE
(pred, true)
LDPS_Graph/utils/metrics.py:19
↓ 2 callersMethod__init__
(self, mask_flag=True, factor=5, scale=None, attention_dropout=0.1, output_attention=False)
LDPS_Graph/layers/SelfAttention_Family.py:15
↓ 2 callersMethod__init__
(self, *dims, contiguous=False)
LDPS_Graph/layers/PatchTST_layers.py:8
↓ 2 callersMethod__init__
(self, configs)
LDPS_Graph/models/DLinear.py:42
↓ 2 callersMethod__init__
(self, configs)
LDPS_Graph/models/DecomLinearV2.py:57
↓ 2 callersMethod__init__
(self, dims, gdep, dropout, alpha, beta, gamma, type=None)
LDPS_Graph/models/dydgcrn_arch/dgcrn_layer.py:29
↓ 2 callersMethod_concat
(x, x_)
LDPS_Graph/models/dcrnn_arch/dcrnn_cell.py:81
↓ 2 callersMethod_concat
(x, x_)
LDPS_Graph/models/dydcrnn_arch/dydcrnn_cell.py:110
↓ 2 callersFunctionadjust_learning_rate
(optimizer, scheduler, epoch, args, printout=True)
LDPS_Graph/utils/tools.py:9
↓ 2 callersFunctionasym_adj
Asymmetrically normalize adjacency matrix.
LDPS_Graph/models/dydgcrn_arch/dydgcrn.py:14
↓ 2 callersFunctioncalculate_scaled_laplacian
(adj_mx, lambda_max=2, undirected=True)
LDPS_Graph/models/dydcrnn_arch/dcrnn_utils.py:114
↓ 2 callersFunctioncount_parameters
(model)
LDPS_Graph/models/dcrnn_arch/dcrnn_arch.py:8
↓ 2 callersFunctioncount_parameters
(model)
LDPS_Graph/models/dydcrnn_arch/dydcrnn.py:8
↓ 2 callersMethoddecompose
(self, y)
LDPS_Graph/models/DecomLinear.py:78
↓ 2 callersMethoddecompose
(self, input_length)
LDPS_Graph/models/DecomLinearV2.py:112
↓ 2 callersMethodget_biases
(self, length, bias_start=0.0)
LDPS_Graph/models/dcrnn_arch/dcrnn_cell.py:23
↓ 2 callersMethodget_biases
(self, length, bias_start=0.0)
LDPS_Graph/models/dydcrnn_arch/dydcrnn_cell.py:25
↓ 2 callersFunctionget_filter
(base, k)
LDPS_Graph/layers/utils.py:131
↓ 2 callersMethodget_weights
(self, shape)
LDPS_Graph/models/dcrnn_arch/dcrnn_cell.py:13
↓ 2 callersMethodget_weights
(self, shape)
LDPS_Graph/models/dydcrnn_arch/dydcrnn_cell.py:15
↓ 2 callersMethodpreprocessing
(self, adj, predefined_A)
LDPS_Graph/models/dydgcrn_arch/dydgcrn.py:116
↓ 2 callersMethodsave_checkpoint
(self, val_loss, model, path)
LDPS_Graph/utils/tools.py:67
↓ 2 callersMethodtest
(self, setting, test=1)
LDPS_Graph/exp/exp_main2.py:292
↓ 2 callersMethodtransform
(self, data)
LDPS_Graph/models/dydcrnn_arch/dcrnn_utils.py:60
↓ 2 callersMethodvali
(self, vali_loader, criterion)
LDPS_Graph/exp/exp_main2.py:110
↓ 1 callersFunctionCORR
(pred, true)
LDPS_Graph/utils/metrics.py:8
↓ 1 callersFunctionMAE
(pred, true)
LDPS_Graph/utils/metrics.py:15
↓ 1 callersFunctionMAPE
(pred, true)
LDPS_Graph/utils/metrics.py:27
↓ 1 callersFunctionMSPE
(pred, true)
LDPS_Graph/utils/metrics.py:31
↓ 1 callersFunctionPositionalEncoding
(q_len, d_model, normalize=True)
LDPS_Graph/layers/PatchTST_layers.py:61
↓ 1 callersFunctionRMSE
(pred, true)
LDPS_Graph/utils/metrics.py:23
↓ 1 callersFunctionRSE
(pred, true)
LDPS_Graph/utils/metrics.py:4
↓ 1 callersMethod__init__
(self, period=None, scale=0.45, attention_dropout=0., output_attention=False, padding=True)
LDPS_Graph/layers/PeriodAttention.py:14
↓ 1 callersMethod__init__
(self, in_channels, out_channels, seq_len, modes=0, mode_select_method='random')
LDPS_Graph/layers/FourierCorrelation.py:29
↓ 1 callersMethod__init__
(self, mask_flag=True, factor=1, scale=None, attention_dropout=0.1, output_attention=False)
LDPS_Graph/layers/AutoCorrelation.py:18
↓ 1 callersMethod__read_data__
(self)
LDPS_Graph/data_provider/data_loader.py:43
↓ 1 callersMethod__read_data__
(self)
LDPS_Graph/data_provider/data_loader.py:131
↓ 1 callersMethod__read_data__
(self)
LDPS_Graph/data_provider/data_loader.py:221
↓ 1 callersMethod__read_data__
(self)
LDPS_Graph/data_provider/data_loader.py:321
↓ 1 callersMethod__reset_parameters
(self)
LDPS_Graph/layers/PatchTST_backbone.py:329
↓ 1 callersMethod_acquire_device
(self)
LDPS_Graph/exp/exp_basic.py:17
↓ 1 callersMethod_build_model
(self)
LDPS_Graph/exp/exp_basic.py:13
↓ 1 callersMethod_build_sparse_matrix
(L)
LDPS_Graph/models/dydcrnn_arch/dydcrnn_cell.py:64
↓ 1 callersMethod_compute_sampling_threshold
(self, batches_seen)
LDPS_Graph/models/dcrnn_arch/dcrnn_arch.py:93
↓ 1 callersMethod_compute_sampling_threshold
(self, batches_seen)
LDPS_Graph/models/dydcrnn_arch/dydcrnn.py:90
↓ 1 callersMethod_compute_sampling_threshold
(self, batches_seen)
LDPS_Graph/models/dydgcrn_arch/dydgcrn.py:292
↓ 1 callersMethod_denormalize
(self, x)
LDPS_Graph/layers/RevIN.py:52
↓ 1 callersMethod_gconv
(self, inputs, state, output_size, bias_start=0.0)
LDPS_Graph/models/dcrnn_arch/dcrnn_cell.py:98
↓ 1 callersMethod_gconv
(self, inputs, state, output_size, adj_mx, bias_start=0.0)
LDPS_Graph/models/dydcrnn_arch/dydcrnn_cell.py:127
↓ 1 callersMethod_get_initial_context
(self, V, L_Q)
LDPS_Graph/layers/SelfAttention_Family.py:76
↓ 1 callersMethod_get_sinusoid_encoding_table
(self, n_position, d_hid)
LDPS_Graph/models/Mvstgn.py:581
↓ 1 callersMethod_get_statistics
(self, x)
LDPS_Graph/layers/RevIN.py:33
↓ 1 callersMethod_get_supports
(self, adj_mx)
LDPS_Graph/models/dydcrnn_arch/dydcrnn_cell.py:72
↓ 1 callersMethod_init_params
(self)
LDPS_Graph/layers/RevIN.py:28
↓ 1 callersFunction_legendre
(k, x)
LDPS_Graph/layers/utils.py:11
↓ 1 callersMethod_normalize
(self, x)
LDPS_Graph/layers/RevIN.py:41
↓ 1 callersMethod_partition_edges
(self,idxes)
LDPS_Graph/data_provider/gdata_loader2.py:63
↓ 1 callersMethod_partition_targets_and_features
(self,idxes)
LDPS_Graph/data_provider/gdata_loader2.py:79
↓ 1 callersMethod_prob_QK
(self, Q, K, sample_k, n_top)
LDPS_Graph/layers/SelfAttention_Family.py:53
↓ 1 callersMethod_re_partition_graph
(self,time_index)
LDPS_Graph/data_provider/gdata_loader2.py:92
↓ 1 callersMethod_select_criterion
(self)
LDPS_Graph/exp/exp_main2.py:103
↓ 1 callersMethod_select_optimizer
(self)
LDPS_Graph/exp/exp_main2.py:97
↓ 1 callersMethod_update_context
(self, context_in, V, scores, index, L_Q, attn_mask)
LDPS_Graph/layers/SelfAttention_Family.py:87
↓ 1 callersFunctioncalculate_normalized_laplacian
# L = D^-1/2 (D-A) D^-1/2 = I - D^-1/2 A D^-1/2 # D = diag(A 1) :param adj: :return:
LDPS_Graph/models/dydcrnn_arch/dcrnn_utils.py:84
↓ 1 callersMethodcompl_mul1d
(self, x, weights)
LDPS_Graph/layers/MultiWaveletCorrelation.py:275
↓ 1 callersMethodcompl_mul1d
(self, input, weights)
LDPS_Graph/layers/FourierCorrelation.py:45
↓ 1 callersMethodcreate_pretrain_head
(self, head_nf, vars, dropout)
LDPS_Graph/layers/PatchTST_backbone.py:86
↓ 1 callersMethoddecoder
(self, encoder_hidden_state, labels=None, batches_seen=None)
LDPS_Graph/models/dcrnn_arch/dcrnn_arch.py:105
↓ 1 callersMethodencoder
(self, inputs)
LDPS_Graph/models/dcrnn_arch/dcrnn_arch.py:97
next →1–100 of 416, ranked by callers