X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/lib/mlbackend/php/phpml/src/Phpml/Classification
home
/
cbholdings
/
pasukulu
/
lib
/
mlbackend
/
php
/
phpml
/
src
/
Phpml
/
Classification
/
📁
..
📄
Classifier.php
(131 B)
📁
DecisionTree
📄
DecisionTree.php
(14.62 KB)
📁
Ensemble
📄
KNearestNeighbors.php
(1.68 KB)
📁
Linear
📄
MLPClassifier.php
(1.38 KB)
📄
NaiveBayes.php
(5.6 KB)
📄
SVC.php
(744 B)
📄
WeightedClassifier.php
(369 B)
Editing: SVC.php
<?php declare(strict_types=1); namespace Phpml\Classification; use Phpml\SupportVectorMachine\Kernel; use Phpml\SupportVectorMachine\SupportVectorMachine; use Phpml\SupportVectorMachine\Type; class SVC extends SupportVectorMachine implements Classifier { public function __construct( int $kernel = Kernel::RBF, float $cost = 1.0, int $degree = 3, ?float $gamma = null, float $coef0 = 0.0, float $tolerance = 0.001, int $cacheSize = 100, bool $shrinking = true, bool $probabilityEstimates = false ) { parent::__construct(Type::C_SVC, $kernel, $cost, 0.5, $degree, $gamma, $coef0, 0.1, $tolerance, $cacheSize, $shrinking, $probabilityEstimates); } }
Upload File
Create Folder