code: def to_dict(self):
          
          final_res = {
              "param": self._param,
              "unused_param": self.unused_param,
              "execution_time": self._exec_time,
              "output": {"accuracy": self.get_accuracy(),
                         "weights": self.get_weights(),
                         "splines": self._splines
                         }
          }
          return final_res
docs: Returns:
              dict: Concise represented as a dictionary.