Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SubmissionsIn/DEMVC
/ functions
Functions
24 in github.com/SubmissionsIn/DEMVC
⨍
Functions
24
◇
Types & classes
3
↓ 2 callers
Method
__init__
(self, filters=[32, 64, 128, 10], # view=2, n_clusters
DEMVC.py:189
↓ 2 callers
Function
_make_data_and_model
(args)
main.py:14
↓ 2 callers
Method
compile
(self, optimizer='sgd', loss=['kld', 'mse'], loss_weights=[0.1, 1.0])
DEMVC.py:304
↓ 2 callers
Method
fit
(self, arg, x, y, maxiter=2e4, batch_size=256, tol=1e-3, UpdateCoo=200, save_dir='./results/tmp')
DEMVC.py:311
↓ 2 callers
Method
load_weights
(self, weights)
DEMVC.py:277
↓ 2 callers
Method
target_distribution
(q)
DEMVC.py:299
↓ 1 callers
Function
BDGP
()
Load_data.py:90
↓ 1 callers
Function
FAE
(dims, act='relu', view=1)
DEMVC.py:20
↓ 1 callers
Function
Get_MNIST_USPS_COMIC
()
Load_data.py:18
↓ 1 callers
Function
MAE
(view=2, filters=[32, 64, 128, 10], view_shape = [1, 2, 3])
DEMVC.py:48
↓ 1 callers
Function
load_data_conv
(dataset)
Load_data.py:101
↓ 1 callers
Method
predict_label
(self, x)
DEMVC.py:280
↓ 1 callers
Method
pretrain
(self, x, y, optimizer='adam', epochs=200, batch_size=256, save_dir='results/temp', verbose=
DEMVC.py:231
↓ 1 callers
Function
test
(args)
main.py:80
↓ 1 callers
Function
train
(args)
main.py:44
↓ 1 callers
Method
train_on_batch
(self, xin, yout, sample_weight=None)
DEMVC.py:307
Method
__init__
(self, n_clusters, weights=None, alpha=1.0, **kwargs)
DEMVC.py:146
Method
__init__
(self, x, y, flag=1)
DEMVC.py:243
Function
acc
Calculate clustering accuracy. Require scikit-learn installed # Arguments y: true labels, numpy.array with shape `(n_samples,)`
Nmetrics.py:9
Method
build
(self, input_shape)
DEMVC.py:155
Method
call
student t-distribution, as same as used in t-SNE algorithm. q_ij = 1/(1+dist(x_i, u_j)^2), then normalize it. Arguments:
DEMVC.py:165
Method
compute_output_shape
(self, input_shape)
DEMVC.py:178
Method
get_config
(self)
DEMVC.py:182
Method
on_epoch_end
(self, epoch, logs=None)
DEMVC.py:249