Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddbourgin/numpy-ml
/ functions
Functions
1,202 in github.com/ddbourgin/numpy-ml
⨍
Functions
1,202
◇
Types & classes
166
Function
test_additive
()
numpy_ml/tests/test_ngram.py:227
Function
test_all_paths
(N=1)
numpy_ml/tests/test_utils.py:256
Function
test_ball_tree
(N=1)
numpy_ml/tests/test_utils.py:181
Function
test_chebyshev
(N=1)
numpy_ml/tests/test_utils.py:148
Function
test_conv
(N=15)
numpy_ml/tests/test_nn.py:2273
Function
test_cross_entropy
(N=15)
numpy_ml/tests/test_nn.py:117
Function
test_cross_entropy_agent
()
numpy_ml/plots/rl_plots.py:13
Function
test_cross_entropy_grad
(N=15)
numpy_ml/tests/test_nn.py:368
Function
test_dct
(N=15)
numpy_ml/tests/test_preprocessing.py:119
Function
test_dft
(N=15)
numpy_ml/tests/test_preprocessing.py:135
Function
test_dft_bins
(N=15)
numpy_ml/tests/test_preprocessing.py:217
Function
test_dyna_agent
()
numpy_ml/plots/rl_plots.py:92
Function
test_elu_activation
(N=15)
numpy_ml/tests/test_nn.py:420
Function
test_elu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:130
Function
test_elu_grad
(N=15)
numpy_ml/tests/test_nn.py:524
Function
test_elu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:247
Function
test_euclidean
(N=1)
numpy_ml/tests/test_utils.py:105
Function
test_framing
(N=15)
numpy_ml/tests/test_preprocessing.py:196
Function
test_gbdt
(N=1)
numpy_ml/tests/test_trees.py:255
Function
test_gelu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:203
Function
test_gelu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:302
Function
test_glm
(N=20)
numpy_ml/tests/test_glm.py:10
Function
test_gp_regression
(N=15)
numpy_ml/tests/test_nonparametric.py:87
Function
test_hamming
(N=1)
numpy_ml/tests/test_utils.py:119
Function
test_huffman
(N=15)
numpy_ml/tests/test_preprocessing.py:36
Function
test_is_acyclic
(N=1)
numpy_ml/tests/test_utils.py:326
Function
test_knn_clf
(N=15)
numpy_ml/tests/test_nonparametric.py:50
Function
test_knn_regression
(N=15)
numpy_ml/tests/test_nonparametric.py:12
Function
test_leakyrelu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:184
Function
test_leakyrelu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:340
Function
test_linear_kernel
(N=1)
numpy_ml/tests/test_utils.py:35
Function
test_linear_regression
(N=10)
numpy_ml/tests/test_linear_regression.py:10
Function
test_manhattan
(N=1)
numpy_ml/tests/test_utils.py:162
Function
test_mel_filterbank
(N=15)
numpy_ml/tests/test_preprocessing.py:232
Function
test_mfcc
Broken
numpy_ml/tests/test_preprocessing.py:150
Function
test_minkowski
(N=1)
numpy_ml/tests/test_utils.py:133
Function
test_mle
()
numpy_ml/tests/test_ngram.py:202
Function
test_monte_carlo_agent
()
numpy_ml/plots/rl_plots.py:28
Function
test_pad1D
(N=15)
numpy_ml/tests/test_nn.py:2174
Function
test_polynomial_kernel
(N=1)
numpy_ml/tests/test_utils.py:54
Function
test_radial_basis_kernel
(N=1)
numpy_ml/tests/test_utils.py:76
Function
test_random_DAG
(N=1)
numpy_ml/tests/test_utils.py:288
Function
test_relu_activation
(N=15)
numpy_ml/tests/test_nn.py:461
Function
test_relu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:150
Function
test_relu_grad
(N=15)
numpy_ml/tests/test_nn.py:565
Function
test_relu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:284
Function
test_selu_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:167
Function
test_selu_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:322
Function
test_sigmoid_activation
(N=15)
numpy_ml/tests/test_nn.py:401
Function
test_sigmoid_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:96
Function
test_sigmoid_grad
(N=15)
numpy_ml/tests/test_nn.py:504
Function
test_sigmoid_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:229
Function
test_softmax_activation
(N=15)
numpy_ml/tests/test_nn.py:442
Function
test_softmax_grad
(N=15)
numpy_ml/tests/test_nn.py:585
Function
test_softplus_activation
(N=15)
numpy_ml/tests/test_nn.py:480
Function
test_softplus_activation
(N=50)
numpy_ml/tests/test_nn_activations.py:113
Function
test_softplus_grad
(N=15)
numpy_ml/tests/test_nn.py:615
Function
test_softplus_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:359
Function
test_squared_error
(N=15)
numpy_ml/tests/test_nn.py:84
Function
test_squared_error_grad
(N=15)
numpy_ml/tests/test_nn.py:339
Function
test_standardizer
(N=15)
numpy_ml/tests/test_preprocessing.py:56
Function
test_tanh_grad
(N=15)
numpy_ml/tests/test_nn.py:545
Function
test_tanh_grad
(N=50)
numpy_ml/tests/test_nn_activations.py:266
Function
test_temporal_difference_agent
()
numpy_ml/plots/rl_plots.py:52
Function
test_tfidf
(N=15)
numpy_ml/tests/test_preprocessing.py:79
Function
test_topological_ordering
(N=1)
numpy_ml/tests/test_utils.py:303
Function
tileswrap
returns num-tilings tile indices corresponding to the floats and ints, wrapping some floats
numpy_ml/rl_models/tiles/tiles3.py:106
Method
to_dict
(self)
numpy_ml/utils/data_structures.py:191
Method
to_matrix
Return an adjacency matrix representation of the graph
numpy_ml/utils/graphs.py:90
Function
tokenize_chars
Split a string into individual characters, optionally removing punctuation and stop-words in the process.
numpy_ml/preprocessing/nlp.py:151
Function
tokenize_whitespace
Split a string at any whitespace characters, optionally removing punctuation and stop-words in the process.
numpy_ml/preprocessing/nlp.py:64
Function
tokenize_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
Method
tokens
A list of the byte pair codeword IDs
numpy_ml/preprocessing/nlp.py:389
Method
tokens
A list the unique tokens in `text`
numpy_ml/preprocessing/nlp.py:506
Function
torch_mse_grad
(y, z, act_fn)
numpy_ml/tests/nn_torch_models.py:41
Function
torch_xe_grad
(y, z)
numpy_ml/tests/nn_torch_models.py:32
Method
train
Trains a topic model on the documents in texts. Parameters ---------- texts : array of length `(D,)` The
numpy_ml/lda/lda_smoothed.py:59
Method
train
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
Method
train_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
Method
trainable
Whether the base layer is frozen
numpy_ml/neural_nets/wrappers/wrappers.py:34
Method
transform
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
Method
transform
Transform the words in `text` into their Huffman-code representations. Parameters ---------- text: list of `N` strin
numpy_ml/preprocessing/nlp.py:463
Method
unfreeze
(self)
numpy_ml/neural_nets/modules/modules.py:53
Method
unfreeze
Unfreeze the base layer's parameters so they can be updated.
numpy_ml/neural_nets/wrappers/wrappers.py:96
Method
unfreeze
Unfreeze the layer parameters so they can be updated.
numpy_ml/neural_nets/layers/layers.py:62
Method
unfreeze
Unfreeze the layer parameters so they can be updated.
numpy_ml/neural_nets/layers/layers.py:227
Method
unfreeze
Unfreeze the layer parameters so they can be updated.
numpy_ml/neural_nets/layers/layers.py:4399
Method
unfreeze
Unfreeze the layer parameters so they can be updated.
numpy_ml/neural_nets/losses/losses.py:681
Method
update
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
Method
update
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
Method
update
Update parameters using current gradients and evolve network connections via SET.
numpy_ml/neural_nets/layers/layers.py:2558
Method
update
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
Method
update
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
Method
update
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
Method
update
Compute the RMSProp update for a given parameter. Parameters ---------- param : :py:class:`ndarray <numpy.ndarray>`
numpy_ml/neural_nets/optimizers/optimizers.py:322
Method
update
Compute the Adam update for a given parameter. Parameters ---------- param : :py:class:`ndarray <numpy.ndarray>` of
numpy_ml/neural_nets/optimizers/optimizers.py:427
Method
update
r""" Update :math:`\mu` and :math:`\Sigma` according to the rewards accrued on the current episode. Returns -------
numpy_ml/rl_models/agents.py:328
Method
update
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
Method
vertices
(self)
numpy_ml/utils/graphs.py:72
Method
weight
(self)
numpy_ml/utils/graphs.py:37
← previous
next →
1,101–1,200 of 1,202, ranked by callers