Better PHP Documentation
opinionated
Open main menu
Get Started
Documentation
Community
Training
Better PHP Documentation
Close menu
Get Started
Documentation
Community
Training
Log in
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
SVMModel クラス
(PECL svm >= 0.1.0)
はじめに
SVMModel は、訓練処理の結果です。 それは、以前は目に見えなかったデータを分類するために使用できます。
クラス概要
class
SVMModel
{
/* メソッド */
public
function
__construct
(
string
$filename
= ?
)
public
function
checkProbabilityModel
():
bool
public
function
getLabels
():
array
public
function
getNrClass
():
int
public
function
getSvmType
():
int
public
function
getSvrProbability
():
float
public
function
load
(
string
$filename
):
bool
public
function
predict
(
array
$data
):
float
public
function
predict_probability
(
array
$data
):
float
public
function
save
(
string
$filename
):
bool
}
目次
SVMModel::checkProbabilityModel
— モデルが確率情報を持つ場合 TRUE を返す
SVMModel::__construct
— SVMModel を新規構築
SVMModel::getLabels
— モデルが訓練されたラベルを取得
SVMModel::getNrClass
— モデルが訓練されたクラスの個数を返す
SVMModel::getSvmType
— モデルが訓練された SVM の種類を取得
SVMModel::getSvrProbability
— 回帰モデルに対するσ(シグマ)値を取得
SVMModel::load
— 保管された SVM モデルを読み込み
SVMModel::predict
— Predict a value for previously unseen data
SVMModel::predict_probability
— Return class probabilities for previous unseen data
SVMModel::save
— モデルをファイルに保管
Found A Problem?
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
0
pcntl_sigtimedwait
Waits for signals, with a timeout
0
similar_text
Calculate the similarity between two strings
0
boolval
Get the boolean value of a variable
0
curl_multi_close
Close a set of cURL handles
0
imap_body
Read the message body
0
mb_strpos
Find position of first occurrence of string in a string
0
pg_send_prepare
Sends a request to create a prepared statement with the given parameters, without waiting for completion
0
swoole_native_socket_bind
0
Arr::prependKeysWith
0
zend_version
Gets the version of the current Zend engine
^