mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-04 20:47:53 +00:00
Make tests namespace consistent (#125)
This commit is contained in:
parent
03751f51ed
commit
8c06a55a16
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification;
|
||||
namespace tests\Phpml\Classification;
|
||||
|
||||
use Phpml\Association\Apriori;
|
||||
use Phpml\ModelManager;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification\DecisionTree;
|
||||
namespace tests\Phpml\Classification\DecisionTree;
|
||||
|
||||
use Phpml\Classification\DecisionTree\DecisionTreeLeaf;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification;
|
||||
namespace tests\Phpml\Classification;
|
||||
|
||||
use Phpml\Classification\DecisionTree;
|
||||
use Phpml\ModelManager;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification\Ensemble;
|
||||
namespace tests\Phpml\Classification\Ensemble;
|
||||
|
||||
use Phpml\Classification\Ensemble\AdaBoost;
|
||||
use Phpml\ModelManager;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification\Ensemble;
|
||||
namespace tests\Phpml\Classification\Ensemble;
|
||||
|
||||
use Phpml\Classification\Ensemble\Bagging;
|
||||
use Phpml\Classification\DecisionTree;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification\Ensemble;
|
||||
namespace tests\Phpml\Classification\Ensemble;
|
||||
|
||||
use Phpml\Classification\Ensemble\RandomForest;
|
||||
use Phpml\Classification\DecisionTree;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification;
|
||||
namespace tests\Phpml\Classification;
|
||||
|
||||
use Phpml\Classification\KNearestNeighbors;
|
||||
use Phpml\Math\Distance\Chebyshev;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification\Linear;
|
||||
namespace tests\Phpml\Classification\Linear;
|
||||
|
||||
use Phpml\Classification\Linear\Adaline;
|
||||
use Phpml\ModelManager;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification\Linear;
|
||||
namespace tests\Phpml\Classification\Linear;
|
||||
|
||||
use Phpml\Classification\Linear\DecisionStump;
|
||||
use Phpml\ModelManager;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification\Linear;
|
||||
namespace tests\Phpml\Classification\Linear;
|
||||
|
||||
use Phpml\Classification\Linear\Perceptron;
|
||||
use Phpml\ModelManager;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification;
|
||||
namespace tests\Phpml\Classification;
|
||||
|
||||
use Phpml\Classification\NaiveBayes;
|
||||
use Phpml\ModelManager;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Classification;
|
||||
namespace tests\Phpml\Classification;
|
||||
|
||||
use Phpml\Classification\SVC;
|
||||
use Phpml\SupportVectorMachine\Kernel;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Clustering;
|
||||
namespace tests\Phpml\Clustering;
|
||||
|
||||
use Phpml\Clustering\DBSCAN;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Clustering;
|
||||
namespace tests\Phpml\Clustering;
|
||||
|
||||
use Phpml\Clustering\FuzzyCMeans;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Clustering;
|
||||
namespace tests\Phpml\Clustering;
|
||||
|
||||
use Phpml\Clustering\KMeans;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\DimensionReduction;
|
||||
namespace tests\Phpml\DimensionReduction;
|
||||
|
||||
use Phpml\DimensionReduction\KernelPCA;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\DimensionReduction;
|
||||
namespace tests\Phpml\DimensionReduction;
|
||||
|
||||
use Phpml\DimensionReduction\LDA;
|
||||
use Phpml\Dataset\Demo\IrisDataset;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\DimensionReduction;
|
||||
namespace tests\Phpml\DimensionReduction;
|
||||
|
||||
use Phpml\DimensionReduction\PCA;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Math\LinearAlgebra;
|
||||
namespace tests\Phpml\Math\LinearAlgebra;
|
||||
|
||||
use Phpml\Math\LinearAlgebra\EigenvalueDecomposition;
|
||||
use Phpml\Math\Matrix;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Math\Statistic;
|
||||
namespace tests\Phpml\Math\Statistic;
|
||||
|
||||
use Phpml\Math\Statistic\Covariance;
|
||||
use Phpml\Math\Statistic\Mean;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Preprocessing;
|
||||
namespace tests\Phpml\Preprocessing;
|
||||
|
||||
use Phpml\Preprocessing\Imputer;
|
||||
use Phpml\Preprocessing\Imputer\Strategy\MeanStrategy;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Preprocessing;
|
||||
namespace tests\Phpml\Preprocessing;
|
||||
|
||||
use Phpml\Preprocessing\Normalizer;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Regression;
|
||||
namespace tests\Phpml\Regression;
|
||||
|
||||
use Phpml\Regression\LeastSquares;
|
||||
use Phpml\ModelManager;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Regression;
|
||||
namespace tests\Phpml\Regression;
|
||||
|
||||
use Phpml\Regression\SVR;
|
||||
use Phpml\SupportVectorMachine\Kernel;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\SupportVectorMachine;
|
||||
namespace tests\Phpml\SupportVectorMachine;
|
||||
|
||||
use Phpml\SupportVectorMachine\DataTransformer;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\SupportVectorMachine;
|
||||
namespace tests\Phpml\SupportVectorMachine;
|
||||
|
||||
use Phpml\SupportVectorMachine\Kernel;
|
||||
use Phpml\SupportVectorMachine\SupportVectorMachine;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Tokenization;
|
||||
namespace tests\Phpml\Tokenization;
|
||||
|
||||
use Phpml\Tokenization\WhitespaceTokenizer;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace tests\Tokenization;
|
||||
namespace tests\Phpml\Tokenization;
|
||||
|
||||
use Phpml\Tokenization\WordTokenizer;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
Loading…
Reference in New Issue
Block a user