« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 91 for test data (0.004 sec.)
test (425), data (1427)
fann_test_data — Test a set of training data and calculates the MSE for the tra... 10929
fann_test_data (PECL fann >= 1.0.0) fann_test_data — Test a set of training data and calculates the MSE for the training data 説明 function fann_test_data ( resource $ann , resource $data ): float Test a set of training data and calculates t ... the MSE for the training data. This function updates the MSE and the bit fail values. パラメータ ann ニューラルネットワークリソース。 data ニューラルネッ ... トワークトレーニングリソース。 戻り値 The updated MSE, or false on error. 参考 fann_train_on_data() - Trains on an entire dataset for a period of time fann_train_epoch() - Train one epoch with a set of training data fann ...
https://man.mtool.work/php/8.3/function.fann-test-data.html
fann_test — Test with a set of inputs, and a set of desired outputs | PHP 8.3 10635
fann_test (PECL fann >= 1.0.0) fann_test — Test with a set of inputs, and a set of desired outputs 説明 function fann_test ( resource $ann , array $input , array $desired_output ): array Test with a set of inputs, and a set of desired outpu ... ts. This operation updates the mean square error, but does not change the network in any way. パラメータ ann ニューラルネットワークリソース。 input An ... () long. desired_output An array of desired outputs. This array must be exactly fann_get_num_output() long. 戻り値 Returns test outputs on success, or false on error. 参考 fann_test_data() - Test a set of training data and calculates the MSE for the ... training data fann_train() - Train one iteration with a set of inputs, and a set of desired outputs fann_get_num_input() - Get the numbe ...
https://man.mtool.work/php/8.3/function.fann-test.html
プリペアドステートメント | PHP 8.3 9983
プリペアドステートメント MySQL データベースは、 プリペアドステートメントをサポートしています。 プリペアドステートメント、 またはパラメータ化したステートメントは、 同じステートメントを繰り返し、 高い効率で実行すると同時に、 SQLインジェクショ ... ysqli_report ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "example.com" , "user" , "password" , "database" ); /* Non-prepared statement */ $mysqli -> query ( "DROP TABLE IF EXISTS test" ); $mysqli -> query ( "CREATE TABLE te ... st(id INT, label TEXT)" ); /* Prepared statement, stage 1: prepare */ $stmt = $mysqli -> prepare ( "INSERT INTO test(id, label) VALUES (?, ?)" ); /* Prepared statement, stage 2: bind and execute */ $id = 1 ; $label = 'PHP' ; $stmt -> bind_ ... ysqli_report ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "example.com" , "user" , "password" , "database" ); /* Non-prepared statement */ $mysqli -> query ( "DROP TABLE IF EXISTS test" ); $mysqli -> query ( "CREATE TABLE te ...
https://man.mtool.work/php/8.3/mysqli.quickstart.prepared-statements.html
例 | PHP 8.3 9919
例 テンポラリファイルをオープンし、テスト用文字列を書きこみ、 続いて、このファイルの内容を 2 回出力します。 例1 簡単な Zlib の例 <?php $filename = tempnam ( '/tmp' , 'zlibtest' ) . '.gz' ; echo "<html>\n<head></head>\n<body>\n<pre>\n" ; $s ... = "Only a test, test, test, test, test, test, test, test!\n" ; // 最大限の圧縮を指定して書きこみ用にファイルをオープン $zp = gzopen ( $fi ... I <?php // GZIP 圧縮 $deflateContext = deflate_init ( ZLIB_ENCODING_GZIP ); $compressed = deflate_add ( $deflateContext , "Data to compress" , ZLIB_NO_FLUSH ); $compressed .= deflate_add ( $deflateContext , ", more data" , ZLIB_NO_FLUSH ); $compresse ... d .= deflate_add ( $deflateContext , ", and even more data!" , ZLIB_FINISH ); // GZIP 伸長 $inflateContext = inflate_init ( ZLIB_ENCODING_GZIP ); $uncompressed = inflate_add ( $infl ...
https://man.mtool.work/php/8.3/zlib.examples.html
ストアドプロシージャ | PHP 8.3 9851
ストアドプロシージャ MySQL データベースは、ストアドプロシージャをサポートしています。 ストアドプロシージャは、 データベースカタログに保存されたサブルーチンです。 アプリケーションは、ストアドプロシージャを呼び出し、実行できます。 ストアドプロ ... ysqli_report ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "example.com" , "user" , "password" , "database" ); $mysqli -> query ( "DROP TABLE IF EXISTS test" ); $mysqli -> query ( "CREATE TABLE test(id INT)" ); $mysqli -> que ... ry ( "DROP PROCEDURE IF EXISTS p" ); $mysqli -> query ( "CREATE PROCEDURE p(IN id_val INT) BEGIN INSERT INTO test(id) VALUES(id_val); END;" ); $mysqli -> query ( "CALL p(1)" ); $result = $mysqli -> query ( "SELECT id FROM test" ); var_d ... ysqli_report ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "example.com" , "user" , "password" , "database" ); $mysqli -> query ( "DROP PROCEDURE IF EXISTS p" ); $mysqli -> query ( 'CREATE PROCEDURE p(OUT msg VARCHAR(50)) BEG ...
https://man.mtool.work/php/8.3/mysqli.quickstart.stored-procedures.html
cubrid_lob2_write — Write to a lob object | PHP 8.3 9321
cubrid_lob2_write (PECL CUBRID >= 8.4.1) cubrid_lob2_write — Write to a lob object 説明 function cubrid_lob2_write ( resource $lob_identifier , string $buf ): bool The cubrid_lob2_write() function reads as much as data from buf and stores i ... characters now. パラメータ lob_identifier Lob identifier as a result of cubrid_lob2_new() or get from the result set. buf Data that need to be written to the lob object. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 cubrid_ ... lob2_write() example 1 <?php // test_lob (id INT, contents CLOB) $conn = cubrid_connect ( "localhost" , 33000 , "demodb" , "dba" , "" ); cubrid_execute ( $conn ... , "DROP TABLE if exists test_lob" ); cubrid_execute ( $conn , "CREATE TABLE test_lob (id INT, contents CLOB)" ); $req = cubrid_prepare ( $conn , "INSER ...
https://man.mtool.work/php/8.3/function.cubrid-lob2-write.html
CURLStringFile::__construct — CURLStringFile オブジェクトを作る | PHP 8.3 9300
CURLStringFile::__construct (PHP 8 >= 8.1.0) CURLStringFile::__construct — CURLStringFile オブジェクトを作る 説明 public function CURLStringFile::__construct ( string $data , string $postname , string $mime = "application/octet-stream" ) CU ... RLStringFile オブジェクトを作ります。 これは、 CURLOPT_POSTFIELDS でファイルをアップロードするときに使います。 パラメータ data アップロードするデータ。 postname アップロードするデータの中のファイルの名前。 mime ファイルの MIME タイプ(デフォルトは ap ... e::__construct() の例 <?php /* http://example.com/upload.php: <?php var_dump($_FILES); var_dump(file_get_contents($_FILES['test_string']['tmp_name'])); ?> */ // cURL ハンドルを作ります $ch = curl_init ( 'http://example.com/upload.php' ); // CURLStrin ... gFile オブジェクトを作ります $cstringfile = new CURLStringFile ( 'test upload contents' , 'test.txt' , 'text/plain' ); // POST データを設定します $data = array( 'test_string' => $cstringfile ); ...
https://man.mtool.work/php/8.3/curlstringfile.construct.html
Fann 関数 | PHP 8.3 9191
Fann 関数 目次 fann_cascadetrain_on_data — Trains on an entire dataset, for a period of time using the Cascade2 training algorithm fann_cascadetrain_on_file — Trains on an entire dataset read from file, for a period of time using the Cascad ... fully connected backpropagation neural network using an array of layer sizes fann_create_train — Creates an empty training data struct fann_create_train_from_callback — Creates the training data struct from a user supplied function fann_descale_input ... — Scale data in input vector after get it from ann based on previously calculated parameters fann_descale_output — Scale data in output ... ate_limit — Return the candidate limit fann_get_cascade_candidate_stagnation_epochs — Returns the number of cascade candidate stagnation epochs fann_get_cascade_max_cand_epochs — Returns the maximum candidate epochs fann_get_cascade_max_out_epochs — ...
https://man.mtool.work/php/8.3/ref.fann.html
FANN (Fast Artificial Neural Network) | PHP 8.3 9149
FANN (Fast Artificial Neural Network) はじめに PHP binding for FANN (Fast Artificial Neural Network) Library which implements multilayer artificial neural networks with support for both fully connected and sparsely connected networks. It in ... cludes a framework for easy handling of training data sets. It is easy to use, versatile, well documented, and fast. インストール/設定 要件 インストール手順 リソース型 定義済み ... 定数 例 XOR training Fann 関数 fann_cascadetrain_on_data — Trains on an entire dataset, for a period of time using the Cascade2 training algorithm fann_cascadetrain_on_file — Trai ... ng an array of layer sizes fann_create_train — Creates an empty training data struct fann_create_train_from_callback — Creates the training data struct from a user supplied function fann_descale_input — Scale data in input vector after get it from an ...
https://man.mtool.work/php/8.3/book.fann.html
cubrid_lob2_read — Read from BLOB/CLOB data | PHP 8.3 9057
cubrid_lob2_read (PECL CUBRID >= 8.4.1) cubrid_lob2_read — Read from BLOB/CLOB data 説明 function cubrid_lob2_read ( resource $lob_identifier , int $len ): string The cubrid_lob2_read() function reads len bytes from the LOB data and returns ... entifier as a result of cubrid_lob2_new() or get from the result set. len Length from buffer you want to read from the lob data. 戻り値 Returns the contents as a string, false when there is no more data, or null on failure. 例 例1 cubrid_lob2_read() ... example 1 <?php // test_lob (id INT, contents CLOB) $conn = cubrid_connect ( "localhost" , 33000 , "demodb" , "public" , "" ); $req = cubrid_execu ... te ( $conn , "select * from test_lob" ); $row = cubrid_fetch_row ( $req , CUBRID_LOB ); print "position now is " . cubrid_lob2_tell ( $row [ 1 ]) . "\n" ; ...
https://man.mtool.work/php/8.3/function.cubrid-lob2-read.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT