docstr: Generate a key to describe the current Environment's cross-experiment parameters
docstr_tok: ["Generate","a","key","to","describe","the","current","Environment","'s","cross-experiment","parameters"]
code: def generate_cross_experiment_key(self):
      """Generate a key to describe the current Environment's cross-experiment parameters"""
      parameters = dict(
          metrics_params=self.metrics_params,
          cv_params=self.cv_params,
          target_column=self.target_column,
          id_column=self.id_column,
          do_predict_proba=self.do_predict_proba,
          prediction_formatter=self.prediction_formatter,
          train_dataset=self.train_dataset,
          test_dataset=self.test_dataset,
          holdout_dataset=self.holdout_dataset,
          cross_experiment_params=self.cross_experiment_params.copy(),
          to_csv_params=self.to_csv_params,
      )
  
      #################### Revert Aliases for Compatibility ####################
      # If any aliases were used during call to `Environment.__init__`, replace the default names
      # in `parameters` with the alias used. This ensures compatibility with Environment keys
      # made in earlier versions
      aliases_used = getattr(self, "__hh_aliases_used", {})
  
      # noinspection PyUnusedLocal
      def _visit(path, key, value):
          if key in aliases_used:
              key = aliases_used.pop(key)
          return (key, value)
  
      if aliases_used:
          parameters = remap(parameters, visit=_visit)
  
      #################### Make `cross_experiment_key` ####################
      self.cross_experiment_key = CrossExperimentKeyMaker(parameters)
  
imports: from hyperparameter_hunter.callbacks.bases import BaseCallback
  from hyperparameter_hunter.i_o.reporting import ReportingHandler
  from hyperparameter_hunter.keys.makers import CrossExperimentKeyMaker
  from hyperparameter_hunter.metrics import format_metrics
  from hyperparameter_hunter.sentinels import DatasetSentinel
  from hyperparameter_hunter.settings import G, ASSETS_DIRNAME, RESULT_FILE_SUB_DIR_PATHS
  from hyperparameter_hunter.utils.boltons_utils import remap
  from hyperparameter_hunter.utils.file_utils import make_dirs, ParametersFromFile
  from hyperparameter_hunter.utils.general_utils import Alias
  from hyperparameter_hunter.utils.result_utils import format_predictions, default_do_full_save
  from inspect import signature, isclass
  import numpy
  import os.path
  import pandas
  from pandas.api.types import is_numeric_dtype
  from typing import List, Optional, Tuple, Union
  from sklearn.model_selection import _split
label_desc: Use image node_id 29 for calling the Environment obj's underlying member method code with example usage: obj.generate_cross_experiment_key() and returns: key,  value