code: def init(
      path: Optional[str] = None,
      params: Optional[Dict[str, Any]] = None,
      disable_heartbeat: bool = False,
      debug: bool = False,
  ) -> Experiment:
      """
      Create a new experiment.
      """
      project = Project(debug=debug)
      return project.experiments.create(
          path=path, params=params, disable_heartbeat=disable_heartbeat
      )
  
file_path: keepsake/python/keepsake/project.py
imports: import os
  from typing import Dict, Any, Optional
  import json
  from .None import console
  from .daemon import Daemon
  from .experiment import ExperimentCollection, Experiment
label_desc: Use image node_id 1 for calling a global function with example usage: init(path, params, disable_heartbeat, debug) and returns: project