Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Machine-Learning-With-Go
/ functions
Functions
121 in github.com/PacktPublishing/Machine-Learning-With-Go
⨍
Functions
121
◇
Types & classes
19
↓ 4 callers
Function
dfFloatRow
dfFloatRow retrieves a slice of float values from a DataFrame at the given index and for the given column names.
Chapter06/evaluating/example2/myprogram.go:148
↓ 2 callers
Function
convertToBinary
convertToBinary utilizes built in golearn functionality to convert our labels to a binary label format.
Chapter05/naive_bayes/example1/myprogram.go:49
↓ 2 callers
Function
filesExist
(files ...string)
Chapter08/deep_learning/example1/myprogram.go:230
↓ 2 callers
Function
sigmoid
sigmoid implements the sigmoid function for use in activation functions.
Chapter08/utilizing_our_simple_nn/example1/myprogram.go:353
↓ 2 callers
Function
sumAlongAxis
sumAlongAxis sums a matrix along a particular dimension, preserving the other dimension.
Chapter08/utilizing_our_simple_nn/example1/myprogram.go:366
↓ 2 callers
Function
sumAlongAxis
sumAlongAxis sums a matrix along a particular dimension, preserving the other dimension.
Chapter08/building_a_simple_nn/example1/myprogram.go:197
↓ 2 callers
Function
withinClusterMean
withinClusterMean calculates the mean distance between points in a cluster and the centroid of the cluster.
Chapter06/k-means/example5/myprogram.go:49
↓ 1 callers
Function
Predict
Predict makes a prediction based on input JSON.
Chapter09/running_model_reliably/example3/myprogram.go:106
↓ 1 callers
Function
acf
acf calculates the autocorrelation for a series at the given lag.
Chapter07/statistics/example2/myprogram.go:73
↓ 1 callers
Function
acf
acf calculates the autocorrelation for a series at the given lag.
Chapter07/statistics/example1/myprogram.go:40
↓ 1 callers
Function
acf
acf calculates the autocorrelation for a series at the given lag.
Chapter07/auto_regressive/example3/myprogram.go:73
↓ 1 callers
Function
autoregressive
autoregressive calculates an AR model for a series at a given order.
Chapter07/auto_regressive/example5/myprogram.go:38
↓ 1 callers
Function
constructGraphToNormalizeImage
The inception model takes as input the image described by a Tensor in a very specific normalized format (a particular image size, shape of the input t
Chapter08/deep_learning/example1/myprogram.go:172
↓ 1 callers
Function
download
(URL, filename string)
Chapter08/deep_learning/example1/myprogram.go:239
↓ 1 callers
Function
logistic
logistic implements the logistic function, which is used in logistic regression.
Chapter05/logistic_regression/example6/myprogram.go:88
↓ 1 callers
Function
logistic
logistic implements the logistic function, which is used in logistic regression.
Chapter05/logistic_regression/example2/myprogram.go:48
↓ 1 callers
Function
logistic
logistic implements the logistic function, which is used in logistic regression.
Chapter05/logistic_regression/example1/myprogram.go:15
↓ 1 callers
Function
logisticRegression
logisticRegression fits a logistic regression model for the given data.
Chapter05/logistic_regression/example6/myprogram.go:94
↓ 1 callers
Function
makeTensorFromImage
Convert the image in filename to a Tensor suitable as input to the Inception model.
Chapter08/deep_learning/example1/myprogram.go:134
↓ 1 callers
Function
modelFiles
(dir string)
Chapter08/deep_learning/example1/myprogram.go:206
↓ 1 callers
Function
newNetwork
NewNetwork initializes a new neural network.
Chapter08/utilizing_our_simple_nn/example1/myprogram.go:216
↓ 1 callers
Function
newNetwork
NewNetwork initializes a new neural network.
Chapter08/building_a_simple_nn/example1/myprogram.go:79
↓ 1 callers
Function
pacf
pacf calculates the partial autocorrelation for a series at the given lag.
Chapter07/statistics/example3/myprogram.go:40
↓ 1 callers
Function
pacf
pacf calculates the partial autocorrelation for a series at the given lag.
Chapter07/statistics/example4/myprogram.go:73
↓ 1 callers
Function
pacf
pacf calculates the partial autocorrelation for a series at the given lag.
Chapter07/auto_regressive/example4/myprogram.go:73
↓ 1 callers
Function
predict
predict uses our trained regression model to made a prediction based on a TV, Radio, and Newspaper value.
Chapter04/non-linear_regression/example3/myprogram.go:78
↓ 1 callers
Function
predict
predict uses our trained regression model to made a prediction.
Chapter04/linear_regression/example7/myprogram.go:77
↓ 1 callers
Function
predict
predict makes a prediction based on our trained logistic regression model.
Chapter05/logistic_regression/example7/myprogram.go:90
↓ 1 callers
Method
predict
predict makes a prediction based on a trained neural network.
Chapter08/utilizing_our_simple_nn/example1/myprogram.go:321
↓ 1 callers
Function
printBestLabel
(probabilities []float32, labelsFile string)
Chapter08/deep_learning/example1/myprogram.go:108
↓ 1 callers
Function
sigmoid
sigmoid implements the sigmoid function for use in activation functions.
Chapter08/building_a_simple_nn/example1/myprogram.go:184
↓ 1 callers
Function
sigmoidPrime
sigmoidPrime implements the derivative of the sigmoid function for backpropagation.
Chapter08/utilizing_our_simple_nn/example1/myprogram.go:359
↓ 1 callers
Function
sigmoidPrime
sigmoidPrime implements the derivative of the sigmoid function for backpropagation.
Chapter08/building_a_simple_nn/example1/myprogram.go:190
↓ 1 callers
Method
train
train trains a neural network using backpropagation.
Chapter08/utilizing_our_simple_nn/example1/myprogram.go:221
↓ 1 callers
Method
train
Train trains a neural network using backpropagation.
Chapter08/building_a_simple_nn/example1/myprogram.go:84
↓ 1 callers
Function
unzip
(dir, zipfile string)
Chapter08/deep_learning/example1/myprogram.go:254
Function
main
()
Chapter04/non-linear_regression/example3/myprogram.go:12
Function
main
()
Chapter04/non-linear_regression/example2/myprogram.go:14
Function
main
()
Chapter04/non-linear_regression/example1/myprogram.go:13
Function
main
()
Chapter04/linear_regression/example3/myprogram.go:14
Function
main
()
Chapter04/linear_regression/example6/myprogram.go:14
Function
main
()
Chapter04/linear_regression/example2/myprogram.go:14
Function
main
()
Chapter04/linear_regression/example4/myprogram.go:11
Function
main
()
Chapter04/linear_regression/example1/myprogram.go:11
Function
main
()
Chapter04/linear_regression/example7/myprogram.go:14
Function
main
()
Chapter04/linear_regression/example5/myprogram.go:13
Function
main
()
Chapter04/multiple_regression/example2/myprogram.go:14
Function
main
()
Chapter04/multiple_regression/example1/myprogram.go:13
Function
main
()
Chapter07/statistics/example3/myprogram.go:13
Function
main
()
Chapter07/statistics/example2/myprogram.go:16
Function
main
()
Chapter07/statistics/example4/myprogram.go:16
Function
main
()
Chapter07/statistics/example1/myprogram.go:13
Function
main
()
Chapter07/anomaly_detection/example1/myprogram.go:10
Function
main
()
Chapter07/representing_time_series/example2/myprogram.go:14
Function
main
()
Chapter07/representing_time_series/example1/myprogram.go:11
Function
main
()
Chapter07/auto_regressive/example3/myprogram.go:16
Function
main
()
Chapter07/auto_regressive/example6/myprogram.go:16
Function
main
()
Chapter07/auto_regressive/example2/myprogram.go:17
Function
main
()
Chapter07/auto_regressive/example4/myprogram.go:16
Function
main
()
Chapter07/auto_regressive/example1/myprogram.go:16
Function
main
()
Chapter07/auto_regressive/example5/myprogram.go:13
Function
main
()
Chapter06/evaluating/example2/myprogram.go:14
Function
main
()
Chapter06/evaluating/example1/myprogram.go:13
Function
main
()
Chapter06/distance/example1/myprogram.go:9
Function
main
()
Chapter06/k-means/example3/myprogram.go:14
Function
main
()
Chapter06/k-means/example2/myprogram.go:14
Function
main
()
Chapter06/k-means/example4/myprogram.go:15
Function
main
()
Chapter06/k-means/example1/myprogram.go:14
Function
main
()
Chapter06/k-means/example5/myprogram.go:12
Function
main
()
Chapter03/validation/training_test/example1/myprogram.go:11
Function
main
()
Chapter03/evaluation/categorical_metrics/example3/myprogram.go:10
Function
main
()
Chapter03/evaluation/categorical_metrics/example2/myprogram.go:12
Function
main
()
Chapter03/evaluation/categorical_metrics/example1/myprogram.go:12
Function
main
()
Chapter03/evaluation/continuous_metrics/example2/myprogram.go:14
Function
main
()
Chapter03/evaluation/continuous_metrics/example1/myprogram.go:13
Function
main
()
Chapter05/naive_bayes/example1/myprogram.go:13
Function
main
()
Chapter05/decision_tree/example2/myprogram.go:14
Function
main
()
Chapter05/decision_tree/example1/myprogram.go:14
Function
main
()
Chapter05/kNN/example1/myprogram.go:13
Function
main
()
Chapter05/logistic_regression/example3/myprogram.go:11
Function
main
()
Chapter05/logistic_regression/example6/myprogram.go:16
Function
main
()
Chapter05/logistic_regression/example2/myprogram.go:13
Function
main
()
Chapter05/logistic_regression/example4/myprogram.go:14
Function
main
()
Chapter05/logistic_regression/example1/myprogram.go:8
Function
main
()
Chapter05/logistic_regression/example7/myprogram.go:13
Function
main
()
Chapter05/logistic_regression/example5/myprogram.go:11
Function
main
()
Chapter01/sql-like_databases/example3/myprogram.go:13
Function
main
()
Chapter01/sql-like_databases/example2/myprogram.go:14
Function
main
()
Chapter01/sql-like_databases/example1/myprogram.go:13
Function
main
()
Chapter01/csv_files/example3/myprogram.go:11
Function
main
()
Chapter01/csv_files/example6/myprogram.go:11
Function
main
()
Chapter01/csv_files/example2/myprogram.go:11
Function
main
()
Chapter01/csv_files/example4/myprogram.go:22
Function
main
()
Chapter01/csv_files/example1/myprogram.go:10
Function
main
()
Chapter01/csv_files/example5/myprogram.go:11
Function
main
()
Chapter01/caching/example2/myprogram.go:10
Function
main
()
Chapter01/caching/example1/myprogram.go:10
Function
main
()
Chapter01/json/example2/myprogram.go:36
Function
main
()
Chapter01/json/example1/myprogram.go:37
Function
main
()
Chapter01/handling_data_gopher_style/example2/myprogram.go:11
next →
1–100 of 121, ranked by callers