php-ml/tests/Phpml
Jonathan Baldie e318921076 Fix string representation of integer labels issue in NaiveBayes (#206)
* Update NaiveBayes.php

This fixes an issue using string labels that are string representations of integers, e.g. "1998" getting cast to (int)1998.

* Update NaiveBayes.php

fixes superfluous whitespace error

* added tests for naive bayes with numeric labels

* added array_unique

* nested array_flips for speed

* nested the array flips inside the array map

* to appear style CI test
2018-01-31 21:44:44 +01:00
..
Association Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
Classification Fix string representation of integer labels issue in NaiveBayes (#206) 2018-01-31 21:44:44 +01:00
Clustering Rewrite DBSCAN (#185) 2018-01-09 10:53:02 +01:00
CrossValidation Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
Dataset Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
DimensionReduction Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
FeatureExtraction Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
Helper/Optimizer Fix the implementation of conjugate gradient method (#184) 2018-01-12 10:53:43 +01:00
Math Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
Metric Choose averaging method in classification report (#205) 2018-01-29 18:06:21 +01:00
NeuralNetwork Fix activation functions support (#163) 2018-01-09 11:09:59 +01:00
Preprocessing Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
Regression Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
SupportVectorMachine Add libsvm exception tests (#202) 2018-01-26 22:07:22 +01:00
Tokenization Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
ModelManagerTest.php Add PHPStan and level to max (#168) 2018-01-06 13:09:33 +01:00
PipelineTest.php Add test for Pipeline save and restore with ModelManager (#191) 2018-01-12 10:54:20 +01:00