MCPcopy Create free account

hub / github.com/cdipaolo/goml / functions

Functions339 in github.com/cdipaolo/goml

FunctionTestFourDimensionalSoftmaxShouldFail7
invalid method
linear/softmax_test.go:381
FunctionTestFourDimensionalSoftmaxShouldPass1
test ( 10*i + j/20 + k ) > 0
linear/softmax_test.go:99
FunctionTestFourDimensionalSoftmaxShouldPass2
same as above but with StochasticGA
linear/softmax_test.go:152
FunctionTestGaussianKernelFourDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:260
FunctionTestGaussianKernelPersistPerceptronShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:627
FunctionTestGaussianKernelShouldPass1
(t *testing.T)
base/kernel_test.go:10
FunctionTestGaussianKernelShouldPass2
(t *testing.T)
base/kernel_test.go:35
FunctionTestGaussianKernelXORShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:342
FunctionTestInclinedLineShouldFail1
test y=x but regularization term too large
linear/linear_test.go:294
FunctionTestInclinedLineShouldFail2
same as above but with StochasticGA
linear/linear_test.go:317
FunctionTestInclinedLineShouldPass1
test y=x
linear/linear_test.go:258
FunctionTestInclinedLineShouldPass2
same as above but with StochasticGA
linear/linear_test.go:276
FunctionTestInsertSortedShouldPass1
(t *testing.T)
cluster/knn_test.go:73
FunctionTestInsertSortedShouldPass2
(t *testing.T)
cluster/knn_test.go:95
FunctionTestInsertSortedShouldPass3
(t *testing.T)
cluster/knn_test.go:117
FunctionTestInsertSortedShouldPass4
(t *testing.T)
cluster/knn_test.go:139
FunctionTestInsertSortedShouldPass5
(t *testing.T)
cluster/knn_test.go:161
FunctionTestKMeansPersistToFileShouldPass1
* Test Persistance *//
cluster/kmeans_test.go:425
FunctionTestKMeansShouldPass1
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
FunctionTestKMeansShouldPass2
use normalized data
cluster/kmeans_test.go:141
FunctionTestKMeansShouldPass3
(t *testing.T)
cluster/kmeans_test.go:215
FunctionTestKNNShouldPass1
(t *testing.T)
cluster/knn_test.go:184
FunctionTestKNNShouldPass2
use normalized data
cluster/knn_test.go:249
FunctionTestKNNShouldPass3
(t *testing.T)
cluster/knn_test.go:315
FunctionTestLetters
(t *testing.T)
base/sanitize_test.go:70
FunctionTestLinearKernelFourDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:180
FunctionTestLinearKernelOneDXShouldFail1
(t *testing.T)
perceptron/kernel_perceptron_test.go:85
FunctionTestLinearKernelOneDXShouldFail2
(t *testing.T)
perceptron/kernel_perceptron_test.go:123
FunctionTestLinearKernelOneDXShouldFail3
(t *testing.T)
perceptron/kernel_perceptron_test.go:161
FunctionTestLinearKernelOneDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:22
FunctionTestLinearKernelShouldPass1
(t *testing.T)
base/kernel_test.go:60
FunctionTestLinearKernelTwoDXNormalizedShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:559
FunctionTestLoadDataFromCSVToStreamShouldFail1
(t *testing.T)
base/data_test.go:133
FunctionTestLoadDataFromCSVToStreamShouldPass1
(t *testing.T)
base/data_test.go:95
FunctionTestLocalLinearShouldPass1
(t *testing.T)
linear/local_linear_test.go:17
FunctionTestLocalLinearShouldPass2
same as above but with
linear/local_linear_test.go:66
FunctionTestNormalizePointShouldPass1
(t *testing.T)
base/munge_test.go:56
FunctionTestNormalizePointShouldPass2
(t *testing.T)
base/munge_test.go:71
FunctionTestNormalizePointShouldPass3
(t *testing.T)
base/munge_test.go:87
FunctionTestNormalizeShouldPass1
(t *testing.T)
base/munge_test.go:9
FunctionTestNormalizeShouldPass2
(t *testing.T)
base/munge_test.go:32
FunctionTestOneDXShouldFail1
(t *testing.T)
perceptron/perceptron_test.go:82
FunctionTestOneDXShouldFail2
(t *testing.T)
perceptron/perceptron_test.go:120
FunctionTestOneDXShouldFail3
(t *testing.T)
perceptron/perceptron_test.go:158
FunctionTestOneDXShouldPass1
(t *testing.T)
perceptron/perceptron_test.go:30
FunctionTestOnlineFourDXShouldPass1
(t *testing.T)
linear/logistic_test.go:668
FunctionTestOnlineKMeansShouldPass1
* Test Online KMeans *//
cluster/kmeans_test.go:270
FunctionTestOnlineLinearFourDXShouldPass1
(t *testing.T)
linear/linear_test.go:498
FunctionTestOnlineLinearOneDXShouldFail1
(t *testing.T)
linear/linear_test.go:424
FunctionTestOnlineLinearOneDXShouldFail2
(t *testing.T)
linear/linear_test.go:455
FunctionTestOnlineLinearOneDXShouldFail3
(t *testing.T)
linear/linear_test.go:486
FunctionTestOnlineLinearOneDXShouldPass1
* Test Online Learning through channels *//
linear/linear_test.go:381
FunctionTestOnlineOneDXShouldFail1
(t *testing.T)
linear/logistic_test.go:594
FunctionTestOnlineOneDXShouldFail2
(t *testing.T)
linear/logistic_test.go:625
FunctionTestOnlineOneDXShouldFail3
(t *testing.T)
linear/logistic_test.go:656
FunctionTestOnlineOneDXShouldPass1
* Test Online Learning through channels *//
linear/logistic_test.go:540
FunctionTestOnlineTwoDXNormalizedShouldPass1
(t *testing.T)
linear/logistic_test.go:731
FunctionTestPersistLeastSquaresShouldPass1
* Test Persistance To File *// test persisting y=x to file
linear/linear_test.go:566
FunctionTestPersistLogisticShouldPass1
* Test Persistance to file *// test persisting y=x to file
linear/logistic_test.go:796
FunctionTestPersistNaiveBayesShouldPass1
* Test Persitance To File *//
text/bayes_test.go:281
FunctionTestPersistPerceptronShouldPass1
(t *testing.T)
perceptron/perceptron_test.go:315
FunctionTestPersistPerceptronShouldPass1
(t *testing.T)
text/bayes_test.go:158
FunctionTestPersistSoftmaxShouldPass1
* Test Model Persistance to File *// test persisting y=x to file
linear/softmax_test.go:884
FunctionTestPolynomialKernelFourDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:399
FunctionTestPolynomialKernelShouldPass1
(t *testing.T)
base/kernel_test.go:85
FunctionTestPolynomialKernelShouldPass2
(t *testing.T)
base/kernel_test.go:110
FunctionTestPolynomialKernelShouldPass3
(t *testing.T)
base/kernel_test.go:135
FunctionTestSaveDataToCSVShouldFail1
(t *testing.T)
base/data_test.go:67
FunctionTestSaveDataToCSVShouldFail2
(t *testing.T)
base/data_test.go:75
FunctionTestSaveDataToCSVShouldFail3
(t *testing.T)
base/data_test.go:80
FunctionTestSaveDataToCSVShouldFail4
(t *testing.T)
base/data_test.go:85
FunctionTestSaveDataToCSVShouldFail5
(t *testing.T)
base/data_test.go:90
FunctionTestSaveDataToCSVShouldPass1
(t *testing.T)
base/data_test.go:37
FunctionTestSaveDataToCSVShouldPass2
(t *testing.T)
base/data_test.go:52
FunctionTestSimpleTokenizer
(t *testing.T)
text/bayes_test.go:360
FunctionTestTanhKernelFourDXShouldPass1
(t *testing.T)
perceptron/kernel_perceptron_test.go:479
FunctionTestTanhKernelShouldPass1
(t *testing.T)
base/kernel_test.go:160
FunctionTestTanhKernelShouldPass2
(t *testing.T)
base/kernel_test.go:187
FunctionTestTanhKernelShouldPass3
(t *testing.T)
base/kernel_test.go:212
FunctionTestThreeDimensionalLineShouldPass1
test z = 10 + (x/10) + (y/5)
linear/linear_test.go:340
FunctionTestThreeDimensionalLineShouldPass2
same as above but with StochasticGA
linear/linear_test.go:360
FunctionTestThreeDimensionalPlaneNormalizedShouldPass1
(t *testing.T)
linear/logistic_test.go:477
FunctionTestThreeDimensionalPlaneNormalizedShouldPass2
same as above but with StochasticGA
linear/logistic_test.go:508
FunctionTestThreeDimensionalPlaneShouldPass1
test i+j > 5
linear/logistic_test.go:422
FunctionTestThreeDimensionalPlaneShouldPass2
same as above but with StochasticGA
linear/logistic_test.go:450
FunctionTestThreeDimensionalSoftmaxOnlineNormalizedShouldPass2
(t *testing.T)
linear/softmax_test.go:790
FunctionTestThreeDimensionalSoftmaxOnlineShouldPass2
* Test Online Learning through channels *//
linear/softmax_test.go:699
FunctionTestThreeDimensionalSoftmaxShouldPass1
test i+j > 5
linear/softmax_test.go:606
FunctionTestThreeDimensionalSoftmaxShouldPass2
same as above but with StochasticGA
linear/softmax_test.go:652
FunctionTestTriangleKMeansPersistToFileShouldPass1
* Test Persistance *//
cluster/triangle_kmeans_test.go:295
FunctionTestTriangleKMeansShouldPass1
(t *testing.T)
cluster/triangle_kmeans_test.go:93
FunctionTestTriangleKMeansShouldPass2
use normalized data
cluster/triangle_kmeans_test.go:166
FunctionTestTriangleKMeansShouldPass3
(t *testing.T)
cluster/triangle_kmeans_test.go:240
FunctionTestTwoDXNormalizedShouldPass1
(t *testing.T)
perceptron/perceptron_test.go:241
FunctionTestTwoDimensionalPlaneShouldFail1
regularization term too large
linear/logistic_test.go:370
FunctionTestTwoDimensionalPlaneShouldFail2
same as above but with StochasticGA
linear/logistic_test.go:396
FunctionTestTwoDimensionalPlaneShouldPass1
(t *testing.T)
linear/logistic_test.go:318
FunctionTestTwoDimensionalPlaneShouldPass2
same as above but with StochasticGA
linear/logistic_test.go:344
FunctionTestTwoDimensionalSoftmaxShouldFail1
regularization term too large
linear/softmax_test.go:498
FunctionTestTwoDimensionalSoftmaxShouldFail2
same as above but with StochasticGA
linear/softmax_test.go:552
← previousnext →201–300 of 339, ranked by callers