[DOC] Clear stale ImportError output from data_unequal notebook - #3748
[DOC] Clear stale ImportError output from data_unequal notebook#3748AnkitKumarIISERB wants to merge 2 commits into
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Thank you for contributing to
|
There was a problem hiding this comment.
Pull request overview
This PR updates the data_unequal example notebook to remove stale, cached execution output (an ImportError traceback) that was rendering on the documentation site.
Changes:
- Cleared cached cell outputs and reset
execution_countvalues inexamples/datasets/data_unequal.ipynb. - Reordered/normalized some per-cell metadata blocks.
This pull request includes code written with the assistance of AI.
The code has not yet been reviewed by a human.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "outputs": [], | ||
| "source": [ | ||
| "from aeon.utils.discovery import all_estimators\n", | ||
| "\n", | ||
| "all_estimators(type_filter=\"classifier\", tag_filter={\"capability:unequal_length\": True})" |
| "metadata": { | ||
| "collapsed": false, | ||
| "ExecuteTime": { | ||
| "end_time": "2026-02-23T14:13:34.343799Z", | ||
| "start_time": "2026-02-23T14:13:19.438797Z" | ||
| } |
|
Thanks for looking at this. I don't think simply clearing the cached output fixes the issue though. Our docs use nbsphinx_execute = "never", so notebooks are not rerun during the documentation build Could you rerun this notebook against the current aeon environment and commit the refreshed outputs instead? In particular, the all_estimators(...) cell should display the expected estimator list rather than have outputs: []. It also looks like this change has cleared the outputs from all the other cells in the notebook, which we should retain. |
|
Done! set up a Python 3.12 conda environment (numba crashes the kernel Note: the failing CI check is examples/visualisation/plotting_estimators.ipynb |
Closes #3385
The rendered documentation page was showing a stale ImportError traceback
from a previous notebook execution with an incompatible sklearn version.
The underlying code in
_continuous_interval_tree.pyhas since been updatedto use
validate_datafrom a compatible sklearn version.This PR clears the cached cell output so the docs page no longer renders
the error traceback.