/** * 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); }
public function test(array $input, $desiredOutput) { return fann_test($this->ann, $input, $desiredOutput); }