Skip to content

Fix examples for the renamed analyses client API - #4

Open
KFilippopolitis wants to merge 1 commit into
masterfrom
fix/analyses-api
Open

KFilippopolitis wants to merge 1 commit into
masterfrom
fix/analyses-api

Conversation

@KFilippopolitis

Copy link
Copy Markdown
Contributor

Follows the mip client hard rename experiments -> analyses (mip-jupyter refactor(client)!: rename experiments to analyses, no aliases) and the current platform UI labels ("My analyses", "Save analysis").

Changes

  • ECREAM analysis_1/2/3, live_demo: client.experiments().list() -> client.analyses().list(), saved_experiments() -> saved_analyses(), prose ("My experiments" -> "My analyses", "Save experiment" -> "Save analysis").
  • IST scenario_5: two prose references to "the experiment" in the MIP interface -> "the analysis".
  • algorithm_examples.py: removed the pca_with_transformation step — that algorithm no longer exists in exaflow (decomposition keeps pca and pca_column_creator only); docstring count 30 -> 29.
  • Untouched on purpose: FERES + IST scenario code (already on the new API), all other project notebooks.

Depends on (separate mip-jupyter work, not in this PR)

  • The client fix that makes CategoricalColumnCreator send new_column_names instead of the removed code parameter (exaflow rejects it with "Parameter code does not exist in the algorithm specification"). Until that client ships in the notebook image, FERES feres_analysis.ipynb fails on any pipeline built with new_columns. ECREAM was not executed against handson (data not deployed there).

Verified

  • Raw-text edits only; git diff -U0 shows source lines only, outputs/metadata untouched.
  • nbformat.validate on all touched notebooks, py_compile on algorithm_examples.py.
  • grep -r 'experiments()\|ExperimentRegistry\|saved_experiments\|pca_with_transformation' -> clean.

…ation

Follows the mip client's hard rename experiments -> analyses
(Client.analyses(), My analyses / Save analysis UI labels) and removes
the pca_with_transformation step, which no longer exists in exaflow.
FERES/IST notebook code needed no changes; FERES works once the client
sends new_column_names for categorical_column_creator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants