class_docstr: Defines the top-level Model Analysis API.
  Use ModelAnalysis to analyze errors, explain the most important
  features, compute counterfactuals and run causal analysis in a
  single API.
docstr: Load the ModelAnalysis from the given path.
  :param path: The directory path to load the ModelAnalysis from.
  :type path: str
  :return: The ModelAnalysis object after loading.
  :rtype: ModelAnalysis
docstr_tok: ["Load","the","ModelAnalysis","from","the","given","path",".",":","param","path",":","The","directory","path","to","load","the","ModelAnalysis","from",".",":","type","path",":","str",":","return",":","The","ModelAnalysis","object","after","loading",".",":","rtype",":","ModelAnalysis"]
code: def load(path):
      """Load the ModelAnalysis from the given path.
      :param path: The directory path to load the ModelAnalysis from.
      :type path: str
      :return: The ModelAnalysis object after loading.
      :rtype: ModelAnalysis
      """
      # create the ModelAnalysis without any properties using the __new__
      # function, similar to pickle
      inst = ModelAnalysis.__new__(ModelAnalysis)
      inst.rai_insights = RAIInsights.load(path)
      inst.model = inst.rai_insights.model
      inst.train = inst.rai_insights.train
      inst.test = inst.rai_insights.test
      inst.target_column = inst.rai_insights.target_column
      inst.task_type = inst.rai_insights.task_type
      inst.categorical_features = inst.rai_insights.categorical_features
      inst._feature_metadata = inst.rai_insights._feature_metadata
      return inst
  
imports: import warnings
  from typing import Any, List, Optional
  import numpy
  import pandas
  from responsibleai.feature_metadata import FeatureMetadata
  from responsibleai.managers.causal_manager import CausalManager
  from responsibleai.managers.counterfactual_manager import CounterfactualManager
  from responsibleai.managers.error_analysis_manager import ErrorAnalysisManager
  from responsibleai.managers.explainer_manager import ExplainerManager
  from responsibleai.rai_insights import RAIInsights
label_desc: Use image node_id 11 for calling the ModelAnalysis obj's underlying member method code with example usage: obj.load(path) and returns: inst