MCPcopy Create free account

hub / github.com/Riashat/Active-Learning-Bayesian-Convolutional-Neural-Networks / functions

Functions1,217 in github.com/Riashat/Active-Learning-Bayesian-Convolutional-Neural-Networks

↓ 12,597 callersMethodadd
(self, n, values=[])
ConvNets/keras/utils/generic_utils.py:122
↓ 2,677 callersMethodget
(self, vect, name)
ConvNets/Uncertainty_Comparison/black_box_alpha_BNN/boston_housing/autograd/black_box_alpha.py:25
↓ 2,671 callersMethodappend
(self, callback)
ConvNets/keras/callbacks.py:19
↓ 843 callersMethodfit
Train the model for a fixed number of epochs. Returns a history object. Its `history` attribute is a record of training loss values a
ConvNets/keras/models.py:1128
↓ 813 callersMethodcompile
Configure the learning process. # Arguments optimizer: str (name of optimizer) or optimizer object. See [optimize
ConvNets/keras/models.py:1073
↓ 748 callersMethodevaluate
Compute the loss on some input data, batch by batch. Arguments: see `fit` method.
ConvNets/keras/models.py:1202
↓ 564 callersFunctionl2
(l=0.01)
ConvNets/keras/regularizers.py:62
↓ 373 callersMethodadd
(self, layer)
ConvNets/keras/layers/containers.py:64
↓ 217 callersMethodpredict_stochastic
Generate output predictions for the input samples batch by batch. # Arguments X: the input data, as a numpy array.
ConvNets/keras/models.py:634
↓ 74 callersMethodpredict
Generate output predictions for the input samples batch by batch. Arguments: see `fit` method.
ConvNets/keras/models.py:1216
↓ 66 callersMethodfit
Train the model for a fixed number of epochs. Returns a history object. Its `history` attribute is a record of training loss values a
ConvNets/keras/models.py:493
↓ 65 callersMethodpredict_proba
Generate class probability predictions for the input samples batch by batch. # Arguments X: the input data, as a numpy ar
ConvNets/keras/models.py:651
↓ 55 callersMethodadd_node
Add a node in the graph. It can be connected to multiple inputs, which will first be merged into one tensor according to the mode spec
ConvNets/keras/layers/containers.py:327
↓ 47 callersFunctionsum
Sum of the values in a tensor, alongside the specified axis.
ConvNets/keras/backend/theano_backend.py:145
↓ 44 callersMethodget_input
(self, train=False)
ConvNets/keras/layers/core.py:165
↓ 43 callersMethodget_config
Return the parameters of the layer, as a dictionary.
ConvNets/keras/layers/core.py:242
↓ 43 callersMethodpredict_classes_stochastic
Generate class predictions for the input samples batch by batch. # Arguments X: the input data, as a numpy array.
ConvNets/keras/models.py:686
↓ 39 callersFunctioncheck_single_tensor_operation
(function_name, input_shape, **kwargs)
ConvNets/tests/keras/backend/test_backends.py:10
↓ 39 callersMethodcompile
Configure the learning process. # Arguments optimizer: str (name of optimizer) or optimizer object. See [optimize
ConvNets/keras/models.py:411
↓ 32 callersMethodget_output
(self, train=False)
ConvNets/keras/layers/core.py:162
↓ 25 callersFunctioncheck_layer_output_shape
(layer, input_data)
ConvNets/tests/test_shape_inference.py:10
↓ 24 callersMethodadd_input
Add an input to the graph. # Arguments: name: string. The name of the new input. Must be unique in the graph. input_s
ConvNets/keras/layers/containers.py:292
↓ 24 callersMethodadd_output
Add an output to the graph. This output can merge several node outputs into a single output. # Arguments name: name of t
ConvNets/keras/layers/containers.py:462
↓ 22 callersMethodtrain_ADAM
(self, n_epochs)
ConvNets/Uncertainty_Comparison/black_box_alpha_BNN/boston_housing/theano/black_box_alpha.py:201
↓ 21 callersMethodevaluate
Compute the loss on some input data, batch by batch. # Arguments X: input data, as a numpy array. y: labels, as a num
ConvNets/keras/models.py:705
↓ 21 callersMethodset_weights
Set the weights of the layer. weights: a list of numpy arrays. The number of arrays and their shape must match number
ConvNets/keras/layers/core.py:216
↓ 20 callersMethod__init__
(self, **kwargs)
ConvNets/keras/layers/core.py:35
↓ 20 callersMethodpredict
Generate output predictions for the input samples batch by batch. # Arguments X: the input data, as a numpy array.
ConvNets/keras/models.py:617
↓ 20 callersMethodpredict_classes
Generate class predictions for the input samples batch by batch. # Arguments X: the input data, as a numpy array.
ConvNets/keras/models.py:668
↓ 18 callersMethodpredict
(self, X_test)
ConvNets/Uncertainty_Comparison/deepGP_approxEP-master/numpy/code/AEPDGP.py:54
↓ 17 callersMethodget_config
(self)
ConvNets/keras/layers/convolutional.py:385
↓ 17 callersFunctionslice_X
ConvNets/keras/models.py:57
↓ 16 callersMethodget_params
(self)
ConvNets/keras/layers/core.py:254
↓ 16 callersFunctionget_test_data
classification=True overrides output_shape (i.e. output_shape is set to (1,)) and the output consists in integers in [0, nb_c
ConvNets/keras/utils/test_utils.py:4
↓ 15 callersFunction_runner
(layer)
ConvNets/tests/keras/layers/test_core.py:196
↓ 15 callersMethodupdate
@param current: index of current step @param values: list of tuples (name, value_for_last_step). The progress bar
ConvNets/keras/utils/generic_utils.py:42
↓ 14 callersMethodpredict
(self, X_test)
ConvNets/Uncertainty_Comparison/deepGP_approxEP-master/theano/code/AEPDGP.py:47
↓ 14 callersFunctionstandardize_weights
ConvNets/keras/models.py:103
↓ 13 callersMethodget_config
Return the configuration of the model as a dictionary. To load a model from its configuration, use `keras.models.model_from_c
ConvNets/keras/models.py:338
↓ 13 callersMethodget_output_at
(self, head, train=False)
ConvNets/keras/layers/core.py:1621
↓ 13 callersFunctionmax
(x, axis=None, keepdims=False)
ConvNets/keras/backend/theano_backend.py:137
↓ 13 callersMethodset_param
(self, p)
ConvNets/keras/regularizers.py:6
↓ 12 callersFunctionstandardize_y
(y)
ConvNets/keras/models.py:25
↓ 12 callersMethodtrain
(self, X_train, y_train, X_test, y_test, no_iters, n_per_mb, lrate=0.001, compute_test=False, re
ConvNets/Uncertainty_Comparison/deepGP_approxEP-master/theano/code/AEPDGP.py:255
↓ 12 callersMethodtrain_on_batch
Single gradient update on a batch of samples. Arguments: see `fit` method.
ConvNets/keras/models.py:1229
↓ 11 callersMethod__init__
(self, pool_length=2, stride=None, border_mode='valid', **kwargs)
ConvNets/keras/layers/convolutional.py:350
↓ 11 callersFunction_runner
(init, shape, target_mean=None, target_std=None, target_max=None, target_min=None)
ConvNets/tests/keras/test_initializations.py:10
↓ 11 callersFunctionabs
(x)
ConvNets/keras/backend/theano_backend.py:183
↓ 11 callersMethodpredict
Function for making predictions with the Bayesian neural network. @param X_test The matrix of features for the test data
ConvNets/Uncertainty_Comparison/Probabilistic-Backpropagation-master/theano/PBP_net/PBP_net.py:100
↓ 11 callersMethodtest_on_batch
Compute the loss on a single batch of samples. Arguments: see `fit` method.
ConvNets/keras/models.py:1243
↓ 10 callersFunction_get_test_data
()
ConvNets/tests/keras/test_models.py:24
↓ 10 callersFunctionlog
(x)
ConvNets/keras/backend/theano_backend.py:196
↓ 9 callersFunctionexp
(x)
ConvNets/keras/backend/theano_backend.py:192
↓ 9 callersMethodget_config
(self)
ConvNets/keras/layers/containers.py:162
↓ 9 callersFunctionget_file
(fname, origin, untar=False)
ConvNets/keras/datasets/data_utils.py:16
↓ 9 callersFunctionpad_sequences
Pad each sequence to the same length: the length of the longest sequence. If maxlen is provided, any sequence longer
ConvNets/keras/preprocessing/sequence.py:7
↓ 9 callersFunctionsqrt
(x)
ConvNets/keras/backend/theano_backend.py:187
↓ 9 callersFunctionstandardize_X
(X)
ConvNets/keras/models.py:50
↓ 9 callersFunctionto_categorical
Convert class vector (integers from 0 to nb_classes) to binary class matrix, for use with categorical_crossentropy.
ConvNets/keras/utils/np_utils.py:8
↓ 8 callersFunctioncheck_two_tensor_operation
(function_name, x_input_shape, y_input_shape, **kwargs)
ConvNets/tests/keras/backend/test_backends.py:22
↓ 8 callersFunctioncompute_kernel
(lls, lsf, x, z)
ConvNets/Uncertainty_Comparison/deepGP_approxEP-master/numpy/code/EQ_kernel.py:11
↓ 8 callersMethodload_weights
Load all layer weights from a HDF5 save file.
ConvNets/keras/models.py:848
↓ 8 callersMethodsave_weights
Dump all layer weights to a HDF5 file.
ConvNets/keras/models.py:815
↓ 8 callersFunctionuniform
(shape, scale=0.05, name=None)
ConvNets/keras/initializations.py:12
↓ 7 callersMethodadd_shared_node
Used to share a same layer across multiple nodes. Supposed, for instance, that you want to apply one same `Dense` layer after to the
ConvNets/keras/layers/containers.py:385
↓ 7 callersFunctionget_from_module
(identifier, module_params, module_name, instantiate=False, kwargs=None)
ConvNets/keras/utils/generic_utils.py:8
↓ 7 callersFunctionget_standard_values
These are just a set of floats used for testing the activation functions, and are useful in multiple tests. The values should all be non
ConvNets/tests/keras/layers/test_advanced_activations.py:7
↓ 7 callersMethodget_weights
Return the weights of the layer, as a list of numpy arrays.
ConvNets/keras/layers/core.py:233
↓ 7 callersMethodset_input_shape
(self, input_shape)
ConvNets/keras/layers/core.py:144
↓ 7 callersMethodset_layer
(self, layer)
ConvNets/keras/regularizers.py:9
↓ 6 callersFunction_test_optimizer
(optimizer, target=0.9)
ConvNets/tests/keras/test_optimizers.py:29
↓ 6 callersFunctionconv_output_length
(input_length, filter_size, border_mode, stride)
ConvNets/keras/layers/convolutional.py:9
↓ 6 callersMethoddecode
(self, X, calc_argmax=True)
ConvNets/examples/addition_rnn.py:57
↓ 6 callersMethodget_config
(self)
ConvNets/keras/layers/containers.py:507
↓ 6 callersMethodget_config
(self)
ConvNets/keras/layers/advanced_activations.py:108
↓ 6 callersMethodget_gradients
(self, loss, params)
ConvNets/keras/optimizers.py:46
↓ 6 callersMethodget_output_mask
For some models (such as RNNs) you want a way of being able to mark some output data-points as "masked", so they are not used in futur
ConvNets/keras/layers/core.py:192
↓ 6 callersFunctionget_standard_values
These are just a set of floats used for testing the activation functions, and are useful in multiple tests.
ConvNets/tests/keras/test_activations.py:9
↓ 6 callersFunctionmin
(x, axis=None, keepdims=False)
ConvNets/keras/backend/theano_backend.py:141
↓ 6 callersMethodtrain
(self, X_train, y_train, X_test, y_test, no_epochs, n_per_mb, lrate=0.001, compute_test=False, r
ConvNets/Uncertainty_Comparison/deepGP_approxEP-master/numpy/code/AEPDGP.py:342
↓ 6 callersMethodtrain_on_batch
Single gradient update over one batch of samples. Returns the loss over the data, or a tuple `(loss, accuracy)` if `accuracy=True`.
ConvNets/keras/models.py:746
↓ 5 callersMethod__init__
(self, lr=0.01, momentum=0., decay=0., nesterov=False, *args, **kwargs)
ConvNets/keras/optimizers.py:69
↓ 5 callersMethod__init__
(self, alpha=1.0, **kwargs)
ConvNets/keras/layers/advanced_activations.py:98
↓ 5 callersFunction_get_session
()
ConvNets/keras/backend/tensorflow_backend.py:10
↓ 5 callersMethodcount_params
Return the total number of floats (or ints) composing the weights of the layer.
ConvNets/keras/layers/core.py:279
↓ 5 callersFunctionfunc
(X)
ConvNets/tests/keras/test_models.py:361
↓ 5 callersFunctionget_fans
(shape)
ConvNets/keras/initializations.py:6
↓ 5 callersMethodget_output
(self, train)
ConvNets/keras/layers/normalization.py:74
↓ 5 callersMethodget_params
(self)
ConvNets/Uncertainty_Comparison/Probabilistic-Backpropagation-master/theano/PBP_net/prior.py:51
↓ 5 callersFunctionmatrixInverse
(M)
ConvNets/Uncertainty_Comparison/deepGP_approxEP-master/numpy/code/EQ_kernel.py:8
↓ 5 callersMethodset_previous
Connect a layer to its parent in the computational graph.
ConvNets/keras/layers/core.py:91
↓ 4 callersFunctionLogSumExp
(x, axis = None)
ConvNets/Uncertainty_Comparison/black_box_alpha_BNN/mnist/black_box_alpha.py:17
↓ 4 callersMethod__init__
(self)
ConvNets/keras/callbacks.py:103
↓ 4 callersFunctionadd_shared_layer
Use this function to add a shared layer across multiple Sequential models without merging the outputs.
ConvNets/keras/layers/core.py:1791
↓ 4 callersMethodbuild
Instantiation of layer weights. Called after `set_previous`, or after `set_input_shape`, once the layer has a defined input shape.
ConvNets/keras/layers/core.py:105
↓ 4 callersFunctioncompute_psi1
(lls, lsf, xmean, xvar, z)
ConvNets/Uncertainty_Comparison/deepGP_approxEP-master/numpy/code/EQ_kernel.py:26
↓ 4 callersFunctioncompute_psi2
(lls, lsf, xmean, xvar, z)
ConvNets/Uncertainty_Comparison/deepGP_approxEP-master/numpy/code/EQ_kernel.py:40
↓ 4 callersFunctiondata_generator
(train)
ConvNets/tests/keras/test_models.py:47
↓ 4 callersFunctiondata_generator_graph
(train)
ConvNets/tests/keras/test_models.py:586
↓ 4 callersFunctiondisplay_layer_info
(layer, name, positions)
ConvNets/keras/utils/layer_utils.py:107
next →1–100 of 1,217, ranked by callers