mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-06-26 19:53:33 +00:00
34 lines
452 B
PHP
34 lines
452 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Phpml\SupportVectorMachine;
|
|
|
|
abstract class Type
|
|
{
|
|
/**
|
|
* classification.
|
|
*/
|
|
public const C_SVC = 0;
|
|
|
|
/**
|
|
* classification.
|
|
*/
|
|
public const NU_SVC = 1;
|
|
|
|
/**
|
|
* distribution estimation.
|
|
*/
|
|
public const ONE_CLASS_SVM = 2;
|
|
|
|
/**
|
|
* regression.
|
|
*/
|
|
public const EPSILON_SVR = 3;
|
|
|
|
/**
|
|
* regression.
|
|
*/
|
|
public const NU_SVR = 4;
|
|
}
|