feat(notebooks): ✨ adding jupyter notebooks w/ simple exercises#143
Merged
Conversation
Contributor
There was a problem hiding this comment.
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-notebooksvenv and ajupyter-labtarget. - 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. |
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
marked this pull request as ready for review
July 20, 2026 07:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.