mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-04 20:47:53 +00:00
Enhancement: Flatten directory structure (#220)
This commit is contained in:
parent
71cc633c8e
commit
4b5d57fd6f
@ -34,12 +34,12 @@
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Phpml\\": "src/Phpml"
|
||||
"Phpml\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Phpml\\Tests\\": "tests/Phpml"
|
||||
"Phpml\\Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -40,19 +40,19 @@ parameters:
|
||||
skip:
|
||||
PhpCsFixer\Fixer\Alias\RandomApiMigrationFixer:
|
||||
# random_int() breaks code
|
||||
- src/Phpml/CrossValidation/RandomSplit.php
|
||||
- src/CrossValidation/RandomSplit.php
|
||||
SlevomatCodingStandard\Sniffs\Classes\UnusedPrivateElementsSniff:
|
||||
# magic calls
|
||||
- src/Phpml/Preprocessing/Normalizer.php
|
||||
- src/Preprocessing/Normalizer.php
|
||||
PhpCsFixer\Fixer\StringNotation\ExplicitStringVariableFixer:
|
||||
# bugged
|
||||
- src/Phpml/Classification/DecisionTree/DecisionTreeLeaf.php
|
||||
- src/Classification/DecisionTree/DecisionTreeLeaf.php
|
||||
Symplify\CodingStandard\Fixer\Commenting\RemoveUselessDocBlockFixer:
|
||||
# bug in fixer
|
||||
- src/Phpml/Math/LinearAlgebra/LUDecomposition.php
|
||||
- src/Math/LinearAlgebra/LUDecomposition.php
|
||||
PhpCsFixer\Fixer\FunctionNotation\VoidReturnFixer:
|
||||
# covariant return types
|
||||
- src/Phpml/Classification/Linear/Perceptron.php
|
||||
- src/Classification/Linear/Perceptron.php
|
||||
|
||||
skip_codes:
|
||||
# missing typehints
|
||||
|
@ -22,7 +22,7 @@ class GlassDataset extends CsvDataset
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$filepath = __DIR__.'/../../../../data/glass.csv';
|
||||
$filepath = __DIR__.'/../../../data/glass.csv';
|
||||
parent::__construct($filepath, 9, true);
|
||||
}
|
||||
}
|
@ -16,7 +16,7 @@ class IrisDataset extends CsvDataset
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$filepath = __DIR__.'/../../../../data/iris.csv';
|
||||
$filepath = __DIR__.'/../../../data/iris.csv';
|
||||
parent::__construct($filepath, 4, true);
|
||||
}
|
||||
}
|
@ -16,7 +16,7 @@ class WineDataset extends CsvDataset
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$filepath = __DIR__.'/../../../../data/wine.csv';
|
||||
$filepath = __DIR__.'/../../../data/wine.csv';
|
||||
parent::__construct($filepath, 13, true);
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user