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
TestFourDimensionalSoftmaxShouldFail7
invalid method
linear/softmax_test.go:381
Function
TestFourDimensionalSoftmaxShouldPass1
test ( 10*i + j/20 + k ) > 0
linear/softmax_test.go:99
Function
TestFourDimensionalSoftmaxShouldPass2
same as above but with StochasticGA
linear/softmax_test.go:152
Function
TestGaussianKernelFourDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:260
Function
TestGaussianKernelPersistPerceptronShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:627
Function
TestGaussianKernelShouldPass1
(t *testing.T)
base/kernel_test.go:10
Function
TestGaussianKernelShouldPass2
(t *testing.T)
base/kernel_test.go:35
Function
TestGaussianKernelXORShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:342
Function
TestInclinedLineShouldFail1
test y=x but regularization term too large
linear/linear_test.go:294
Function
TestInclinedLineShouldFail2
same as above but with StochasticGA
linear/linear_test.go:317
Function
TestInclinedLineShouldPass1
test y=x
linear/linear_test.go:258
Function
TestInclinedLineShouldPass2
same as above but with StochasticGA
linear/linear_test.go:276
Function
TestInsertSortedShouldPass1
(t *testing.T)
cluster/knn_test.go:73
Function
TestInsertSortedShouldPass2
(t *testing.T)
cluster/knn_test.go:95
Function
TestInsertSortedShouldPass3
(t *testing.T)
cluster/knn_test.go:117
Function
TestInsertSortedShouldPass4
(t *testing.T)
cluster/knn_test.go:139
Function
TestInsertSortedShouldPass5
(t *testing.T)
cluster/knn_test.go:161
Function
TestKMeansPersistToFileShouldPass1
* Test Persistance *//
cluster/kmeans_test.go:425
Function
TestKMeansShouldPass1
Note that these tests usually have 100% accuracy, but I'm thresholding faliure at 87% because maybe <10% of the time the randomization of the clusters
cluster/kmeans_test.go:68
Function
TestKMeansShouldPass2
use normalized data
cluster/kmeans_test.go:141
Function
TestKMeansShouldPass3
(t *testing.T)
cluster/kmeans_test.go:215
Function
TestKNNShouldPass1
(t *testing.T)
cluster/knn_test.go:184
Function
TestKNNShouldPass2
use normalized data
cluster/knn_test.go:249
Function
TestKNNShouldPass3
(t *testing.T)
cluster/knn_test.go:315
Function
TestLetters
(t *testing.T)
base/sanitize_test.go:70
Function
TestLinearKernelFourDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:180
Function
TestLinearKernelOneDXShouldFail1
(t *testing.T)
perceptron/kernel_perceptron_test.go:85
Function
TestLinearKernelOneDXShouldFail2
(t *testing.T)
perceptron/kernel_perceptron_test.go:123
Function
TestLinearKernelOneDXShouldFail3
(t *testing.T)
perceptron/kernel_perceptron_test.go:161
Function
TestLinearKernelOneDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:22
Function
TestLinearKernelShouldPass1
(t *testing.T)
base/kernel_test.go:60
Function
TestLinearKernelTwoDXNormalizedShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:559
Function
TestLoadDataFromCSVToStreamShouldFail1
(t *testing.T)
base/data_test.go:133
Function
TestLoadDataFromCSVToStreamShouldPass1
(t *testing.T)
base/data_test.go:95
Function
TestLocalLinearShouldPass1
(t *testing.T)
linear/local_linear_test.go:17
Function
TestLocalLinearShouldPass2
same as above but with
linear/local_linear_test.go:66
Function
TestNormalizePointShouldPass1
(t *testing.T)
base/munge_test.go:56
Function
TestNormalizePointShouldPass2
(t *testing.T)
base/munge_test.go:71
Function
TestNormalizePointShouldPass3
(t *testing.T)
base/munge_test.go:87
Function
TestNormalizeShouldPass1
(t *testing.T)
base/munge_test.go:9
Function
TestNormalizeShouldPass2
(t *testing.T)
base/munge_test.go:32
Function
TestOneDXShouldFail1
(t *testing.T)
perceptron/perceptron_test.go:82
Function
TestOneDXShouldFail2
(t *testing.T)
perceptron/perceptron_test.go:120
Function
TestOneDXShouldFail3
(t *testing.T)
perceptron/perceptron_test.go:158
Function
TestOneDXShouldPass1
(t *testing.T)
perceptron/perceptron_test.go:30
Function
TestOnlineFourDXShouldPass1
(t *testing.T)
linear/logistic_test.go:668
Function
TestOnlineKMeansShouldPass1
* Test Online KMeans *//
cluster/kmeans_test.go:270
Function
TestOnlineLinearFourDXShouldPass1
(t *testing.T)
linear/linear_test.go:498
Function
TestOnlineLinearOneDXShouldFail1
(t *testing.T)
linear/linear_test.go:424
Function
TestOnlineLinearOneDXShouldFail2
(t *testing.T)
linear/linear_test.go:455
Function
TestOnlineLinearOneDXShouldFail3
(t *testing.T)
linear/linear_test.go:486
Function
TestOnlineLinearOneDXShouldPass1
* Test Online Learning through channels *//
linear/linear_test.go:381
Function
TestOnlineOneDXShouldFail1
(t *testing.T)
linear/logistic_test.go:594
Function
TestOnlineOneDXShouldFail2
(t *testing.T)
linear/logistic_test.go:625
Function
TestOnlineOneDXShouldFail3
(t *testing.T)
linear/logistic_test.go:656
Function
TestOnlineOneDXShouldPass1
* Test Online Learning through channels *//
linear/logistic_test.go:540
Function
TestOnlineTwoDXNormalizedShouldPass1
(t *testing.T)
linear/logistic_test.go:731
Function
TestPersistLeastSquaresShouldPass1
* Test Persistance To File *// test persisting y=x to file
linear/linear_test.go:566
Function
TestPersistLogisticShouldPass1
* Test Persistance to file *// test persisting y=x to file
linear/logistic_test.go:796
Function
TestPersistNaiveBayesShouldPass1
* Test Persitance To File *//
text/bayes_test.go:281
Function
TestPersistPerceptronShouldPass1
(t *testing.T)
perceptron/perceptron_test.go:315
Function
TestPersistPerceptronShouldPass1
(t *testing.T)
text/bayes_test.go:158
Function
TestPersistSoftmaxShouldPass1
* Test Model Persistance to File *// test persisting y=x to file
linear/softmax_test.go:884
Function
TestPolynomialKernelFourDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:399
Function
TestPolynomialKernelShouldPass1
(t *testing.T)
base/kernel_test.go:85
Function
TestPolynomialKernelShouldPass2
(t *testing.T)
base/kernel_test.go:110
Function
TestPolynomialKernelShouldPass3
(t *testing.T)
base/kernel_test.go:135
Function
TestSaveDataToCSVShouldFail1
(t *testing.T)
base/data_test.go:67
Function
TestSaveDataToCSVShouldFail2
(t *testing.T)
base/data_test.go:75
Function
TestSaveDataToCSVShouldFail3
(t *testing.T)
base/data_test.go:80
Function
TestSaveDataToCSVShouldFail4
(t *testing.T)
base/data_test.go:85
Function
TestSaveDataToCSVShouldFail5
(t *testing.T)
base/data_test.go:90
Function
TestSaveDataToCSVShouldPass1
(t *testing.T)
base/data_test.go:37
Function
TestSaveDataToCSVShouldPass2
(t *testing.T)
base/data_test.go:52
Function
TestSimpleTokenizer
(t *testing.T)
text/bayes_test.go:360
Function
TestTanhKernelFourDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:479
Function
TestTanhKernelShouldPass1
(t *testing.T)
base/kernel_test.go:160
Function
TestTanhKernelShouldPass2
(t *testing.T)
base/kernel_test.go:187
Function
TestTanhKernelShouldPass3
(t *testing.T)
base/kernel_test.go:212
Function
TestThreeDimensionalLineShouldPass1
test z = 10 + (x/10) + (y/5)
linear/linear_test.go:340
Function
TestThreeDimensionalLineShouldPass2
same as above but with StochasticGA
linear/linear_test.go:360
Function
TestThreeDimensionalPlaneNormalizedShouldPass1
(t *testing.T)
linear/logistic_test.go:477
Function
TestThreeDimensionalPlaneNormalizedShouldPass2
same as above but with StochasticGA
linear/logistic_test.go:508
Function
TestThreeDimensionalPlaneShouldPass1
test i+j > 5
linear/logistic_test.go:422
Function
TestThreeDimensionalPlaneShouldPass2
same as above but with StochasticGA
linear/logistic_test.go:450
Function
TestThreeDimensionalSoftmaxOnlineNormalizedShouldPass2
(t *testing.T)
linear/softmax_test.go:790
Function
TestThreeDimensionalSoftmaxOnlineShouldPass2
* Test Online Learning through channels *//
linear/softmax_test.go:699
Function
TestThreeDimensionalSoftmaxShouldPass1
test i+j > 5
linear/softmax_test.go:606
Function
TestThreeDimensionalSoftmaxShouldPass2
same as above but with StochasticGA
linear/softmax_test.go:652
Function
TestTriangleKMeansPersistToFileShouldPass1
* Test Persistance *//
cluster/triangle_kmeans_test.go:295
Function
TestTriangleKMeansShouldPass1
(t *testing.T)
cluster/triangle_kmeans_test.go:93
Function
TestTriangleKMeansShouldPass2
use normalized data
cluster/triangle_kmeans_test.go:166
Function
TestTriangleKMeansShouldPass3
(t *testing.T)
cluster/triangle_kmeans_test.go:240
Function
TestTwoDXNormalizedShouldPass1
(t *testing.T)
perceptron/perceptron_test.go:241
Function
TestTwoDimensionalPlaneShouldFail1
regularization term too large
linear/logistic_test.go:370
Function
TestTwoDimensionalPlaneShouldFail2
same as above but with StochasticGA
linear/logistic_test.go:396
Function
TestTwoDimensionalPlaneShouldPass1
(t *testing.T)
linear/logistic_test.go:318
Function
TestTwoDimensionalPlaneShouldPass2
same as above but with StochasticGA
linear/logistic_test.go:344
Function
TestTwoDimensionalSoftmaxShouldFail1
regularization term too large
linear/softmax_test.go:498
Function
TestTwoDimensionalSoftmaxShouldFail2
same as above but with StochasticGA
linear/softmax_test.go:552
← previous
next →
201–300 of 339, ranked by callers