コード例 #1
0
ファイル: fann.class.php プロジェクト: 0-php/AI
 /**
  * Test ANN with input and output
  * @param array input vector
  * @param array output vector
  * @return bool true on success, false on error
  */
 public function test(array $input_vector, array $output_vector)
 {
     $this->checkIfAnnIsAssigned();
     return fann_test($this->annId, $input_vector, $output_vector);
 }
コード例 #2
0
 public function test(array $input, $desiredOutput)
 {
     return fann_test($this->ann, $input, $desiredOutput);
 }