@@ -18,7 +18,7 @@ def thetis_mlflow(
1818 annotations : Union [pd .DataFrame , Dict [str , pd .DataFrame ]],
1919 description : Dict [str , str ] = None ,
2020 mlflow_step : Optional [int ] = None ,
21- predictions_perturbations : None = None ,
21+ robustness_predictions : Optional [ Dict [ str , Union [ pd . DataFrame , Dict [ str , pd . DataFrame ]]]] = None ,
2222 license_file_path : Union [str , os .PathLike ] = None ,
2323 license_xml_str : str = None ,
2424 license_key_and_signature : Tuple [str , str ] = None ,
@@ -148,15 +148,16 @@ def thetis_mlflow(
148148 coordinates and optionally sensitive attributes. The bounding box columns must correspond to the format
149149 specified in the user configuration. Must also include a "__meta__" key with image metadata.
150150 **Regression:** DataFrame with columns "target" and optionally sensitive attributes.
151- description: dict containing a description of your AI solution required for creating a technical documentation
151+ description: dict containing a description of your AI solution required for creating a technical documentation
152152 in accordance with Article 11 and Annex IV of the AI Act. The data entered here includes the title,
153153 provider, contact person (intern), contact person (extern), purpose, requirements, forms of distribution,
154154 hardware details and a UI description. These details cannot be automatically filled out and must be provided
155155 manually to ensure the documentation's completeness and transparency. If certain fields in the descriptions
156156 are not filled in, they also remain empty in the technical documentation.
157157 mlflow_step: Optional integer with the current step count to be passed to MLflow's "log_param" function.
158- predictions_perturbations: AI predictions for each configured perturbation type.
159- The perturbation type is the key of the dictionary, and each value must have the same format as the "predictions" parameter.
158+ robustness_predictions: Dict with AI predictions for each configured corruption type and intensity.
159+ The dict keys correspond to the directory names of the robustness data directories as created by
160+ create_robustness_images. Each value must have the same format as the "predictions" parameter.
160161 license_file_path: Path to an XML license file to run the application.
161162 license_xml_str: String representation of an XML license file to run the application.
162163 license_key_and_signature: Tuple of license key and signature strings.
@@ -258,7 +259,7 @@ def thetis_mlflow(
258259 annotations = annotations ,
259260 description = description ,
260261 mlflow_step = mlflow_step ,
261- predictions_perturbations = predictions_perturbations ,
262+ robustness_predictions = robustness_predictions ,
262263 license_file_path = license_file_path ,
263264 license_xml_str = license_xml_str ,
264265 license_key_and_signature = license_key_and_signature ,
0 commit comments