original_string: private function get_predict_samples_record(\core_analytics\local\time_splitting\base $timesplitting, int $rangeindex) {
          global $DB;
  
          $params = array('modelid' => $this->analyser->get_modelid(), 'analysableid' => $timesplitting->get_analysable()->get_id(),
              'timesplitting' => $timesplitting->get_id(), 'rangeindex' => $rangeindex);
          $predictedrange = $DB->get_record('analytics_predict_samples', $params);
  
          return $predictedrange;
      }
code: private function get_predict_samples_record(\core_analytics\local\time_splitting\base $timesplitting, int $rangeindex) {
          global $DB;
  
          $params = array('modelid' => $this->analyser->get_modelid(), 'analysableid' => $timesplitting->get_analysable()->get_id(),
              'timesplitting' => $timesplitting->get_id(), 'rangeindex' => $rangeindex);
          $predictedrange = $DB->get_record('analytics_predict_samples', $params);
  
          return $predictedrange;
      }
code_tokens: private function get_predict_samples_record ( \ core_analytics \ local \ time_splitting \ base $ timesplitting , int $ rangeindex ) { global $ DB ; $ params = array ( 'modelid' => $ this -> analyser -> get_modelid ( ) , 'analysableid' => $ timesplitting -> get_analysable ( ) -> get_id ( ) , 'timesplitting' => $ timesplitting -> get_id ( ) , 'rangeindex' => $ rangeindex ) ; $ predictedrange = $ DB -> get_record ( 'analytics_predict_samples' , $ params ) ; return $ predictedrange ; }
docstring: Returns a predict samples record.
  
  @param  \core_analytics\local\time_splitting\base $timesplitting
  @param  int                                       $rangeindex
  @return \stdClass|false
docstring_tokens: Returns a predict samples record .