original_string: public function train(string $id)
      {
          $modelResult = $this->getRequest()->request(
              'POST',
              $this->getRequestUrl(sprintf('models/%s/versions', $id))
          );
  
          return $this->getModelFromResult($modelResult);
      }
code: public function train(string $id)
      {
          $modelResult = $this->getRequest()->request(
              'POST',
              $this->getRequestUrl(sprintf('models/%s/versions', $id))
          );
  
          return $this->getModelFromResult($modelResult);
      }
code_tokens: public function train ( string $ id ) { $ modelResult = $ this -> getRequest ( ) -> request ( 'POST' , $ this -> getRequestUrl ( sprintf ( 'models/%s/versions' , $ id ) ) ) ; return $ this -> getModelFromResult ( $ modelResult ) ; }
docstring: Train the model
  
  @param string $id
  
  @return Model
docstring_tokens: Train the model