public function getData()
 {
     $data = parent::getData();
     $data['positive_examples'] = $this->getPositiveExamples();
     $data['negative_examples'] = $this->getNegativeExamples();
     $data['name'] = $this->getName();
     return $data;
 }
 public function getData()
 {
     $data = parent::getData();
     if ($verbose = $this->getVerbose()) {
         $data['verbose'] = $verbose;
     }
     return $data;
 }
 /**
  * Get parameters for classify request
  *
  * @return array
  *
  * ['images_file', 'classifier_ids']
  *
  */
 public function getData()
 {
     $data = parent::getData();
     $data['images_file'] = $this->getImagesFile();
     if ($classifierIds = $this->getClassifierIds()) {
         $data['classifier_ids'] = $classifierIds;
     }
     return $data;
 }
 public function getData()
 {
     $data = parent::getData();
     $data['classifier_id'] = $this->getClassifierId();
     return $data;
 }
 public function testGetParameters()
 {
     $this->assertEquals($this->config, $this->request->getParameters());
 }