Skip to content

feat(notebooks): ✨ adding jupyter notebooks w/ simple exercises#143

Merged
dvorka merged 4 commits into
dev/1.60.0from
feat-20260712/notebooks
Jul 20, 2026
Merged

feat(notebooks): ✨ adding jupyter notebooks w/ simple exercises#143
dvorka merged 4 commits into
dev/1.60.0from
feat-20260712/notebooks

Conversation

@dvorka

@dvorka dvorka commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@dvorka dvorka self-assigned this Jul 12, 2026
Copilot AI review requested due to automatic review settings July 12, 2026 15:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a notebooks/ area with several Jupyter notebooks demonstrating ML/DS concepts (XGBoost, TabICL, Bokeh, objective metrics, recommenders, etc.) and adds Makefile support for a dedicated .venv-notebooks environment and launching Jupyter Lab.

Changes:

  • Added multiple educational Jupyter notebooks under notebooks/ (some currently committed with large executed outputs).
  • Added Jupyter Lab workflow in Makefile, including creation of a .venv-notebooks venv and a jupyter-lab target.
  • Added Jupyter-generated .ipynb_checkpoints/ files (editor artifacts).

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
Makefile Adds .venv-notebooks venv and a jupyter-lab target to run notebooks.
notebooks/autoencoder.ipynb Adds a tabular autoencoder example notebook.
notebooks/bokeh.ipynb Adds a Bokeh examples notebook (currently includes large embedded outputs).
notebooks/objective-metrics.ipynb Adds a notebook explaining common classification/regression metrics.
notebooks/recommender-activity.ipynb Adds a simple content-based activity recommender notebook.
notebooks/spotify.ipynb Adds a Spotify dataset exploration notebook (currently references a missing CSV).
notebooks/tab-icl.ipynb Adds a TabICL example notebook (includes install guidance and outputs).
notebooks/text-embeddings.ipynb Adds a placeholder text embeddings notebook (currently mostly empty).
notebooks/xgboost.ipynb Adds an XGBoost regression example notebook (currently includes executed outputs).
notebooks/.ipynb_checkpoints/autoencoder-checkpoint.ipynb Jupyter checkpoint artifact committed.
notebooks/.ipynb_checkpoints/bokeh-checkpoint.ipynb Jupyter checkpoint artifact committed.
notebooks/.ipynb_checkpoints/objective-metrics-checkpoint.ipynb Jupyter checkpoint artifact committed.
notebooks/.ipynb_checkpoints/recommender-activity-checkpoint.ipynb Jupyter checkpoint artifact committed.
notebooks/.ipynb_checkpoints/spotify-checkpoint.ipynb Jupyter checkpoint artifact committed.
notebooks/.ipynb_checkpoints/tab-icl-checkpoint.ipynb Jupyter checkpoint artifact committed.
notebooks/.ipynb_checkpoints/text-embeddings-checkpoint.ipynb Jupyter checkpoint artifact committed.
notebooks/.ipynb_checkpoints/xgboost-checkpoint.ipynb Jupyter checkpoint artifact committed.

Comment thread Makefile Outdated
Comment thread Makefile
Comment thread notebooks/tab-icl.ipynb
Comment thread notebooks/tab-icl.ipynb
Comment thread notebooks/bokeh.ipynb
Comment thread notebooks/spotify.ipynb
Comment thread notebooks/autoencoder.ipynb
Comment thread notebooks/.ipynb_checkpoints/xgboost-checkpoint.ipynb Outdated
Comment thread notebooks/recommender-activity.ipynb
Comment thread notebooks/text-embeddings.ipynb
@dvorka
dvorka marked this pull request as draft July 15, 2026 14:00
@dvorka
dvorka changed the base branch from dev/1.59.0 to dev/1.60.0 July 20, 2026 06:55
dvorka and others added 3 commits July 20, 2026 08:56
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The jupyter-lab target installed and ran Jupyter via bare `uv pip` /
`uv run`, which resolve to the project environment - so JupyterLab
landed in .venv and the registered kernel pointed at it, making the
.venv-notebooks prerequisite decorative.

- install the declared `notebook` dependency group into .venv-notebooks
  instead of hand-installing unpinned jupyterlab/ipykernel
- declare ipykernel in the `notebook` group
- invoke .venv-notebooks/bin/ directly; `uv run --python` selects the
  interpreter for the *project* env and can recreate .venv
- name the kernel `mytral-notebooks` rather than a venv directory name
- ignore .venv-notebooks/ explicitly

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dvorka
dvorka marked this pull request as ready for review July 20, 2026 07:09
@dvorka
dvorka merged commit d6e19af into dev/1.60.0 Jul 20, 2026
2 checks passed
@dvorka
dvorka deleted the feat-20260712/notebooks branch July 20, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants