Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdipaolo/goml
/ functions
Functions
339 in github.com/cdipaolo/goml
⨍
Functions
339
◇
Types & classes
31
Function
TestTwoDimensionalSoftmaxShouldPass1
(t *testing.T)
linear/softmax_test.go:390
Function
TestTwoDimensionalSoftmaxShouldPass2
same as above but with StochasticGA
linear/softmax_test.go:444
Function
TestWords
(t *testing.T)
base/sanitize_test.go:42
Function
TestWordsAndNumbers
(t *testing.T)
base/sanitize_test.go:14
Method
Theta
Theta returns the parameter vector θ for use in persisting the model, and optimizing the model through gradient descent ( or other methods like Newton
linear/linear.go:587
Method
Theta
Theta returns the parameter vector θ for use in persisting the model, and optimizing the model through gradient descent ( or other methods like Newton
linear/softmax.go:659
Method
Theta
Theta returns the parameter vector θ for use in persisting the model, and optimizing the model through gradient descent ( or other methods like Newton
linear/logistic.go:544
Method
Theta
Theta returns a pointer to the parameter vector theta, which is 1D vector of floats
base/model.go:169
Method
UnmarshalJSON
(data []byte)
text/bayes.go:203
Method
UpdateLearningRate
UpdateLearningRate set's the learning rate of the model to the given float64.
linear/linear.go:182
Method
UpdateLearningRate
UpdateLearningRate set's the learning rate of the model to the given float64.
linear/softmax.go:137
Method
UpdateLearningRate
UpdateLearningRate set's the learning rate of the model to the given float64.
linear/logistic.go:147
Method
UpdateLearningRate
UpdateLearningRate set's the learning rate of the model to the given float64.
linear/local_linear.go:191
Method
UpdateLearningRate
UpdateLearningRate set's the learning rate of the model to the given float64.
perceptron/perceptron.go:182
Method
UpdateLearningRate
UpdateLearningRate set's the learning rate of the model to the given float64.
cluster/kmeans.go:219
Method
UpdateSanitize
UpdateSanitize updates the NaiveBayes model's text sanitization transformation function
text/bayes.go:451
Method
UpdateStream
UpdateStream updates the datastream channel used in learning for the algorithm
base/model.go:71
Method
UpdateStream
UpdateStream updates the datastream channel used in learning for the algorithm
base/model.go:106
Method
UpdateStream
UpdateStream updates the NaiveBayes model's text datastream
text/bayes.go:445
Method
UpdateTokenizer
UpdateTokenizer updates NaiveBayes model's tokenizer function. The default implementation will convert the input to lower case and split on the space
text/bayes.go:458
Method
UpdateTrainingSet
UpdateTrainingSet takes in a new training set (variable x) as well as a new result set (y). This could be useful if you want to retrain a model starti
linear/linear.go:166
Method
UpdateTrainingSet
UpdateTrainingSet takes in a new training set (variable x) as well as a new result set (y). This could be useful if you want to retrain a model starti
linear/softmax.go:121
Method
UpdateTrainingSet
UpdateTrainingSet takes in a new training set (variable x) as well as a new result set (y). This could be useful if you want to retrain a model starti
linear/logistic.go:131
Method
UpdateTrainingSet
UpdateTrainingSet takes in a new training set (variable x) as well as a new result set (y). This could be useful if you want to retrain a model starti
linear/local_linear.go:175
Method
UpdateTrainingSet
UpdateTrainingSet takes in a new training set (variable x.) Will reset the hidden 'guesses' param of the KMeans model.
cluster/kmeans.go:206
Method
UpdateTrainingSet
UpdateTrainingSet takes in a new training set (variable x.)
cluster/knn.go:106
Method
UpdateTrainingSet
UpdateTrainingSet takes in a new training set (variable x.) Will reset the hidden 'guesses' param of the KMeans model.
cluster/triangle_kmeans.go:230
Function
init
tests basically make a bunch of planes where when the input is above the plane the resultant output is 1.0, else 0.0
linear/logistic_test.go:32
Function
init
()
linear/linear_test.go:29
Function
init
()
linear/local_linear_test.go:13
Function
init
tests basically make a bunch of Softmaxs where when the input is above the Softmax the resultant output is 1.0, else 0.0
linear/softmax_test.go:25
Function
init
()
perceptron/kernel_perceptron_test.go:13
Function
init
()
perceptron/perceptron_test.go:13
Function
init
()
base/data_test.go:14
Function
init
()
text/bayes_test.go:16
Function
init
()
text/tfidf_test.go:14
Function
init
()
cluster/triangle_kmeans_test.go:18
Function
init
()
cluster/knn_test.go:22
Function
init
()
cluster/kmeans_test.go:20
← previous
301–339 of 339, ranked by callers