code: def create_study(
      self,
      study_name,
      study_configuration,
      algorithm="BayesianOptimization",
  ):
      url = "{}/suggestion/v1/studies".format(self.endpoint)
      request_data = {
          "name": study_name,
          "study_configuration": study_configuration,
          "algorithm": algorithm,
      }
      response = requests.post(url, json=request_data)
  
      study = None
      if response.ok:
          study = Study.from_dict(response.json()["data"])
  
      return study
  
imports: import os
  import json
  import requests
  from .model import Study
  from .model import Trial
  from .model import TrialMetric
label_desc: Use image node_id 2 for calling the AdvisorClient obj's underlying member method code with example usage: obj.create_study(study_name, study_configuration, algorithm) and returns: study