MCPcopy Create free account

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

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

Functionnn_interpolate_1D
Estimates of the signal values at `X[t]` using a nearest neighbor interpolation strategy. Parameters ---------- X : :py:class:`n
numpy_ml/preprocessing/dsp.py:84
Functionnn_interpolate_2D
Estimates of the pixel values at the coordinates (x, y) in `X` using a nearest neighbor interpolation strategy. Notes ----- Assu
numpy_ml/preprocessing/dsp.py:53
Methodoracle_payoff
Return the expected reward for an optimal agent. Parameters ---------- context : :py:class:`ndarray <numpy.ndarray>`
numpy_ml/bandits/bandits.py:118
Methodoracle_payoff
Return the expected reward for an optimal agent. Parameters ---------- context : :py:class:`ndarray <numpy.ndarray>`
numpy_ml/bandits/bandits.py:175
Methodoracle_payoff
Return the expected reward for an optimal agent. Parameters ---------- context : :py:class:`ndarray <numpy.ndarray>`
numpy_ml/bandits/bandits.py:246
Methodoracle_payoff
Return the expected reward for an optimal agent. Parameters ---------- context : :py:class:`ndarray <numpy.ndarray>`
numpy_ml/bandits/bandits.py:309
Methodoracle_payoff
Return the expected reward for an optimal agent. Parameters ---------- context : :py:class:`ndarray <numpy.ndarray>`
numpy_ml/bandits/bandits.py:395
Methodoracle_payoff
Return the expected reward for an optimal agent. Parameters ---------- context : :py:class:`ndarray <numpy.ndarray>`
numpy_ml/bandits/bandits.py:503
Methodparameters
A dictionary of the module parameters.
numpy_ml/neural_nets/modules/modules.py:216
Methodparameters
A dictionary of the module parameters.
numpy_ml/neural_nets/modules/modules.py:475
Methodparameters
A dictionary of the module parameters.
numpy_ml/neural_nets/modules/modules.py:803
Methodparameters
A dictionary of the module parameters.
numpy_ml/neural_nets/modules/modules.py:1164
Methodparameters
A dictionary of the module parameters.
numpy_ml/neural_nets/modules/modules.py:1397
Methodparameters
A dictionary of the base layer parameters
numpy_ml/neural_nets/wrappers/wrappers.py:39
Methodparameters
Return a dictionary of the current layer parameters
numpy_ml/neural_nets/layers/layers.py:4209
Methodparameters
Return a dictionary of the current layer parameters
numpy_ml/neural_nets/layers/layers.py:4388
Methodparameters
(self)
numpy_ml/neural_nets/models/wgan_gp.py:170
Methodparameters
(self)
numpy_ml/neural_nets/models/vae.py:211
Methodparameters
Model parameters
numpy_ml/neural_nets/models/w2v.py:147
Methodparameters
A dictionary of the current bandit parameters
numpy_ml/bandits/bandits.py:486
Methodparameters
A dictionary containing the current policy parameters
numpy_ml/bandits/policies.py:31
Methodparameters
A dictionary containing the current policy parameters
numpy_ml/bandits/policies.py:144
Methodparameters
A dictionary containing the current policy parameters
numpy_ml/bandits/policies.py:233
Methodparameters
A dictionary containing the current policy parameters
numpy_ml/bandits/policies.py:335
Methodparameters
A dictionary containing the current policy parameters
numpy_ml/bandits/policies.py:439
Methodparameters
(self)
numpy_ml/preprocessing/general.py:177
Methodparameters
Return a dictionary of the current model parameters
numpy_ml/factorization/factors.py:64
Methodparameters
Return a dictionary of the current model parameters
numpy_ml/factorization/factors.py:213
Methodperplexity
r""" Calculate the model perplexity on a sequence of words. Notes ----- Perplexity, `PP`, is defined as .. m
numpy_ml/ngram/ngram.py:178
Functionplot
()
numpy_ml/plots/trees_plots.py:20
Functionplot
()
numpy_ml/plots/gmm_plots.py:72
Functionplot_bayes
()
numpy_ml/plots/lm_plots.py:112
Functionplot_comparison
Use the BanditTrainer to compare several policies on the same bandit problem
numpy_ml/plots/bandit_plots.py:151
Functionplot_count_models
(GT, N)
numpy_ml/plots/ngram_plots.py:15
Functionplot_epsilon_greedy_multinomial_payoff
Evaluate an epsilon-greedy policy on a random multinomial bandit problem
numpy_ml/plots/bandit_plots.py:46
Functionplot_gp
()
numpy_ml/plots/nonparametric_plots.py:166
Functionplot_gp_dist
()
numpy_ml/plots/nonparametric_plots.py:196
Functionplot_gt_freqs
Draws a scatterplot of the empirical frequencies of the counted species versus their Simple Good Turing smoothed values, in rank order. Depen
numpy_ml/plots/ngram_plots.py:80
Functionplot_knn
()
numpy_ml/plots/nonparametric_plots.py:104
Functionplot_lin_ucb
Plot the linUCB policy on a contextual linear bandit problem
numpy_ml/plots/bandit_plots.py:99
Functionplot_logistic
()
numpy_ml/plots/lm_plots.py:69
Functionplot_regression
()
numpy_ml/plots/lm_plots.py:219
Functionplot_regression
()
numpy_ml/plots/nonparametric_plots.py:35
Functionplot_thompson_sampling_beta_binomial_payoff
Evaluate the ThompsonSamplingBetaBinomial policy on a random Bernoulli multi-armed bandit.
numpy_ml/plots/bandit_plots.py:82
Functionplot_ucb1_gaussian_shortest_path
Plot the UCB1 policy on a graph shortest path problem each edge weight drawn from an independent univariate Gaussian
numpy_ml/plots/bandit_plots.py:114
Functionplot_ucb1_multinomial_payoff
Evaluate the UCB1 policy on a multinomial bandit environment
numpy_ml/plots/bandit_plots.py:65
Functionplot_unsmoothed
()
numpy_ml/plots/lda_plots.py:62
Methodpredict
(self, X)
numpy_ml/trees/losses.py:12
Methodpredict
(self, X)
numpy_ml/trees/losses.py:22
Methodpredict_class_probs
Use the trained decision tree to return the class probabilities for the examples in `X`. Parameters ----------
numpy_ml/trees/dt.py:104
Functionrandom_binary_tensor
Create a random binary tensor of shape `shape`. `sparsity` is a value between 0 and 1 controlling the ratio of 0s to 1s in the output tensor.
numpy_ml/utils/testing.py:91
Functionrandom_binary_tensor
(shape, sparsity=0.5)
numpy_ml/plots/lm_plots.py:33
Methodreconstruct
Reconstruct an input `X` by running the trained Gibbs sampler for `n_steps`-worth of CD-`k`. Parameters ----------
numpy_ml/neural_nets/layers/layers.py:587
Methodreset
Reset the policy parameters and counters to their initial states.
numpy_ml/bandits/policies.py:63
Methodreset_running_stats
Reset the running mean and variance estimates to 0 and 1.
numpy_ml/neural_nets/layers/layers.py:1089
Methodreset_running_stats
Reset the running mean and variance estimates to 0 and 1.
numpy_ml/neural_nets/layers/layers.py:1336
Methodreset_step
Reset the step counter to zero
numpy_ml/neural_nets/optimizers/optimizers.py:29
Methodreverse
Reverse the direction of all edges in the graph
numpy_ml/utils/graphs.py:196
Methodrun_episode
Run the agent on a single episode. Parameters ---------- max_steps : int The maximum number of steps to
numpy_ml/rl_models/agents.py:238
Methodrun_episode
Run the agent on a single episode. Parameters ---------- max_steps : int The maximum number of steps to
numpy_ml/rl_models/agents.py:661
Methodrun_episode
Run the agent on a single episode without updating the priority queue or performing backups. Parameters ----------
numpy_ml/rl_models/agents.py:945
Methodrun_episode
Run the agent on a single episode without performing `Q`-function backups. Parameters ---------- max_steps :
numpy_ml/rl_models/agents.py:1752
Methodset_params
Set the base layer parameters from a dictionary of values. Parameters ---------- summary_dict : dict A d
numpy_ml/neural_nets/wrappers/wrappers.py:123
Methodset_params
Set the layer parameters from a dictionary of values. Parameters ---------- summary_dict : dict A dictio
numpy_ml/neural_nets/layers/layers.py:88
Methodset_params
Set the layer parameters from a dictionary of values. Parameters ---------- summary_dict : dict A dictio
numpy_ml/neural_nets/layers/layers.py:4403
Methodset_params
Set the scheduler hyperparameters from a dictionary.
numpy_ml/neural_nets/schedulers/schedulers.py:31
Methodset_params
Set the parameters of the optimizer object from a dictionary
numpy_ml/neural_nets/optimizers/optimizers.py:37
Methodshape
The number of unique word tokens in the vocabulary
numpy_ml/preprocessing/nlp.py:1093
Methodsummary
(self)
numpy_ml/neural_nets/modules/modules.py:111
Methodsummary
Return a dict of the layer parameters, hyperparameters, and ID.
numpy_ml/neural_nets/wrappers/wrappers.py:142
Methodsummary
Return a dict of the layer parameters, hyperparameters, and ID.
numpy_ml/neural_nets/layers/layers.py:130
Methodsummary
Return the dictionary of model parameters, hyperparameters, and ID
numpy_ml/utils/kernels.py:26
Functiontest_AddLayer
(N=15)
numpy_ml/tests/test_nn.py:955
Functiontest_BatchNorm1D
(N=15)
numpy_ml/tests/test_nn.py:748
Functiontest_BatchNorm2D
(N=15)
numpy_ml/tests/test_nn.py:1011
Functiontest_BidirectionalLSTM
(N=15)
numpy_ml/tests/test_nn.py:1990
Functiontest_Conv1D
(N=15)
numpy_ml/tests/test_nn.py:1267
Functiontest_Conv2D
(N=15)
numpy_ml/tests/test_nn.py:1130
Functiontest_DPAttention
(N=15)
numpy_ml/tests/test_nn.py:1216
Functiontest_DecisionTree
(N=1)
numpy_ml/tests/test_trees.py:70
Functiontest_Deconv2D
(N=15)
numpy_ml/tests/test_nn.py:1348
Functiontest_Embedding
(N=15)
numpy_ml/tests/test_nn.py:699
Functiontest_FullyConnected
(N=15)
numpy_ml/tests/test_nn.py:640
Functiontest_GaussianNB
(N=10)
numpy_ml/tests/test_naive_bayes.py:12
Functiontest_HMM
()
numpy_ml/plots/hmm_plots.py:130
Functiontest_LSTMCell
(N=15)
numpy_ml/tests/test_nn.py:1482
Functiontest_LayerNorm1D
(N=15)
numpy_ml/tests/test_nn.py:800
Functiontest_LayerNorm2D
(N=15)
numpy_ml/tests/test_nn.py:846
Functiontest_MultiHeadedAttentionModule
(N=15)
numpy_ml/tests/test_nn.py:1606
Functiontest_MultiplyLayer
(N=15)
numpy_ml/tests/test_nn.py:899
Functiontest_NCELoss
(N=1)
numpy_ml/tests/test_nn.py:241
Functiontest_Pool2D
(N=15)
numpy_ml/tests/test_nn.py:1430
Functiontest_RNNCell
(N=15)
numpy_ml/tests/test_nn.py:1067
Functiontest_RandomForest
(N=1)
numpy_ml/tests/test_trees.py:154
Functiontest_SkipConnectionConvModule
(N=15)
numpy_ml/tests/test_nn.py:1822
Functiontest_SkipConnectionIdentityModule
(N=15)
numpy_ml/tests/test_nn.py:1692
Functiontest_VAE_loss
(N=15)
numpy_ml/tests/test_nn.py:147
Functiontest_WGAN_GP
(N=1)
numpy_ml/tests/test_nn.py:2326
Functiontest_WGAN_GP_loss
(N=5)
numpy_ml/tests/test_nn.py:189
Functiontest_WaveNetModule
(N=10)
numpy_ml/tests/test_nn.py:2072
← previousnext →1,001–1,100 of 1,202, ranked by callers