parameters: (self, model_info, filename)
docstring: The file should be in the format of <query_id>, <plan_node_id>, <parent_node_id>, <enc>, <startup_time>,
          <total_time>, <actual_rows> for <enc>, it should be an list of encoded feature with fixed length, Which
          must be ensured by the backend side.
          'dim_red': the 'n_components' of PCA.
          'filename': the path of target file to parse.
          'model_name': the model that the parser adapted to
docstring_summary: The file should be in the format of <query_id>, <plan_node_id>, <parent_node_id>, <enc>, <startup_time>,
          <total_time>, <actual_rows> for <enc>, it should be an list of encoded feature with fixed length, Which
          must be ensured by the backend side.
          'dim_red': the 'n_components' of PCA.
          'filename': the path of target file to parse.
          'model_name': the model that the parser adapted to
docstring_tokens: The file should be in the format of <query_id > <plan_node_id > <parent_node_id > <enc > <startup_time > <total_time > <actual_rows > for <enc > it should be an list of encoded feature with fixed length Which must be ensured by the backend side . dim_red : the n_components of PCA . filename : the path of target file to parse . model_name : the model that the parser adapted to
function: def __init__(self, model_info, filename):
          """
          The file should be in the format of <query_id>, <plan_node_id>, <parent_node_id>, <enc>, <startup_time>,
          <total_time>, <actual_rows> for <enc>, it should be an list of encoded feature with fixed length, Which
          must be ensured by the backend side.
          'dim_red': the 'n_components' of PCA.
          'filename': the path of target file to parse.
          'model_name': the model that the parser adapted to
          """
          self.dim_red = round(float(model_info.dim_red), 2)
          self.filename = filename
          self.model_name = model_info.model_name
          logging.config.fileConfig('log.conf')
          self.parse_logger = logging.getLogger('parse')
function_tokens: def __init__ ( self , model_info , filename ) : self . dim_red = round ( float ( model_info . dim_red ) , 2 ) self . filename = filename self . model_name = model_info . model_name logging . config . fileConfig ( 'log.conf' ) self . parse_logger = logging . getLogger ( 'parse' )