IBMExperimentService.create_analysis_result

IBMExperimentService.create_analysis_result(data, json_encoder=<class 'json.encoder.JSONEncoder'>)[source]

Create a new analysis result in the database.

Parameters:
  • data (AnalysisResultData) – The data to save.

  • json_encoder (Type[JSONEncoder]) – Custom JSON encoder to use to encode the analysis result.

Return type:

str

Returns:

Analysis result ID.

Raises:
  • IBMExperimentEntryExists – If the analysis result already exits.

  • IBMApiError – If the request to the server failed.