class_docstr: Controller control the sample-score flow in the 1st phase.
  It records the results in the history.
class_docstr_tok: ["Controller","control","the","sample-score","flow","in","the","1st","phase",".","It","records","the","results","in","the","history","."]
docstr: The model is already scored by: low -> high
  :param k:
  :return:
docstr_tok: ["The","model","is","already","scored","by",":","low","-",">","high",":","param","k",":",":","return",":"]
code: def get_current_top_k_models(self, k=-1):
      """
      The model is already scored by: low -> high
      :param k:
      :return:
      """
      if k == -1:
          # retur all models
          return self.ranked_models
      else:
          return self.ranked_models[-k:]
  
file_path: singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/internal/ml/model_selection/src/controller/controler.py
imports: import time
  from src.controller.core.sample import Sampler
  from src.third_pkg.models import CellStructure
label_desc: Use image node_id 7 for calling the SampleController obj's underlying member method code with example usage: obj.get_current_top_k_models(k) and returns: self, self