MCPcopy Create free account

hub / github.com/ddbourgin/numpy-ml / functions

Functions1,202 in github.com/ddbourgin/numpy-ml

Functiongini
Gini impurity (local entropy) of a label sequence
numpy_ml/trees/dt.py:231
Functionglorot_normal
Initialize network weights `W` using the Glorot normal initialization strategy. Notes ----- The Glorot normal initializaiton initial
numpy_ml/neural_nets/utils/utils.py:962
Functionglorot_uniform
Initialize network weights `W` using the Glorot uniform initialization strategy. Notes ----- The Glorot uniform initialization s
numpy_ml/neural_nets/utils/utils.py:926
Methodgrad
Compute the gradient of the activation function wrt the input
numpy_ml/neural_nets/activations/activations.py:25
Methodgrad
r""" Evaluate the first derivative of the Affine activation on the elements of input `x`. .. math:: \frac{\parti
numpy_ml/neural_nets/activations/activations.py:372
Methodgrad
r""" Evaluate the first derivative of the exponential activation on the elements of input `x`. .. math:: \frac{\
numpy_ml/neural_nets/activations/activations.py:509
Methodgrad
r""" Evaluate the first derivative of the hard sigmoid activation on the elements of input `x`. .. math:: \frac{
numpy_ml/neural_nets/activations/activations.py:644
Methodgrad
(self, y_true, y_pred, **kwargs)
numpy_ml/neural_nets/losses/losses.py:22
Methodgrad2
r""" Evaluate the second derivative of the logistic sigmoid on the elements of `x`. .. math:: \frac{\partial^2 \sigma}{\
numpy_ml/neural_nets/activations/activations.py:60
Methodgrad2
r""" Evaulate the second derivative of the ReLU function on the elements of input `x`. .. math:: \frac{\partial^
numpy_ml/neural_nets/activations/activations.py:128
Methodgrad2
r""" Evaluate the second derivative of the leaky ReLU function on the elements of input `x`. .. math:: \frac{\pa
numpy_ml/neural_nets/activations/activations.py:198
Methodgrad2
r""" Evaluate the second derivative of the GELU function on the elements of input `x`. .. math:: \frac{\partial^
numpy_ml/neural_nets/activations/activations.py:279
Methodgrad2
r""" Evaluate the second derivative of the tanh function on the elements of input `x`. .. math:: \frac{\partial^
numpy_ml/neural_nets/activations/activations.py:328
Methodgrad2
r""" Evaluate the second derivative of the Affine activation on the elements of input `x`. .. math:: \frac{\part
numpy_ml/neural_nets/activations/activations.py:383
Methodgrad2
r""" Evaluate the second derivative of the exponential activation on the elements of input `x`. .. math:: \frac{
numpy_ml/neural_nets/activations/activations.py:520
Methodgrad2
r""" Evaluate the second derivative of the SELU activation on the elements of input `x`. .. math:: \frac{\partia
numpy_ml/neural_nets/activations/activations.py:601
Methodgrad2
r""" Evaluate the second derivative of the hard sigmoid activation on the elements of input `x`. .. math:: \frac
numpy_ml/neural_nets/activations/activations.py:657
Methodgrad2
r""" Evaluate the second derivative of the softplus activation on the elements of input `x`. .. math:: \frac{\pa
numpy_ml/neural_nets/activations/activations.py:710
Functiongrad_check_RNN
Manual gradient calc for vanilla RNN parameters
numpy_ml/tests/test_nn.py:1559
Methodgradients
A dictionary of the module parameter gradients.
numpy_ml/neural_nets/modules/modules.py:275
Methodgradients
A dictionary of the accumulated module parameter gradients.
numpy_ml/neural_nets/modules/modules.py:534
Methodgradients
A dictionary of the accumulated module parameter gradients.
numpy_ml/neural_nets/modules/modules.py:889
Methodgradients
A dictionary of the accumulated module parameter gradients.
numpy_ml/neural_nets/modules/modules.py:1154
Methodgradients
A dictionary of the accumulated module parameter gradients.
numpy_ml/neural_nets/modules/modules.py:1384
Methodgradients
A dictionary of the current layer parameter gradients.
numpy_ml/neural_nets/wrappers/wrappers.py:68
Methodgradients
Return a dictionary of the gradients computed during the backward pass
numpy_ml/neural_nets/layers/layers.py:4380
Methodgradients
(self)
numpy_ml/neural_nets/models/wgan_gp.py:192
Methodgradients
(self)
numpy_ml/neural_nets/models/vae.py:275
Methodgradients
Model parameter gradients
numpy_ml/neural_nets/models/w2v.py:196
Methodgreedy_policy
Execute a greedy policy using the current agent parameters. Parameters ---------- max_steps : int The ma
numpy_ml/rl_models/agents.py:360
Methodgreedy_policy
Execute a greedy policy using the current agent parameters. Parameters ---------- max_steps : int The ma
numpy_ml/rl_models/agents.py:745
Methodgreedy_policy
Execute a deterministic greedy policy using the current agent parameters. Parameters ---------- max_steps :
numpy_ml/rl_models/agents.py:1254
Methodgreedy_policy
Execute a deterministic greedy policy using the current agent parameters. Parameters ---------- max_steps :
numpy_ml/rl_models/agents.py:1868
Functionhamming
The Hamming window. Notes ----- The Hamming window is an instance of the more general class of cosine-sum windows where `K=1` an
numpy_ml/utils/windows.py:43
Functionhann
The Hann window. Notes ----- The Hann window is an instance of the more general class of cosine-sum windows where `K=1` and :mat
numpy_ml/utils/windows.py:76
Functionhe_normal
Initialize network weights `W` using the He normal initialization strategy. Notes ----- The He normal initialization strategy initia
numpy_ml/neural_nets/utils/utils.py:895
Functionhe_uniform
Initializes network weights `W` with using the He uniform initialization strategy. Notes ----- The He uniform initializations tr
numpy_ml/neural_nets/utils/utils.py:864
Methodhyperparameters
A dictionary of the module hyperparameters
numpy_ml/neural_nets/modules/modules.py:229
Methodhyperparameters
A dictionary of the module hyperparameters.
numpy_ml/neural_nets/modules/modules.py:488
Methodhyperparameters
A dictionary of the module hyperparameters.
numpy_ml/neural_nets/modules/modules.py:820
Methodhyperparameters
A dictionary of the module hyperparameters.
numpy_ml/neural_nets/modules/modules.py:1174
Methodhyperparameters
A dictionary of the module hyperparameters.
numpy_ml/neural_nets/modules/modules.py:1410
Methodhyperparameters
A dictionary of the base layer's hyperparameters
numpy_ml/neural_nets/wrappers/wrappers.py:44
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:206
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:438
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:675
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:787
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:901
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:1074
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:1321
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:1514
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:1700
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:1882
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:2076
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:2251
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:2438
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:2696
Methodhyperparameters
A dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:2988
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:3218
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:3421
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:3655
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:3922
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:4129
Methodhyperparameters
Return a dictionary containing the layer hyperparameters.
numpy_ml/neural_nets/layers/layers.py:4307
Methodhyperparameters
(self)
numpy_ml/neural_nets/models/wgan_gp.py:154
Methodhyperparameters
(self)
numpy_ml/neural_nets/models/vae.py:220
Methodhyperparameters
Model hyperparameters
numpy_ml/neural_nets/models/w2v.py:158
Methodhyperparameters
(self)
numpy_ml/neural_nets/losses/losses.py:648
Methodhyperparameters
A dictionary of the bandit hyperparameters
numpy_ml/bandits/bandits.py:25
Methodhyperparameters
A dictionary of the bandit hyperparameters
numpy_ml/bandits/bandits.py:110
Methodhyperparameters
A dictionary of the bandit hyperparameters
numpy_ml/bandits/bandits.py:168
Methodhyperparameters
A dictionary of the bandit hyperparameters
numpy_ml/bandits/bandits.py:229
Methodhyperparameters
A dictionary of the bandit hyperparameters
numpy_ml/bandits/bandits.py:300
Methodhyperparameters
A dictionary of the bandit hyperparameters
numpy_ml/bandits/bandits.py:372
Methodhyperparameters
A dictionary of the bandit hyperparameters
numpy_ml/bandits/bandits.py:476
Methodhyperparameters
A dictionary containing the policy hyperparameters
numpy_ml/bandits/policies.py:26
Methodhyperparameters
A dictionary containing the policy hyperparameters
numpy_ml/bandits/policies.py:149
Methodhyperparameters
A dictionary containing the policy hyperparameters
numpy_ml/bandits/policies.py:238
Methodhyperparameters
A dictionary containing the policy hyperparameters
numpy_ml/bandits/policies.py:344
Methodhyperparameters
A dictionary containing the policy hyperparameters
numpy_ml/bandits/policies.py:444
Methodhyperparameters
(self)
numpy_ml/preprocessing/general.py:172
Methodhyperparameters
Return a dictionary of the model hyperparameters
numpy_ml/factorization/factors.py:69
Methodhyperparameters
Return a dictionary of the model hyperparameters
numpy_ml/factorization/factors.py:218
Methodindices
(self)
numpy_ml/utils/graphs.py:76
Methodindices_to_words
Convert the indices in `indices` to their word values. If an index is not in the vocabulary, return the ``<unk>`` token. Par
numpy_ml/preprocessing/nlp.py:1148
Methodinverse_transform
Convert a one-hot encoding back into the corresponding labels Parameters ---------- Y : :py:class:`ndarray <numpy.nd
numpy_ml/preprocessing/general.py:119
Methodinverse_transform
Convert a collection of standardized features back into the original feature space. For a standardized sample `z`, the unsta
numpy_ml/preprocessing/general.py:244
Methodinverse_transform
Transform an encoded sequence of bit-strings back into words. Parameters ---------- codes : list of `N` binary strin
numpy_ml/preprocessing/nlp.py:484
Functionis_one_hot
Return True if array `x` is a binary array with a single 1
numpy_ml/utils/testing.py:43
Methodlearning_rate
Return the current learning rate. Returns ------- lr : float The learning rate
numpy_ml/neural_nets/schedulers/schedulers.py:60
Methodlearning_rate
Return the current learning rate as a function of `step`. Parameters ---------- step : int The current s
numpy_ml/neural_nets/schedulers/schedulers.py:124
Methodlearning_rate
(self, step, **kwargs)
numpy_ml/neural_nets/schedulers/schedulers.py:192
Methodlearning_rate
Compute the updated learning rate for the current step and loss. Parameters ---------- step : int The cu
numpy_ml/neural_nets/schedulers/schedulers.py:325
Methodline_search
(self, y, y_pred, h_pred)
numpy_ml/trees/losses.py:43
Functionlinkcode_resolve
(domain, info)
docs/conf.py:63
Methodloss
(self, y_true, y_pred)
numpy_ml/neural_nets/losses/losses.py:18
Functionminibatch
Compute the minibatch indices for a training dataset. Parameters ---------- X : :py:class:`ndarray <numpy.ndarray>` of shape `(N, \*
numpy_ml/preprocessing/general.py:16
Functionmse
Mean squared error for decision tree (ie., mean) predictions
numpy_ml/trees/dt.py:215
Methodn_tokens
The number of unique word tokens in the vocabulary
numpy_ml/preprocessing/nlp.py:1083
Methodn_words
The total number of words in the corpus
numpy_ml/preprocessing/nlp.py:1088
← previousnext →901–1,000 of 1,202, ranked by callers