Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dawnranger/IDEC-pytorch
/ functions
Functions
13 in github.com/dawnranger/IDEC-pytorch
⨍
Functions
13
◇
Types & classes
3
↓ 1 callers
Method
__init__
(self, n_enc_1, n_enc_2, n_enc_3, n_dec_1, n_dec_2, n_dec_3, n_input, n_z)
idec.py:27
↓ 1 callers
Function
cluster_acc
Calculate clustering accuracy. Require scikit-learn installed # Arguments y: true labels, numpy.array with shape `(n_samples,)`
utils.py:46
↓ 1 callers
Function
load_mnist
(path='./data/mnist.npz')
utils.py:14
↓ 1 callers
Method
pretrain
(self, path='')
idec.py:94
↓ 1 callers
Function
pretrain_ae
pretrain autoencoder
idec.py:117
↓ 1 callers
Function
target_distribution
(q)
idec.py:112
↓ 1 callers
Function
train_idec
()
idec.py:143
Method
__getitem__
(self, idx)
utils.py:36
Method
__init__
(self, n_enc_1, n_enc_2, n_enc_3, n_dec_1,
idec.py:65
Method
__init__
(self)
utils.py:30
Method
__len__
(self)
utils.py:33
Method
forward
(self, x)
idec.py:45
Method
forward
(self, x)
idec.py:101