Make tests namespace consistent (#125)

This commit is contained in:
Marcin Michalski 2017-09-02 21:39:59 +02:00 committed by Arkadiusz Kondas
parent 03751f51ed
commit 8c06a55a16
28 changed files with 28 additions and 28 deletions

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification; namespace tests\Phpml\Classification;
use Phpml\Association\Apriori; use Phpml\Association\Apriori;
use Phpml\ModelManager; use Phpml\ModelManager;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification\DecisionTree; namespace tests\Phpml\Classification\DecisionTree;
use Phpml\Classification\DecisionTree\DecisionTreeLeaf; use Phpml\Classification\DecisionTree\DecisionTreeLeaf;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification; namespace tests\Phpml\Classification;
use Phpml\Classification\DecisionTree; use Phpml\Classification\DecisionTree;
use Phpml\ModelManager; use Phpml\ModelManager;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification\Ensemble; namespace tests\Phpml\Classification\Ensemble;
use Phpml\Classification\Ensemble\AdaBoost; use Phpml\Classification\Ensemble\AdaBoost;
use Phpml\ModelManager; use Phpml\ModelManager;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification\Ensemble; namespace tests\Phpml\Classification\Ensemble;
use Phpml\Classification\Ensemble\Bagging; use Phpml\Classification\Ensemble\Bagging;
use Phpml\Classification\DecisionTree; use Phpml\Classification\DecisionTree;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification\Ensemble; namespace tests\Phpml\Classification\Ensemble;
use Phpml\Classification\Ensemble\RandomForest; use Phpml\Classification\Ensemble\RandomForest;
use Phpml\Classification\DecisionTree; use Phpml\Classification\DecisionTree;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification; namespace tests\Phpml\Classification;
use Phpml\Classification\KNearestNeighbors; use Phpml\Classification\KNearestNeighbors;
use Phpml\Math\Distance\Chebyshev; use Phpml\Math\Distance\Chebyshev;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification\Linear; namespace tests\Phpml\Classification\Linear;
use Phpml\Classification\Linear\Adaline; use Phpml\Classification\Linear\Adaline;
use Phpml\ModelManager; use Phpml\ModelManager;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification\Linear; namespace tests\Phpml\Classification\Linear;
use Phpml\Classification\Linear\DecisionStump; use Phpml\Classification\Linear\DecisionStump;
use Phpml\ModelManager; use Phpml\ModelManager;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification\Linear; namespace tests\Phpml\Classification\Linear;
use Phpml\Classification\Linear\Perceptron; use Phpml\Classification\Linear\Perceptron;
use Phpml\ModelManager; use Phpml\ModelManager;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification; namespace tests\Phpml\Classification;
use Phpml\Classification\NaiveBayes; use Phpml\Classification\NaiveBayes;
use Phpml\ModelManager; use Phpml\ModelManager;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Classification; namespace tests\Phpml\Classification;
use Phpml\Classification\SVC; use Phpml\Classification\SVC;
use Phpml\SupportVectorMachine\Kernel; use Phpml\SupportVectorMachine\Kernel;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Clustering; namespace tests\Phpml\Clustering;
use Phpml\Clustering\DBSCAN; use Phpml\Clustering\DBSCAN;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Clustering; namespace tests\Phpml\Clustering;
use Phpml\Clustering\FuzzyCMeans; use Phpml\Clustering\FuzzyCMeans;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Clustering; namespace tests\Phpml\Clustering;
use Phpml\Clustering\KMeans; use Phpml\Clustering\KMeans;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\DimensionReduction; namespace tests\Phpml\DimensionReduction;
use Phpml\DimensionReduction\KernelPCA; use Phpml\DimensionReduction\KernelPCA;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\DimensionReduction; namespace tests\Phpml\DimensionReduction;
use Phpml\DimensionReduction\LDA; use Phpml\DimensionReduction\LDA;
use Phpml\Dataset\Demo\IrisDataset; use Phpml\Dataset\Demo\IrisDataset;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\DimensionReduction; namespace tests\Phpml\DimensionReduction;
use Phpml\DimensionReduction\PCA; use Phpml\DimensionReduction\PCA;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Math\LinearAlgebra; namespace tests\Phpml\Math\LinearAlgebra;
use Phpml\Math\LinearAlgebra\EigenvalueDecomposition; use Phpml\Math\LinearAlgebra\EigenvalueDecomposition;
use Phpml\Math\Matrix; use Phpml\Math\Matrix;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Math\Statistic; namespace tests\Phpml\Math\Statistic;
use Phpml\Math\Statistic\Covariance; use Phpml\Math\Statistic\Covariance;
use Phpml\Math\Statistic\Mean; use Phpml\Math\Statistic\Mean;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Preprocessing; namespace tests\Phpml\Preprocessing;
use Phpml\Preprocessing\Imputer; use Phpml\Preprocessing\Imputer;
use Phpml\Preprocessing\Imputer\Strategy\MeanStrategy; use Phpml\Preprocessing\Imputer\Strategy\MeanStrategy;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Preprocessing; namespace tests\Phpml\Preprocessing;
use Phpml\Preprocessing\Normalizer; use Phpml\Preprocessing\Normalizer;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Regression; namespace tests\Phpml\Regression;
use Phpml\Regression\LeastSquares; use Phpml\Regression\LeastSquares;
use Phpml\ModelManager; use Phpml\ModelManager;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Regression; namespace tests\Phpml\Regression;
use Phpml\Regression\SVR; use Phpml\Regression\SVR;
use Phpml\SupportVectorMachine\Kernel; use Phpml\SupportVectorMachine\Kernel;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\SupportVectorMachine; namespace tests\Phpml\SupportVectorMachine;
use Phpml\SupportVectorMachine\DataTransformer; use Phpml\SupportVectorMachine\DataTransformer;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\SupportVectorMachine; namespace tests\Phpml\SupportVectorMachine;
use Phpml\SupportVectorMachine\Kernel; use Phpml\SupportVectorMachine\Kernel;
use Phpml\SupportVectorMachine\SupportVectorMachine; use Phpml\SupportVectorMachine\SupportVectorMachine;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Tokenization; namespace tests\Phpml\Tokenization;
use Phpml\Tokenization\WhitespaceTokenizer; use Phpml\Tokenization\WhitespaceTokenizer;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;

View File

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace tests\Tokenization; namespace tests\Phpml\Tokenization;
use Phpml\Tokenization\WordTokenizer; use Phpml\Tokenization\WordTokenizer;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;