change Classifier namespace to Classification

This commit is contained in:
Arkadiusz Kondas 2016-04-30 23:45:21 +02:00
parent ee9bb7b252
commit f7b91bea72
8 changed files with 16 additions and 16 deletions

View File

@ -2,7 +2,7 @@
declare (strict_types = 1);
namespace Phpml\Classifier;
namespace Phpml\Classification;
interface Classifier
{

View File

@ -2,10 +2,10 @@
declare (strict_types = 1);
namespace Phpml\Classifier;
namespace Phpml\Classification;
use Phpml\Classifier\Traits\Predictable;
use Phpml\Classifier\Traits\Trainable;
use Phpml\Classification\Traits\Predictable;
use Phpml\Classification\Traits\Trainable;
use Phpml\Math\Distance;
use Phpml\Math\Distance\Euclidean;

View File

@ -2,10 +2,10 @@
declare (strict_types = 1);
namespace Phpml\Classifier;
namespace Phpml\Classification;
use Phpml\Classifier\Traits\Predictable;
use Phpml\Classifier\Traits\Trainable;
use Phpml\Classification\Traits\Predictable;
use Phpml\Classification\Traits\Trainable;
class NaiveBayes implements Classifier
{

View File

@ -2,10 +2,10 @@
declare (strict_types = 1);
namespace Phpml\Classifier;
namespace Phpml\Classification;
use Phpml\Classifier\Traits\Predictable;
use Phpml\Classifier\Traits\Trainable;
use Phpml\Classification\Traits\Predictable;
use Phpml\Classification\Traits\Trainable;
use Phpml\Math\Kernel;
class SupportVectorMachine implements Classifier

View File

@ -2,7 +2,7 @@
declare (strict_types = 1);
namespace Phpml\Classifier\Traits;
namespace Phpml\Classification\Traits;
trait Predictable
{

View File

@ -2,7 +2,7 @@
declare (strict_types = 1);
namespace Phpml\Classifier\Traits;
namespace Phpml\Classification\Traits;
trait Trainable
{

View File

@ -2,9 +2,9 @@
declare (strict_types = 1);
namespace tests\Classifier;
namespace tests\Classification;
use Phpml\Classifier\KNearestNeighbors;
use Phpml\Classification\KNearestNeighbors;
use Phpml\Math\Distance\Chebyshev;
class KNearestNeighborsTest extends \PHPUnit_Framework_TestCase

View File

@ -2,9 +2,9 @@
declare (strict_types = 1);
namespace tests\Classifier;
namespace tests\Classification;
use Phpml\Classifier\NaiveBayes;
use Phpml\Classification\NaiveBayes;
class NaiveBayesTest extends \PHPUnit_Framework_TestCase
{