code: def __init__(
      self,
      x,
      y,
      params,
      model,
      experiment_name,
      x_val=None,
      y_val=None,
      val_split=0.3,
      multi_input=False,
      random_method="uniform_mersenne",
      seed=None,
      performance_target=None,
      fraction_limit=None,
      round_limit=None,
      time_limit=None,
      boolean_limit=None,
      reduction_method=None,
      reduction_interval=50,
      reduction_window=20,
      reduction_threshold=0.2,
      reduction_metric="val_acc",
      minimize_loss=False,
      disable_progress_bar=False,
      print_params=False,
      clear_session=True,
      save_weights=True,
      save_models=False,
  ):
      self.x = x
      self.y = y
      self.params = params
      self.model = model
      self.experiment_name = experiment_name
      self.x_val = x_val
      self.y_val = y_val
      self.val_split = val_split
      self.multi_input = multi_input
  
      # randomness
      self.random_method = random_method
      self.seed = seed
  
      # limiters
      self.performance_target = performance_target
      self.fraction_limit = fraction_limit
      self.round_limit = round_limit
      self.time_limit = time_limit
      self.boolean_limit = boolean_limit
  
      # optimization
      self.reduction_method = reduction_method
      self.reduction_interval = reduction_interval
      self.reduction_window = reduction_window
      self.reduction_threshold = reduction_threshold
      self.reduction_metric = reduction_metric
      self.minimize_loss = minimize_loss
  
      # display
      self.disable_progress_bar = disable_progress_bar
      self.print_params = print_params
  
      # performance
      self.clear_session = clear_session
      self.save_weights = save_weights
      self.save_models = save_models
  
      # start runtime
      from .scan_run import scan_run
  
      scan_run(self)
  
label_desc: Use image node_id 1 to create a new Scan object  with example: obj = Scan(x, y, params, model, experiment_name, x_val, y_val, val_split, multi_input, random_method, seed, performance_target, fraction_limit, round_limit, time_limit, boolean_limit, reduction_method, reduction_interval, reduction_window, reduction_threshold, reduction_metric, minimize_loss, disable_progress_bar, print_params, clear_session, save_weights, save_models)