Skip to content

Adding experiment metadata table to the -/ml/experiments/:id

What does this MR do and why?

Adding display of ML experiment metadata below the table in -/ml/experiments/:id As described in #415792 (closed)

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
image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Run default gdk
  2. Setup a project and seed it with mlflow (example: https://gitlab.com/gitlab-org/incubation-engineering/mlops/model_experiment_example ). To add metadata create experiment manually and add tags (ref https://mlflow.org/docs/latest/getting-started/logging-first-model/step3-create-experiment.html)
  3. Go to the newly created experiment in the repository of your choosing

Seeding data using rails console

p = Project.find_by(id: 1)
exp = Ml::Experiment.create!(project: p, name: "Awesome experiment")
Ml::ExperimentMetadata.create!(experiment: exp, name: 'metadata_1', value: 'a')
Ml::ExperimentMetadata.create!(experiment: exp, name: 'metadata_2', value: '123456789')

Related to #415792 (closed)

Edited by Eduardo Bonet

Merge request reports