Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ functions
Functions
1,905 in github.com/lazyprogrammer/machine_learning_examples
⨍
Functions
1,905
◇
Types & classes
254
↳
Endpoints
4
↓ 2 callers
Function
y2indicator
(Y)
cnn_class2/util.py:50
↓ 2 callers
Function
y2indicator
(y, K)
ann_logistic_extra/logistic_softmax_train.py:13
↓ 2 callers
Function
y2indicator
(y, K)
ann_logistic_extra/ann_train.py:13
↓ 1 callers
Function
DBI2
(X, R)
unsupervised_class/kmeans_mnist.py:70
↓ 1 callers
Function
T_shared_zeros_like32
(p)
unsupervised_class2/autoencoder.py:17
↓ 1 callers
Function
VGG16_AvgPool_CutOff
(shape, num_convs)
cnn_class2/style_transfer1.py:56
↓ 1 callers
Method
__array__
(self, dtype=None)
rl3/a2c/atari_wrappers.py:212
↓ 1 callers
Method
_decision_function
(self, X)
svm_class/svm_gradient.py:82
↓ 1 callers
Method
_get_valid_indices
(self)
rl2/atari/dqn_tf.py:123
↓ 1 callers
Method
_get_valid_indices
(self)
rl2/atari/dqn_theano.py:117
↓ 1 callers
Method
_objective
(self, margins)
svm_class/linear_svm_gradient.py:23
↓ 1 callers
Method
_objective
(self, margins)
svm_class/kernel_svm_gradient_primal.py:43
↓ 1 callers
Method
_trade
(self, action)
tf2.0/rl_trader.py:216
↓ 1 callers
Method
_trade
(self, action)
tf2.0/keras_trader.py:223
↓ 1 callers
Method
_trade
(self, action)
tf2.0/mlp_trader.py:204
↓ 1 callers
Method
_trade
(self, action)
rl/linear_rl_trader.py:210
↓ 1 callers
Method
_trade
(self, action)
pytorch/rl_trader.py:241
↓ 1 callers
Method
_train_objective
(self)
svm_class/svm_gradient.py:45
↓ 1 callers
Method
act
(self, state)
tf2.0/rl_trader.py:275
↓ 1 callers
Method
act
(self, state)
tf2.0/keras_trader.py:282
↓ 1 callers
Method
act
(self, state)
tf2.0/mlp_trader.py:263
↓ 1 callers
Method
act
(self, state)
pytorch/rl_trader.py:304
↓ 1 callers
Function
adagrad
(cost, params, lr, eps=1e-10)
nlp_class2/recursive_theano.py:21
↓ 1 callers
Function
adagrad
(cost, params, lr, eps=1e-10)
nlp_class2/rntn_theano.py:71
↓ 1 callers
Function
adam
(cost, params, lr0=1e-2, beta1=0.9, beta2=0.999, eps=1e-8)
rl2/cartpole/dqn_theano.py:30
↓ 1 callers
Method
add_experience
(self, s, a, r, s2, done)
rl2/cartpole/dqn_tf.py:146
↓ 1 callers
Method
add_experience
(self, s, a, r, s2, done)
rl2/cartpole/dqn_theano.py:159
↓ 1 callers
Function
annotate1
(X, index_word_map, eps=0.1)
unsupervised_class/books.py:207
↓ 1 callers
Function
benchmark_full
()
ann_class2/util.py:199
↓ 1 callers
Method
build
(self, preSoftmaxPi, preSoftmaxA, preSoftmaxB)
hmm_class/hmmd_tf.py:56
↓ 1 callers
Method
build
(self, preSoftmaxPi, preSoftmaxA, preSoftmaxR, mu, logSigma)
hmm_class/hmmc_tf.py:46
↓ 1 callers
Method
build
(self, D, M)
unsupervised_class2/rbm_tf.py:26
↓ 1 callers
Method
build
(self, D, M)
unsupervised_class2/autoencoder_tf.py:28
↓ 1 callers
Method
build
(self, D, M, K)
recommenders/rbm_tf_k.py:88
↓ 1 callers
Method
build
(self, D, M, K)
recommenders/rbm_tf_k_faster.py:42
↓ 1 callers
Method
build_discriminator
(self, X, d_sizes)
unsupervised_class3/dcgan_tf.py:258
↓ 1 callers
Method
build_discriminator
(self, X, d_sizes)
unsupervised_class3/dcgan_theano.py:336
↓ 1 callers
Method
build_final_layer
(self, D, M, K)
unsupervised_class2/autoencoder_tf.py:111
↓ 1 callers
Method
build_generator
(self, Z, g_sizes)
unsupervised_class3/dcgan_tf.py:313
↓ 1 callers
Method
build_generator
(self, Z, g_sizes)
unsupervised_class3/dcgan_theano.py:394
↓ 1 callers
Function
build_state
(features)
rl2/cartpole/q_learning_bins.py:26
↓ 1 callers
Function
cat_entropy
(logits)
rl3/a2c/a2c.py:17
↓ 1 callers
Function
celeb
()
unsupervised_class3/dcgan_theano.py:593
↓ 1 callers
Function
choose_random_argmax
(a)
ab_testing/epsilon_greedy.py:35
↓ 1 callers
Function
classification_rate
(Y, P)
ann_class/forwardprop.py:53
↓ 1 callers
Function
classification_rate
(Y, P)
ann_class/backprop.py:27
↓ 1 callers
Function
classification_rate
(Y, P)
ann_logistic_extra/logistic_predict.py:28
↓ 1 callers
Function
classification_rate
(Y, P)
ann_logistic_extra/ann_predict.py:35
↓ 1 callers
Function
clouds
()
svm_class/linear_svm_gradient.py:113
↓ 1 callers
Method
confusion_matrix
(self, X, Y)
bayesian_ml/2/probit.py:61
↓ 1 callers
Method
confusion_matrix
(self, X, Y)
bayesian_ml/1/nb.py:78
↓ 1 callers
Function
convert_probs_to_ratings
(probs)
recommenders/rbm_tf_k.py:53
↓ 1 callers
Function
convert_xmls_to_cocojson
(annotation_paths: List[str], label2id: Dict[str, int],
kerascv/pascal2coco.py:85
↓ 1 callers
Method
copy
(self)
rl2/mountaincar/pg_theano_random.py:123
↓ 1 callers
Method
copyFromKerasLayers
(self, layers)
cnn_class2/tf_resnet_first_layers.py:83
↓ 1 callers
Method
copyFromKerasLayers
(self, layers)
cnn_class2/tf_resnet_first_layers_starter.py:31
↓ 1 callers
Method
copyFromKerasLayers
(self, layers)
cnn_class2/tf_resnet.py:147
↓ 1 callers
Method
copy_from
(self, other)
rl2/atari/dqn_tf.py:212
↓ 1 callers
Method
copy_from
(self, other)
rl2/atari/dqn_theano.py:302
↓ 1 callers
Method
copy_from
(self, other)
rl2/mountaincar/pg_tf_random.py:151
↓ 1 callers
Method
copy_from
(self, other)
rl2/mountaincar/pg_theano_random.py:128
↓ 1 callers
Method
copy_from
(self, other)
rl2/cartpole/dqn_tf.py:103
↓ 1 callers
Method
copy_from
(self, other)
rl2/cartpole/dqn_theano.py:128
↓ 1 callers
Function
cost
(T, Y)
ann_class/backprop.py:99
↓ 1 callers
Function
cost
(X, R, M)
unsupervised_class/books.py:87
↓ 1 callers
Function
cost
(X, R, M)
unsupervised_class/kmeans_visualize.py:19
↓ 1 callers
Method
createFromArrays
(W, c, b, an_id)
unsupervised_class2/rbm.py:111
↓ 1 callers
Function
crop_and_resave
(inputfile, outputdir)
unsupervised_class3/util.py:104
↓ 1 callers
Function
cross_entropy
(T, Y)
logistic_regression_class/bad_xor.py:47
↓ 1 callers
Function
cross_entropy
(T, Y)
logistic_regression_class/logistic3.py:51
↓ 1 callers
Function
cross_entropy
(T, Y)
logistic_regression_class/logistic_donut.py:62
↓ 1 callers
Function
cross_entropy
(T, Y)
logistic_regression_class/logistic_xor.py:49
↓ 1 callers
Function
cross_entropy
(T, Y)
logistic_regression_class/logistic4.py:50
↓ 1 callers
Function
custom_softmax
(x)
cnn_class2/test_softmax.py:13
↓ 1 callers
Function
d
(u, v)
unsupervised_class/books.py:83
↓ 1 callers
Function
d
(u, v)
unsupervised_class/kmeans.py:15
↓ 1 callers
Function
ddpg
( env_fn, ac_kwargs=dict(), seed=0, save_folder=None, num_train_episodes=100, test_age
rl3/ddpg.py:87
↓ 1 callers
Function
decode_sequence
(input_seq)
nlp_class3/wseq2seq.py:326
↓ 1 callers
Function
decode_sequence
(input_seq)
nlp_class3/attention.py:440
↓ 1 callers
Function
dense_to_one_hot
Convert class labels from scalars to one-hot vectors.
tensorflow/input_data.py:40
↓ 1 callers
Function
derivative_V
(Z, Y, Yhat)
ann_class/regression.py:64
↓ 1 callers
Function
derivative_W
(X, Z, Y, Yhat, V)
ann_class/regression.py:70
↓ 1 callers
Function
derivative_b
(Z, Y, Yhat, V)
ann_class/regression.py:75
↓ 1 callers
Function
derivative_b1
(T, Y, W2, Z)
ann_class/backprop.py:95
↓ 1 callers
Function
derivative_b2
(T, Y)
ann_class/backprop.py:91
↓ 1 callers
Function
derivative_c
(Y, Yhat)
ann_class/regression.py:67
↓ 1 callers
Function
derivative_w1
(X, Z, T, Y, W2)
ann_class/backprop.py:70
↓ 1 callers
Function
derivative_w2
(Z, T, Y)
ann_class/backprop.py:37
↓ 1 callers
Function
display_tree
(t, lvl=0)
nlp_class2/util.py:81
↓ 1 callers
Function
donut
()
svm_class/kernel_svm_gradient_primal.py:157
↓ 1 callers
Function
donut
()
unsupervised_class/kmeans_fail.py:14
↓ 1 callers
Function
download_file
(file_id, dest)
unsupervised_class3/util.py:160
↓ 1 callers
Function
download_text8
(dst)
nlp_class2/word2vec_tf.py:46
↓ 1 callers
Function
epsilon_greedy
(Q, s, eps=0.1)
rl/q_learning.py:20
↓ 1 callers
Function
epsilon_greedy
(policy, s, eps=0.1)
rl/td0_prediction.py:20
↓ 1 callers
Function
epsilon_greedy
(greedy, s, eps=0.1)
rl/approx_prediction.py:20
↓ 1 callers
Function
epsilon_greedy
(model, s, eps=0.1)
rl/approx_control.py:23
↓ 1 callers
Function
error_rate
(p, t)
ann_class2/dropout_theano.py:145
↓ 1 callers
Function
error_rate
(p, t)
ann_class2/tensorflow2.py:21
↓ 1 callers
Function
error_rate
(p, t)
ann_class2/dropout_tensorflow.py:131
← previous
next →
601–700 of 1,905, ranked by callers