MCPcopy Create free account

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

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

Functiontest_additive
()
numpy_ml/tests/test_ngram.py:227
Functiontest_all_paths
(N=1)
numpy_ml/tests/test_utils.py:256
Functiontest_ball_tree
(N=1)
numpy_ml/tests/test_utils.py:181
Functiontest_chebyshev
(N=1)
numpy_ml/tests/test_utils.py:148
Functiontest_conv
(N=15)
numpy_ml/tests/test_nn.py:2273
Functiontest_cross_entropy
(N=15)
numpy_ml/tests/test_nn.py:117
Functiontest_cross_entropy_agent
()
numpy_ml/plots/rl_plots.py:13
Functiontest_cross_entropy_grad
(N=15)
numpy_ml/tests/test_nn.py:368
Functiontest_dct
(N=15)
numpy_ml/tests/test_preprocessing.py:119
Functiontest_dft
(N=15)
numpy_ml/tests/test_preprocessing.py:135
Functiontest_dft_bins
(N=15)
numpy_ml/tests/test_preprocessing.py:217
Functiontest_dyna_agent
()
numpy_ml/plots/rl_plots.py:92
Functiontest_elu_activation
(N=15)
numpy_ml/tests/test_nn.py:420
Functiontest_elu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:130
Functiontest_elu_grad
(N=15)
numpy_ml/tests/test_nn.py:524
Functiontest_elu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:247
Functiontest_euclidean
(N=1)
numpy_ml/tests/test_utils.py:105
Functiontest_framing
(N=15)
numpy_ml/tests/test_preprocessing.py:196
Functiontest_gbdt
(N=1)
numpy_ml/tests/test_trees.py:255
Functiontest_gelu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:203
Functiontest_gelu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:302
Functiontest_glm
(N=20)
numpy_ml/tests/test_glm.py:10
Functiontest_gp_regression
(N=15)
numpy_ml/tests/test_nonparametric.py:87
Functiontest_hamming
(N=1)
numpy_ml/tests/test_utils.py:119
Functiontest_huffman
(N=15)
numpy_ml/tests/test_preprocessing.py:36
Functiontest_is_acyclic
(N=1)
numpy_ml/tests/test_utils.py:326
Functiontest_knn_clf
(N=15)
numpy_ml/tests/test_nonparametric.py:50
Functiontest_knn_regression
(N=15)
numpy_ml/tests/test_nonparametric.py:12
Functiontest_leakyrelu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:184
Functiontest_leakyrelu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:340
Functiontest_linear_kernel
(N=1)
numpy_ml/tests/test_utils.py:35
Functiontest_linear_regression
(N=10)
numpy_ml/tests/test_linear_regression.py:10
Functiontest_manhattan
(N=1)
numpy_ml/tests/test_utils.py:162
Functiontest_mel_filterbank
(N=15)
numpy_ml/tests/test_preprocessing.py:232
Functiontest_mfcc
Broken
numpy_ml/tests/test_preprocessing.py:150
Functiontest_minkowski
(N=1)
numpy_ml/tests/test_utils.py:133
Functiontest_mle
()
numpy_ml/tests/test_ngram.py:202
Functiontest_monte_carlo_agent
()
numpy_ml/plots/rl_plots.py:28
Functiontest_pad1D
(N=15)
numpy_ml/tests/test_nn.py:2174
Functiontest_polynomial_kernel
(N=1)
numpy_ml/tests/test_utils.py:54
Functiontest_radial_basis_kernel
(N=1)
numpy_ml/tests/test_utils.py:76
Functiontest_random_DAG
(N=1)
numpy_ml/tests/test_utils.py:288
Functiontest_relu_activation
(N=15)
numpy_ml/tests/test_nn.py:461
Functiontest_relu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:150
Functiontest_relu_grad
(N=15)
numpy_ml/tests/test_nn.py:565
Functiontest_relu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:284
Functiontest_selu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:167
Functiontest_selu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:322
Functiontest_sigmoid_activation
(N=15)
numpy_ml/tests/test_nn.py:401
Functiontest_sigmoid_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:96
Functiontest_sigmoid_grad
(N=15)
numpy_ml/tests/test_nn.py:504
Functiontest_sigmoid_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:229
Functiontest_softmax_activation
(N=15)
numpy_ml/tests/test_nn.py:442
Functiontest_softmax_grad
(N=15)
numpy_ml/tests/test_nn.py:585
Functiontest_softplus_activation
(N=15)
numpy_ml/tests/test_nn.py:480
Functiontest_softplus_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:113
Functiontest_softplus_grad
(N=15)
numpy_ml/tests/test_nn.py:615
Functiontest_softplus_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:359
Functiontest_squared_error
(N=15)
numpy_ml/tests/test_nn.py:84
Functiontest_squared_error_grad
(N=15)
numpy_ml/tests/test_nn.py:339
Functiontest_standardizer
(N=15)
numpy_ml/tests/test_preprocessing.py:56
Functiontest_tanh_grad
(N=15)
numpy_ml/tests/test_nn.py:545
Functiontest_tanh_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:266
Functiontest_temporal_difference_agent
()
numpy_ml/plots/rl_plots.py:52
Functiontest_tfidf
(N=15)
numpy_ml/tests/test_preprocessing.py:79
Functiontest_topological_ordering
(N=1)
numpy_ml/tests/test_utils.py:303
Functiontileswrap
returns num-tilings tile indices corresponding to the floats and ints, wrapping some floats
numpy_ml/rl_models/tiles/tiles3.py:106
Methodto_dict
(self)
numpy_ml/utils/data_structures.py:191
Methodto_matrix
Return an adjacency matrix representation of the graph
numpy_ml/utils/graphs.py:90
Functiontokenize_chars
Split a string into individual characters, optionally removing punctuation and stop-words in the process.
numpy_ml/preprocessing/nlp.py:151
Functiontokenize_whitespace
Split a string at any whitespace characters, optionally removing punctuation and stop-words in the process.
numpy_ml/preprocessing/nlp.py:64
Functiontokenize_words_bytes
Split a string into individual words, optionally removing punctuation and stop-words in the process. Translate each word into a list of bytes
numpy_ml/preprocessing/nlp.py:89
Methodtokens
A list of the byte pair codeword IDs
numpy_ml/preprocessing/nlp.py:389
Methodtokens
A list the unique tokens in `text`
numpy_ml/preprocessing/nlp.py:506
Functiontorch_mse_grad
(y, z, act_fn)
numpy_ml/tests/nn_torch_models.py:41
Functiontorch_xe_grad
(y, z)
numpy_ml/tests/nn_torch_models.py:32
Methodtrain
Trains a topic model on the documents in texts. Parameters ---------- texts : array of length `(D,)` The
numpy_ml/lda/lda_smoothed.py:59
Methodtrain
Compile the n-gram counts for the text(s) in `corpus_fp`. Notes ----- After running `train`, the ``self.counts`` att
numpy_ml/ngram/ngram.py:38
Methodtrain_episode
Train the agent on a single episode. Parameters ---------- max_steps : int The maximum number of steps t
numpy_ml/rl_models/agents.py:967
Methodtrainable
Whether the base layer is frozen
numpy_ml/neural_nets/wrappers/wrappers.py:34
Methodtransform
Transform the words in `text` into their byte pair encoded token IDs. Parameters ---------- text: str or list of `N`
numpy_ml/preprocessing/nlp.py:284
Methodtransform
Transform the words in `text` into their Huffman-code representations. Parameters ---------- text: list of `N` strin
numpy_ml/preprocessing/nlp.py:463
Methodunfreeze
(self)
numpy_ml/neural_nets/modules/modules.py:53
Methodunfreeze
Unfreeze the base layer's parameters so they can be updated.
numpy_ml/neural_nets/wrappers/wrappers.py:96
Methodunfreeze
Unfreeze the layer parameters so they can be updated.
numpy_ml/neural_nets/layers/layers.py:62
Methodunfreeze
Unfreeze the layer parameters so they can be updated.
numpy_ml/neural_nets/layers/layers.py:227
Methodunfreeze
Unfreeze the layer parameters so they can be updated.
numpy_ml/neural_nets/layers/layers.py:4399
Methodunfreeze
Unfreeze the layer parameters so they can be updated.
numpy_ml/neural_nets/losses/losses.py:681
Methodupdate
Update the base layer's parameters using the accrued gradients and layer optimizer. Flush all gradients once the update is complete.
numpy_ml/neural_nets/wrappers/wrappers.py:108
Methodupdate
Update the layer parameters using the accrued gradients and layer optimizer. Flush all gradients once the update is complete.
numpy_ml/neural_nets/layers/layers.py:76
Methodupdate
Update parameters using current gradients and evolve network connections via SET.
numpy_ml/neural_nets/layers/layers.py:2558
Methodupdate
Update the layer parameters using the accrued gradients and layer optimizer. Flush all gradients once the update is complete.
numpy_ml/neural_nets/layers/layers.py:4427
Methodupdate
Compute the SGD update for a given parameter Parameters ---------- param : :py:class:`ndarray <numpy.ndarray>` of sh
numpy_ml/neural_nets/optimizers/optimizers.py:110
Methodupdate
Compute the AdaGrad update for a given parameter. Notes ----- Adjusts the learning rate of each weight based on the
numpy_ml/neural_nets/optimizers/optimizers.py:215
Methodupdate
Compute the RMSProp update for a given parameter. Parameters ---------- param : :py:class:`ndarray <numpy.ndarray>`
numpy_ml/neural_nets/optimizers/optimizers.py:322
Methodupdate
Compute the Adam update for a given parameter. Parameters ---------- param : :py:class:`ndarray <numpy.ndarray>` of
numpy_ml/neural_nets/optimizers/optimizers.py:427
Methodupdate
r""" Update :math:`\mu` and :math:`\Sigma` according to the rewards accrued on the current episode. Returns -------
numpy_ml/rl_models/agents.py:328
Methodupdate
Update the parameters of the model following the completion of an episode. Flush the episode history after the update is complete.
numpy_ml/rl_models/agents.py:732
Methodvertices
(self)
numpy_ml/utils/graphs.py:72
Methodweight
(self)
numpy_ml/utils/graphs.py:37
← previousnext →1,101–1,200 of 1,202, ranked by callers