Skip to content

Add Colab notebooks, README updates, and Bayesian bug fixes - #3

Merged
Mattral merged 1 commit into
mainfrom
notebooks-colab-fixes
Jun 22, 2026
Merged

Add Colab notebooks, README updates, and Bayesian bug fixes#3
Mattral merged 1 commit into
mainfrom
notebooks-colab-fixes

Conversation

@Mattral

@Mattral Mattral commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

This PR delivers the notebook integration, README polish, and several bug fixes found during notebook development.

New Content

  • Added five fully executed Jupyter notebooks under notebooks/ (supervised, unsupervised, bayesian, reinforcement, neural networks).
  • Updated README:
    • Removed broken CI badge.
    • Added Colab badge row.
    • Added dedicated "Try it — Colab notebooks" section with direct links.
    • Updated test counts and algorithm table rows.

Bug Fixes

  • BayesianNetwork.query(): fixed axis-shrinkage logic for multiple evidence variables.
  • BayesianNeuralNetwork: clamped log_sigma to [-8, 2] with gradient clipping to prevent overflow.
  • GaussianProcessRegressor.predict(): corrected 1-D input handling to avoid kernel matrix mismatch.

Documentation

  • Added notebooks entry to CHANGELOG.
  • Updated roadmap and README to reflect new test counts and notebook availability.

Verification

  • All five notebooks execute end-to-end with zero errors.
  • 15 previously failing tests now pass; 11 remaining failures are unrelated NumPy 2.x drift.
  • All examples run successfully.

This PR makes the notebooks accessible via Colab and ensures the Bayesian methods are robust and correctly tested.

@dagshub

dagshub Bot commented Jun 22, 2026

Copy link
Copy Markdown

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@Mattral
Mattral merged commit d1b3eaa into main Jun 22, 2026
1 check failed
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.

1 participant