class_docstr: Constructor for the Polymer class.
  :param dataset_path is the path to the dataset
  :param save_model: whether the model should be saved in a .sav file
class_docstr_tok: ["Constructor","for","the","Polymer","class",".",":","param","dataset_path","is","the","path","to","the","dataset",":","param","save_model",":","whether","the","model","should","be","saved","in","a",".sav","file"]
code: def get_results(self, input_file, output_file_path=""):
      request_info = {
          "input": input_file,
          "cols": self.col_names,
          "json": self.json_file,
          "model": self.model,
          "result-transforms": self.transforms,
      }
      if self.pca_model is not None:
          request_info["pca-model"] = self.pca_model
      output = perform_inference(request_info)
      if len(output_file_path) > 0:
          if output_file_path[-3:] == "csv":
              output.to_csv(output_file_path, index=False)
          elif output_file_path[-4:] == "json":
              output.to_json(output_file_path, orient="records")
      return output
  
file_path: nylon/nylon/query.py
imports: from pandas.core.algorithms import mode
  from nylon.supplementaries.main import dataset_initializer
  from nylon.supplementaries.handlers import preprocess_module, modeling_module, analysis_module, perform_inference
  import uuid
  import pandas
label_desc: Use image node_id 6 for calling the Polymer obj's underlying member method code with example usage: obj.get_results(input_file, output_file_path) and returns: output