Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfdazac/dgi
/ functions
Functions
61 in github.com/dfdazac/dgi
⨍
Functions
61
◇
Types & classes
10
↓ 5 callers
Function
dot
Wrapper for tf.matmul (sparse vs dense).
gcn/layers.py:30
↓ 4 callers
Method
__init__
(self, **kwargs)
gcn/layers.py:54
↓ 4 callers
Method
build
Wrapper for _build()
gcn/models.py:195
↓ 4 callers
Method
load
(self, sess=None)
gcn/models.py:76
↓ 4 callers
Function
preprocess_adj
Preprocessing of adjacency matrix for simple GCN model and conversion to tuple representation.
gcn/utils.py:140
↓ 3 callers
Method
__init__
(self, placeholders, input_dim, **kwargs)
gcn/models.py:86
↓ 3 callers
Method
_log_vars
(self)
gcn/layers.py:80
↓ 3 callers
Function
glorot
Glorot & Bengio (AISTATS 2010) init.
gcn/inits.py:11
↓ 3 callers
Function
masked_accuracy
Accuracy with masking.
gcn/metrics.py:13
↓ 3 callers
Function
masked_softmax_cross_entropy
Softmax cross-entropy loss with masking.
gcn/metrics.py:4
↓ 3 callers
Function
sample_mask
Create mask.
gcn/utils.py:17
↓ 3 callers
Function
sparse_dropout
Dropout for sparse tensors.
gcn/layers.py:21
↓ 3 callers
Function
sparse_to_tuple
Convert sparse matrix to tuple representation.
gcn/utils.py:101
↓ 3 callers
Function
zeros
All zeros.
gcn/inits.py:18
↓ 2 callers
Function
construct_feed_dict
Construct feed dictionary.
gcn/utils.py:146
↓ 2 callers
Function
evaluate
(features, support, labels, mask, placeholders)
gcn/train.py:88
↓ 2 callers
Function
normalize_adj
Symmetrically normalize adjacency matrix.
gcn/utils.py:130
↓ 2 callers
Function
to_tuple
(mx)
gcn/utils.py:103
↓ 1 callers
Method
_accuracy
(self)
gcn/models.py:66
↓ 1 callers
Method
_accuracy
(self)
gcn/models.py:236
↓ 1 callers
Method
_build
(self)
gcn/models.py:35
↓ 1 callers
Method
_call
(self, inputs)
gcn/layers.py:68
↓ 1 callers
Method
_loss
(self)
gcn/models.py:63
↓ 1 callers
Method
_loss
(self)
gcn/models.py:229
↓ 1 callers
Function
chebyshev_polynomials
Calculate Chebyshev polynomials up to order k. Return a list of sparse matrices (tuple representation).
gcn/utils.py:169
↓ 1 callers
Function
chebyshev_recurrence
(t_k_minus_one, t_k_minus_two, scaled_lap)
gcn/utils.py:182
↓ 1 callers
Function
get_layer_uid
Helper function, assigns unique layer IDs.
gcn/layers.py:11
↓ 1 callers
Function
load_data
Loads input data from gcn/data directory ind.dataset_str.x => the feature vectors of the training instances as scipy.sparse.csr.csr_matrix o
gcn/utils.py:24
↓ 1 callers
Function
load_embeddings
(embeddings_path)
gcn/utils.py:92
↓ 1 callers
Function
parse_index_file
Parse index file.
gcn/utils.py:9
↓ 1 callers
Function
preprocess_features
Row-normalize feature matrix and convert to tuple representation
gcn/utils.py:120
Method
__call__
(self, inputs)
gcn/layers.py:71
Method
__init__
(self, input_dim, output_dim, placeholders, dropout=0., sparse_inputs=False, act=tf.nn.relu,
gcn/layers.py:87
Method
__init__
(self, input_dim, output_dim, placeholders, dropout=0., sparse_inputs=False, act=tf.nn.relu,
gcn/layers.py:134
Method
__init__
(self, input_dim, placeholders, dropout=0., sparse_inputs=False, act=tf.nn.sigmoid, bias=Fals
gcn/layers.py:192
Method
__init__
(self, **kwargs)
gcn/layers.py:238
Method
__init__
(self, **kwargs)
gcn/models.py:9
Method
__init__
(self, placeholders, input_dim, **kwargs)
gcn/models.py:133
Method
__init__
(self, placeholders, input_dim, **kwargs)
gcn/models.py:181
Method
__init__
(self, placeholders, input_dim, **kwargs)
gcn/models.py:242
Method
_accuracy
(self)
gcn/models.py:108
Method
_accuracy
(self)
gcn/models.py:155
Method
_accuracy
(self)
gcn/models.py:264
Method
_build
(self)
gcn/models.py:112
Method
_build
(self)
gcn/models.py:159
Method
_build
(self)
gcn/models.py:268
Method
_call
(self, inputs)
gcn/layers.py:113
Method
_call
(self, inputs)
gcn/layers.py:163
Method
_call
(self, inputs)
gcn/layers.py:218
Method
_call
(self, inputs)
gcn/layers.py:241
Method
_loss
(self)
gcn/models.py:99
Method
_loss
(self)
gcn/models.py:146
Method
_loss
(self)
gcn/models.py:255
Method
build
Wrapper for _build()
gcn/models.py:38
Function
ones
All ones.
gcn/inits.py:24
Method
predict
(self)
gcn/models.py:60
Method
predict
(self)
gcn/models.py:128
Method
predict
(self)
gcn/models.py:176
Method
predict
(self)
gcn/models.py:276
Method
save
(self, sess=None)
gcn/models.py:69
Function
uniform
Uniform init.
gcn/inits.py:5