MCPcopy Create free account

hub / github.com/rushter/MLAlgorithms / functions

Functions368 in github.com/rushter/MLAlgorithms

↓ 1 callersMethod_train
(self)
mla/fm.py:52
↓ 1 callersMethod_train
Use CD-1 training procedure, basically an exact inference for `positive_associations`, followed by a "non burn-in" block Gibbs Sampling for th
mla/rbm.py:54
↓ 1 callersMethod_train
(self)
mla/ensemble/random_forest.py:47
↓ 1 callersMethod_train
( self, X, target, max_features=None, min_samples_split=10, ma
mla/ensemble/tree.py:70
↓ 1 callersMethod_train
(self)
mla/ensemble/gbm.py:100
↓ 1 callersMethod_train
(self)
mla/svm/svm.py:49
↓ 1 callersFunctionabsolute_error
(actual, predicted)
mla/metrics/metrics.py:20
↓ 1 callersFunctionaddition_dataset
Generate binary addition dataset. http://devankuleindiren.com/Projects/rnn_arithmetic.php
examples/nnet_rnn_binary_add.py:20
↓ 1 callersFunctionaddition_problem
(ReccurentLayer)
examples/nnet_rnn_binary_add.py:56
↓ 1 callersMethodaggregate
(self, neighbors_targets)
mla/knn.py:28
↓ 1 callersMethodapproximate
Approximate leaf value.
mla/ensemble/gbm.py:34
↓ 1 callersFunctionclassification
()
examples/nearest_neighbors.py:34
↓ 1 callersFunctionclassification
()
examples/linear_models.py:38
↓ 1 callersFunctionclassification
()
examples/nnet_mlp.py:23
↓ 1 callersFunctionclassification
()
examples/random_forest.py:19
↓ 1 callersFunctionclassification
()
examples/gbm.py:18
↓ 1 callersFunctionclassification
()
examples/svm.py:16
↓ 1 callersFunctionclassification
()
examples/naive_bayes.py:8
↓ 1 callersFunctionclassification_error
(actual, predicted)
mla/metrics/metrics.py:25
↓ 1 callersMethoderror
Calculate an error for given examples.
mla/neuralnet/nnet.py:134
↓ 1 callersMethodfit
(self, X, y=None)
mla/ensemble/gbm.py:142
↓ 1 callersMethodfit_transform
(self, X, y=None)
mla/tsne.py:43
↓ 1 callersFunctionget_loss
Returns loss function by the name.
mla/neuralnet/loss.py:6
↓ 1 callersFunctionget_split_mask
(X, column, value)
mla/ensemble/base.py:41
↓ 1 callersMethodgrad
(self, weights)
mla/neuralnet/regularizers.py:14
↓ 1 callersMethodinit_cost
(self)
mla/linear_models.py:49
↓ 1 callersMethodinit_environment
(self, name="CartPole-v0", monitor=False)
mla/rl/dqn.py:55
↓ 1 callersMethodinit_model
(self, model)
mla/rl/dqn.py:68
↓ 1 callersFunctionkmeans_example
(plot=False)
examples/kmeans.py:7
↓ 1 callersFunctionload_mnist
()
mla/datasets/base.py:11
↓ 1 callersFunctionload_nietzsche
()
mla/datasets/base.py:58
↓ 1 callersFunctionmake_clusters
(skew=True, *arg, **kwargs)
examples/gaussian_mixture.py:12
↓ 1 callersFunctionmean_squared_log_error
(actual, predicted)
mla/metrics/metrics.py:46
↓ 1 callersFunctionmoving_average
(a, n=25)
examples/rbm.py:13
↓ 1 callersMethodoptimize
(self, network)
mla/neuralnet/optimizers.py:18
↓ 1 callersMethodplay
(self, episodes)
mla/rl/dqn.py:145
↓ 1 callersMethodplot
Plot contour for 2D data.
mla/gaussian_mixture.py:138
↓ 1 callersFunctionpooling_shape
Calculate output shape for pooling layer.
mla/neuralnet/layers/convnet.py:221
↓ 1 callersMethodpredict
(self, X=None)
mla/ensemble/gbm.py:137
↓ 1 callersFunctionprint_curve
(rbm)
examples/rbm.py:10
↓ 1 callersMethodrandom_index
(self, z)
mla/svm/svm.py:141
↓ 1 callersFunctionregression
()
examples/nearest_neighbors.py:13
↓ 1 callersFunctionregression
()
examples/linear_models.py:17
↓ 1 callersFunctionregression
()
examples/nnet_mlp.py:59
↓ 1 callersFunctionsample
(preds, temperature=1.0)
examples/nnet_rnn_text_generation.py:22
↓ 1 callersMethodsetup
Allocates initial weights.
mla/neuralnet/layers/basic.py:12
↓ 1 callersMethodshape
Returns shape of the current layer.
mla/neuralnet/layers/basic.py:22
↓ 1 callersMethodshape
(self, x_shape)
mla/neuralnet/layers/convnet.py:71
↓ 1 callersMethodshuffle_dataset
Shuffle rows in the dataset.
mla/neuralnet/nnet.py:162
↓ 1 callersFunctionsoftmax
(z)
mla/neuralnet/activations.py:13
↓ 1 callersFunctionsoftplus
Smooth relu.
mla/neuralnet/activations.py:23
↓ 1 callersFunctionsplit
(X, y, value)
mla/ensemble/base.py:47
↓ 1 callersFunctionsquared_error
(actual, predicted)
mla/metrics/metrics.py:38
↓ 1 callersFunctionsquared_log_error
(actual, predicted)
mla/metrics/metrics.py:42
↓ 1 callersMethodtrain
(self, render=False)
mla/rl/dqn.py:71
↓ 1 callersMethodtrain_epoch
(self, network)
mla/neuralnet/optimizers.py:39
↓ 1 callersMethodtransform
Transform predictions values.
mla/ensemble/gbm.py:40
↓ 1 callersFunctionvalidate_input
(function)
mla/metrics/base.py:20
↓ 1 callersMethodweight
(self, X)
mla/neuralnet/layers/basic.py:75
↓ 1 callersFunctionxgb_criterion
(y, left, right, loss)
mla/ensemble/base.py:33
Method__call__
(self, weights)
mla/neuralnet/regularizers.py:17
Method__call__
(self, x, y)
mla/svm/kernerls.py:7
Method__call__
(self, x, y)
mla/svm/kernerls.py:18
Method__call__
(self, x, y)
mla/svm/kernerls.py:29
Method__getitem__
(self, item)
mla/neuralnet/parameters.py:91
Method__init__
A t-Distributed Stochastic Neighbor Embedding implementation. Parameters ---------- max_iter : int, default 200 perpl
mla/tsne.py:22
Method__init__
Principal component analysis (PCA) implementation. Transforms a dataset of possibly correlated values into n linearly uncorrelated co
mla/pca.py:15
Method__init__
Basic class for implementing continuous regression estimators which are trained with gradient descent optimization on their particular loss
mla/linear_models.py:15
Method__init__
Simplified factorization machines implementation using SGD optimizer.
mla/fm.py:19
Method__init__
Bernoulli Restricted Boltzmann Machine (RBM) Parameters ---------- n_hidden : int, default 128 The number of hid
mla/rbm.py:22
Method__init__
(self, K=5, max_iters=100, init="random")
mla/kmeans.py:45
Method__init__
(self, K=4, init="random", max_iters=500, tolerance=1e-3)
mla/gaussian_mixture.py:44
Method__init__
Base class for Nearest neighbors classifier and regressor. Parameters ---------- k : int, default 5 The number of
mla/knn.py:12
Method__init__
A container for layer's parameters. Parameters ---------- init : str, default 'glorot_uniform'. The name of the w
mla/neuralnet/parameters.py:8
Method__init__
( self, layers, optimizer, loss, max_epochs=10, batch_size=64,
mla/neuralnet/nnet.py:25
Method__init__
(self, C=0.01)
mla/neuralnet/regularizers.py:7
Method__init__
(self, m=2, axis=0)
mla/neuralnet/constraints.py:13
Method__init__
(self, axis=0)
mla/neuralnet/constraints.py:36
Method__init__
(self, learning_rate=0.01, momentum=0.9, decay=0.0, nesterov=False)
mla/neuralnet/optimizers.py:72
Method__init__
(self, learning_rate=0.01, epsilon=1e-8)
mla/neuralnet/optimizers.py:103
Method__init__
(self, learning_rate=1.0, rho=0.95, epsilon=1e-8)
mla/neuralnet/optimizers.py:124
Method__init__
(self, learning_rate=0.001, rho=0.9, epsilon=1e-8)
mla/neuralnet/optimizers.py:159
Method__init__
(self, learning_rate=0.001, beta_1=0.9, beta_2=0.999, epsilon=1e-8)
mla/neuralnet/optimizers.py:183
Method__init__
(self, learning_rate=0.002, beta_1=0.9, beta_2=0.999, epsilon=1e-8)
mla/neuralnet/optimizers.py:222
Method__init__
A fully connected layer. Parameters ---------- output_dim : int
mla/neuralnet/layers/basic.py:54
Method__init__
(self, name)
mla/neuralnet/layers/basic.py:93
Method__init__
(self, p=0.1)
mla/neuralnet/layers/basic.py:113
Method__init__
(self, step=-1)
mla/neuralnet/layers/basic.py:137
Method__init__
(self, output_dim)
mla/neuralnet/layers/basic.py:153
Method__init__
A 2D convolutional layer. Input shape: (n_images, n_channels, height, width) Parameters ---------- n_filters : int, d
mla/neuralnet/layers/convnet.py:9
Method__init__
Max pooling layer. Input shape: (n_images, n_channels, height, width) Parameters ---------- pool_shape : tuple(int, i
mla/neuralnet/layers/convnet.py:79
Method__init__
(self, momentum=0.9, eps=1e-5, parameters=None)
mla/neuralnet/layers/normalization.py:14
Method__init__
( self, hidden_dim, activation="tanh", inner_init="orthogonal", parame
mla/neuralnet/layers/recurrent/rnn.py:13
Method__init__
( self, hidden_dim, activation="tanh", inner_init="orthogonal", parame
mla/neuralnet/layers/recurrent/lstm.py:18
Method__init__
Deep Q learning implementation. Parameters ---------- min_epsilon : float Minimal value for epsilon. eps
mla/rl/dqn.py:21
Method__init__
( self, n_estimators=10, max_features=None, min_samples_split=10, max_
mla/ensemble/random_forest.py:62
Method__init__
( self, n_estimators=10, max_features=None, min_samples_split=10, max_
mla/ensemble/random_forest.py:102
Method__init__
(self, regression=False, criterion=None, n_classes=None)
mla/ensemble/tree.py:15
Method__init__
(self, regularization=1.0)
mla/ensemble/gbm.py:23
Method__init__
( self, n_estimators, learning_rate=0.1, max_features=10, max_depth=2,
mla/ensemble/gbm.py:79
← previousnext →101–200 of 368, ranked by callers