MCPcopy Create free account

hub / github.com/boyangumn/DCN-New / functions

Functions173 in github.com/boyangumn/DCN-New

↓ 1 callersFunctiontest_SdA
Demonstrates how to train and test a stochastic denoising autoencoder. This is demonstrated on MNIST. :type learning_rate: float :p
Theano_example_code/SdA.py:329
↓ 1 callersFunctiontest_cA
This demo is tested on MNIST :type learning_rate: float :param learning_rate: learning rate used for training the contracting
Theano_example_code/cA.py:231
↓ 1 callersFunctiontest_dA
This demo is tested on MNIST :type learning_rate: float :param learning_rate: learning rate used for training the DeNosing
Theano_example_code/dA.py:263
↓ 1 callersFunctiontest_mlp
Demonstrate stochastic gradient descent optimization for a multilayer perceptron This is demonstrated on MNIST. :type learning_rate
Theano_example_code/mlp.py:201
↓ 1 callersFunctiontest_rbm
Demonstrate how to train and afterwards sample from it using Theano. This is demonstrated on MNIST. :param learning_rate: learning rate
Theano_example_code/rbm.py:363
↓ 1 callersFunctiontest_rnnrbm
(batch_size=100, num_epochs=200)
Theano_example_code/rnnrbm.py:289
↓ 1 callersMethodtrain
Train the RNN-RBM via stochastic gradient descent (SGD) using MIDI files converted to piano-rolls. files : list of strings
Theano_example_code/rnnrbm.py:231
↓ 1 callersMethodtrain
(self, x, y, window_size, learning_rate)
Theano_example_code/rnnslu.py:245
↓ 1 callersFunctiontrain_lstm
( dim_proj=128, # word embeding dimension and LSTM number of hidden units. patience=10, # Number of
Theano_example_code/lstm.py:448
↓ 1 callersFunctionzipp
When we reload the model. Needed for the GPU stuff.
Theano_example_code/lstm.py:58
Method__init__
(self, path='.')
mnist_loader.py:18
Method__init__
Initialize the dA2 class by specifying the number of visible units (the dimension d of the input ), the number of hidden units ( the
multi_layer_km.py:32
Method__init__
( self, numpy_rng, theano_rng=None, input = None, n_ins=784, l
multi_layer_km.py:249
Method__init__
Constructs and compiles Theano functions for training and sequence generation. n_hidden : integer Number of hidden units
Theano_example_code/rnnrbm.py:181
Method__init__
RBM constructor. Defines the parameters of the model along with basic operations for inferring hidden from visible (and vice-versa),
Theano_example_code/rbm.py:32
Method__init__
Initialize the dA class by specifying the number of visible units (the dimension d of the input ), the number of hidden units ( the d
Theano_example_code/dA.py:78
Method__init__
This class is made to support a variable number of layers. :type numpy_rng: numpy.random.RandomState :param numpy_rng: numpy random n
Theano_example_code/DBN.py:30
Method__init__
This class is made to support a variable number of layers. :type numpy_rng: numpy.random.RandomState :param numpy_rng: numpy random
Theano_example_code/SdA.py:62
Method__init__
Initialize the cA class by specifying the number of visible units (the dimension d of the input), the number of hidden units (the dime
Theano_example_code/cA.py:82
Method__init__
Allocate a LeNetConvPoolLayer with shared variable internal parameters. :type rng: numpy.random.RandomState :param rng: a ra
Theano_example_code/convolutional_mlp.py:45
Method__init__
Typical hidden layer of a MLP: units are fully-connected and have sigmoidal activation function. Weight matrix W is of shape (n_in,n_
Theano_example_code/mlp.py:42
Method__init__
Initialize the parameters for the multilayer perceptron :type rng: numpy.random.RandomState :param rng: a random number generator use
Theano_example_code/mlp.py:126
Method__init__
nh :: dimension of the hidden layer nc :: number of classes ne :: number of word embeddings in the vocabulary de :: d
Theano_example_code/rnnslu.py:155
Method__init__
Initialize the parameters of the logistic regression :type input: theano.tensor.TensorType :param input: symbolic variable that desc
Theano_example_code/logistic_cg.py:60
Method__init__
Initialize the parameters of the logistic regression :type input: theano.tensor.TensorType :param input: symbolic variable that desc
Theano_example_code/logistic_sgd.py:61
Method__init__
(self, **kwargs)
Theano_example_code/hmc/hmc.py:324
Function_step
(m_, x_, h_, c_)
Theano_example_code/lstm.py:174
Functionadadelta
An adaptive learning rate optimizer Parameters ---------- lr : Theano SharedVariable Initial learning rate tpramas: Thea
Theano_example_code/lstm.py:241
Functionarguments
Returns tuple containing dictionary of calling function's named arguments and a list of calling function's unnamed positional arguments.
multi_layer_km.py:773
Functionbatch_emc
Function to perform Entropy-Minimization-Clustering.
multi_layer_km.py:738
Functionbatch_mmc
Function to perform Maximal-Margin-Clustering.
multi_layer_km.py:765
Functioncallback
(theta_value)
Theano_example_code/logistic_cg.py:257
Methoddisplay
(cls, img, width=28, threshold=200)
mnist_loader.py:81
Functiondrop
Implement dropout
multi_layer_km.py:607
Functionexperiment
(state, channel)
Theano_example_code/convolutional_mlp.py:348
Methodfinetune_cost_updates
This function computes the cost and the updates .
multi_layer_km.py:506
Methodfinetune_cost_updates
This function computes the cost and the updates.
multi_layer_km.py:562
Methodfinetune_cost_updates
(self, center, mu, learning_rate)
multi_layer_km.py:603
Functiongaussian_energy
(x)
Theano_example_code/hmc/test_hmc.py:28
Methodget_hidden_values
Computes the values of the hidden layer Removed the nonlinearity
multi_layer_km.py:219
Methodget_reconstructed_input
Computes the reconstructed input given the values of the hidden layer
multi_layer_km.py:230
Methodgibbs_hvh
This function implements one step of Gibbs sampling, starting from the hidden state
Theano_example_code/rbm.py:192
Methodgibbs_vhv
This function implements one step of Gibbs sampling, starting from the visible state
Theano_example_code/rbm.py:200
Functionleapfrog
Inside loop of Scan. Performs one step of leapfrog update, using Hamiltonian dynamics. Parameters ----------
Theano_example_code/hmc/hmc.py:108
Functionload_data
Load the dataset, perform shuffling
multi_layer_km.py:620
Methodload_testing
(self)
mnist_loader.py:33
Methodload_training
(self)
mnist_loader.py:42
Functionlstm_layer
(tparams, state_below, options, prefix='lstm', mask=None)
Theano_example_code/lstm.py:160
Methodnew_from_shared_positions
:param shared_positions: theano ndarray shared var with many particle [initial] positions :param energy_fn:
Theano_example_code/hmc/hmc.py:328
Functionparam_init_lstm
Init the LSTM parameter: :see: init_params
Theano_example_code/lstm.py:138
Functionpred_probs
If you want to use a trained model, this is useful to compute the probabilities of new examples.
Theano_example_code/lstm.py:406
Functionpredict
An example of how to load a trained model and use it to predict labels.
Theano_example_code/logistic_sgd.py:449
Methodrecurrence
(x_t, h_tm1)
Theano_example_code/rnnslu.py:203
Functionrmsprop
A variant of SGD that scales the step size by running average of the recent step norms. Parameters ---------- lr : Theano Share
Theano_example_code/lstm.py:302
Functionsgd
Stochastic Gradient Descent :note: A more complicated version of sgd then needed. This is done like that for adadelta and rmsprop.
Theano_example_code/lstm.py:213
Functionspeed
This fonction modify the configuration theano and don't restore it!
Theano_example_code/test.py:85
Functiontest_SdA
()
Theano_example_code/test.py:44
Functiontest_convolutional_mlp
()
Theano_example_code/test.py:36
Functiontest_dA
()
Theano_example_code/test.py:40
Functiontest_dbn
()
Theano_example_code/test.py:48
Functiontest_hmc
()
Theano_example_code/hmc/test_hmc.py:63
Functiontest_logistic_cg
()
Theano_example_code/test.py:22
Functiontest_logistic_sgd
()
Theano_example_code/test.py:18
Functiontest_lstm
()
Theano_example_code/test.py:81
Functiontest_mlp
()
Theano_example_code/test.py:32
Functiontest_rbm
()
Theano_example_code/test.py:52
Functiontest_rnnrbm
()
Theano_example_code/test.py:57
Functiontest_rnnslu
()
Theano_example_code/test.py:61
Methodtest_score
()
Theano_example_code/DBN.py:273
Methodtest_score
()
Theano_example_code/SdA.py:323
Functiontrain_fn_grad
(theta_value)
Theano_example_code/logistic_cg.py:247
Methodvalid_score
()
Theano_example_code/DBN.py:269
Methodvalid_score
()
Theano_example_code/SdA.py:319
← previous101–173 of 173, ranked by callers