Document experiments usage with python code examples

What does this MR do and why?

This MR adds an example code-snippet page to the empty Experiments page. When the user clicks on the button, it provides the sample code to create a new Experiment/Candidate in GitLab using the mlflow python client.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
A1.png B1.png
A2.png B2.png
B3.png

How to set up and validate locally

  1. Visit a projects experiment page without any experiments `http://127.0.0.1:3000/groups/flightjs/-/ml/experiments
  2. Click on the Create using MLflow button
  3. A new page should pop-up with the sample code and a button on the bottom
  4. Click on the MLflow compatibility documentation button
  5. A new browser page should open with the relevant documentation

Related to #505470 (closed)

Edited by Andras Herczeg

Merge request reports

Loading