Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anuragranj/coma
/ functions
Functions
151 in github.com/anuragranj/coma
⨍
Functions
151
◇
Types & classes
22
Method
b2relu
Bias and ReLU. One bias per vertex per filter.
lib/models.py:1243
Function
baseline
Train various classifiers to get a baseline.
lib/utils.py:223
Function
chebyshev
Return T_k X where T_k are the Chebyshev polynomials of order up to K. Complexity is O(KMN).
lib/graph.py:241
Method
chebyshev
(x)
lib/models.py:560
Method
chebyshev2
Filtering with Chebyshev interpolation Implementation: numpy. Data: x of size N x M x F N: number of sig
lib/models.py:915
Method
chebyshev5
(self, x, L, Fout, K)
lib/models.py:944
Method
chebyshev5
(self, x, L, Fout, K)
lib/models.py:1205
Method
clean_text
(self, num='substitute')
lib/utils.py:14
Function
coarsen
Coarsen a graph, represented by its adjacency matrix A, at multiple levels.
lib/coarsening.py:5
Method
concat
(xt, x)
lib/models.py:692
Method
concat
(x, x_)
lib/models.py:958
Method
data_info
(self, show_classes=False)
lib/utils.py:51
Function
distance_lshforest
Return an approximation of the k-nearest cosine distances.
lib/graph.py:44
Function
distance_scipy_spatial
Compute exact pairwise distances.
lib/graph.py:22
Function
distance_sklearn_metrics
Compute exact pairwise distances.
lib/graph.py:33
Method
embed
Embed the vocabulary using pre-trained vectors.
lib/utils.py:127
Method
filter
(xt, k)
lib/models.py:643
Function
generateIdentityDataset
(data_path, save_path)
facemesh.py:260
Function
generate_transform_matrices
Generates len(factors) meshes, each of them is scaled by factors[i] and computes the transformations between them. Returns: M:
lib/mesh_sampling.py:219
Method
get_var
(self, name)
lib/models.py:149
Function
grid
Return the embedding of a grid graph.
lib/graph.py:10
Function
grid_search
Explore the hyper-parameter space with an exhaustive grid search.
lib/utils.py:250
Method
keep_top_words
Keep in the vocaluary the M words who appear most often.
lib/utils.py:109
Function
lanczos
Given the graph Laplacian and a data matrix, return a data matrix which can be multiplied by the filter coefficients to filter X using the La
lib/graph.py:184
Method
lanczos
(x)
lib/models.py:525
Function
laplacian
Return the Laplacian of the weigth matrix.
lib/graph.py:117
Function
lmax
Upper-bound on the spectrum.
lib/graph.py:139
Method
loss
Adds to the inference model the layers required to generate loss.
lib/models.py:1176
Function
meshPlay
(folder,every=100,wait=0.05)
facemesh.py:116
Method
mpool1
Max pooling of size p. Should be a power of 2.
lib/models.py:988
Method
normalize
Normalize data to unit length.
lib/utils.py:121
Function
perm_tensor
(x, indices)
lib/coarsening.py:255
Function
plot_spectrum
Plot the spectrum of a list of multi-scale Laplacians L.
lib/graph.py:169
Method
poolwT
(self, x, L)
lib/models.py:1249
Method
remove_classes
(self, keep)
lib/utils.py:173
Method
remove_short_documents
Remove a document if it contains less than nwords.
lib/utils.py:94
Function
replace_random_edges
Replace randomly chosen edges by random edges.
lib/graph.py:86
Function
rescale_L
Rescale the Laplacian eigenvalues in [-1,1].
lib/graph.py:232
Method
sample
(self, BATCH_SIZE=64)
facemesh.py:82
Method
save_meshes
(self, filename, meshes)
facemesh.py:91
Method
select_documents
(self)
lib/utils.py:205
Method
show
ids: list of ids to play
facemesh.py:69
Method
show
(s, fontsize=None)
lib/utils.py:298
Method
show_classes_per_doc
Number of classes per document.
lib/utils.py:199
Method
show_doc_per_class
Number of documents per class.
lib/utils.py:189
Method
show_document
(self, i)
lib/utils.py:60
Method
spline
(self, x, L, Fout, K)
lib/models.py:899
Method
test
(s, model, name, params, train_data, train_labels, val_data, val_labels, test_data, test_labels)
lib/utils.py:286
Function
unperm_tensor
(xnew, indices, M)
lib/coarsening.py:262
Method
upool1
Upsampling x
lib/models.py:998
Method
vectorize
(self, **params)
lib/utils.py:44
← previous
101–151 of 151, ranked by callers