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"]
docstr: Runs the dataset on a json file specification
  :param json_file_path path to json file for
docstr_tok: ["Runs","the","dataset","on","a","json","file","specification",":","param","json_file_path","path","to","json","file","for"]
code: def run(self, json_file_path, as_dict=False, perform_PCA=True):
      """
      Runs the dataset on a json file specification
      :param json_file_path path to json file for
      """
      new_id = str(uuid.uuid4())
      self.latest_id = new_id
  
      if self.model is not None:
          self.update_history(json_file_path)
  
      request_info = {
          "df": self.df,
          "json": json_file_path,
          "y": None,
          "model": "None",
          "analysis": None,
          "custom": self.custom_files,
          "pca": perform_PCA,
      }
  
      pipeline = None
  
      if self.debug:
          pipeline = [
              dataset_initializer,
              preprocess_module,
              modeling_module,
          ]
      else:
          pipeline = [
              dataset_initializer,
              preprocess_module,
              modeling_module,
              analysis_module,
          ]
  
      for a_step in pipeline:
          request_info = a_step(request_info)
  
      self.set_class_after_run(request_info)
  
      return self
  
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 2 for calling the Polymer obj's underlying member method code with example usage: obj.run(json_file_path, as_dict, perform_PCA) and returns: self