MCPcopy Create free account

hub / github.com/JhuoW/ERIC / functions

Functions241 in github.com/JhuoW/ERIC

Methodget_all_validation
(self)
DataHelper/CustomDataset.py:91
Methodget_coefs
(self, x)
model/layers.py:98
Methodget_coefs
(self, x)
model/layers.py:157
Methodget_data_mask
(self, idx = None)
DataHelper/DatasetLocal.py:25
Methodget_dataset_folder_name
(self)
DataHelper/simgnn_utils.py:46
Functionget_device
(cuda_id: int)
utils/utils.py:90
Functionget_eval_result
(self, labels, pred_l, loss)
training_procedure/evaluate.py:14
Methodget_gids
(self)
DataHelper/simgnn_utils.py:79
Methodget_gids
(self)
DataHelper/simgnn_utils.py:105
Functionget_negative_expectation
Computes the negative part of a divergence / difference. Args: q_samples: Negative samples. measure: Measure to compute for.
utils/gan_losses.py:55
Functionget_save_path
()
DataHelper/simgnn_utils.py:319
Functiongetneighborslst
(data: Data)
utils/utils.py:85
Functionhomophily
(edge_index, y, method: str = 'edge')
utils/utils.py:59
Functioninit
(self, dataset)
training_procedure/prepare.py:38
Methodinput_dim
(self)
DataHelper/simgnn_utils.py:182
Methodinput_dim
(self)
DataHelper/simgnn_utils.py:201
Methodinput_dim
(self)
DataHelper/simgnn_utils.py:221
Methodload
(self,config)
DataHelper/DatasetLocal.py:37
Functionload_model
(config, dataset_name, model)
utils/utils.py:302
Functionload_result
(dataset, model, result_folder="../GEDResults", sim=None, sim_mat=None, dist_mat=None, row_graphs=None,
DataHelper/simgnn_utils.py:617
Methodload_val_train_pairs
(self)
DataHelper/DatasetLocal.py:195
Methodmat
(self, metric, norm)
DataHelper/simgnn_utils.py:469
Methodmat
(self, metric, norm)
DataHelper/simgnn_utils.py:541
Methodmodel
:return: The model name.
DataHelper/simgnn_utils.py:365
Functionplot_embeddings_for_gs_by_glabel
(embs, test_gs, train_gs, extra_dir)
exp/exp.py:280
Functionprepare_model
(self, dataset: DatasetLocal)
training_procedure/prepare.py:18
Functionprepare_train
(self, model)
training_procedure/prepare.py:8
Methodprint_dataset_information
(self)
DataHelper/dataset_helper.py:27
Functionrandom_permute
Randomly permutes a tensor. Args: X: Input tensor. Returns: torch.Tensor
utils/misc.py:24
Methodranking_mat
:param norm: :param one_based: :return: a m by n matrix representing the ranking result. Note it is differen
DataHelper/simgnn_utils.py:481
Functionsave
(filepath, obj)
DataHelper/simgnn_utils.py:328
Methodsim_mat
(self, sim_kernel, yeta, scale, norm)
DataHelper/simgnn_utils.py:395
Methodsort_id_mat
(self, norm)
DataHelper/simgnn_utils.py:549
Functionsparse_mx_to_torch_sparse_tensor
Convert a scipy sparse matrix to a torch sparse tensor.
utils/utils.py:127
Methodtime
(self, qid, gid)
DataHelper/simgnn_utils.py:535
Methodtime_mat
(self)
DataHelper/simgnn_utils.py:466
Methodtime_mat
(self)
DataHelper/simgnn_utils.py:538
Methodtop_k_ids
:param qid: query id (0-indexed). :param k: :param norm: :param inclusive: whether to be tie inclusive or not.
DataHelper/simgnn_utils.py:398
Functiontrain
(self, graph_batch, model, loss_func, optimizer, target, dataset = None)
training_procedure/train.py:6
Functionvisualize_embeddings_binary
(args, testing_graphs, trainval_graphs, model: GSC, norm = True, perplexity = None)
exp/exp.py:331
Functionvisualize_embeddings_gradual
(args, testing_graphs, trainval_graphs, model: GSC, plot_max_num=np.inf, concise=False , sort = True, perplex
exp/exp.py:152
← previous201–241 of 241, ranked by callers