Commit Graph

217 Commits

Author SHA1 Message Date
lxcxjxhx 2a066be892 fix: replace bare except with except Exception
Bare except clauses catch all exceptions including SystemExit and
KeyboardInterrupt. Replace with except Exception in image validation
functions (tfcv.py, pytorchcv.py) for ConvNets and TransferLearning.
2026-07-29 21:58:39 +08:00
dependabot[bot] 5e6ce7740a
chore(deps): bump the pip group across 4 directories with 2 updates
Bumps the pip group with 2 updates in the / directory: [nltk](https://github.com/nltk/nltk) and [transformers](https://github.com/huggingface/transformers).
Bumps the pip group with 1 update in the /.devcontainer directory: [nltk](https://github.com/nltk/nltk).
Bumps the pip group with 2 updates in the /binder directory: [nltk](https://github.com/nltk/nltk) and [transformers](https://github.com/huggingface/transformers).
Bumps the pip group with 2 updates in the /lessons/5-NLP directory: [nltk](https://github.com/nltk/nltk) and [transformers](https://github.com/huggingface/transformers).


Updates `nltk` from 3.9.4 to 3.10.0
- [Release notes](https://github.com/nltk/nltk/releases)
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.9.4...v3.10.0)

Updates `transformers` from 5.3.0 to 5.5.0
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v5.3.0...v5.5.0)

Updates `nltk` from 3.9.4 to 3.10.0
- [Release notes](https://github.com/nltk/nltk/releases)
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.9.4...v3.10.0)

Updates `nltk` from 3.9.4 to 3.10.0
- [Release notes](https://github.com/nltk/nltk/releases)
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.9.4...v3.10.0)

Updates `transformers` from 5.3.0 to 5.5.0
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v5.3.0...v5.5.0)

Updates `nltk` from 3.9.4 to 3.10.0
- [Release notes](https://github.com/nltk/nltk/releases)
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.9.4...v3.10.0)

Updates `transformers` from 5.3.0 to 5.5.0
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v5.3.0...v5.5.0)

---
updated-dependencies:
- dependency-name: nltk
  dependency-version: 3.10.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: transformers
  dependency-version: 5.5.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: nltk
  dependency-version: 3.10.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: nltk
  dependency-version: 3.10.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: transformers
  dependency-version: 5.5.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: nltk
  dependency-version: 3.10.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: transformers
  dependency-version: 5.5.0
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-13 20:56:44 +00:00
Lee Stott 2d45a02c08
Merge pull request #636 from orbisai0security/fix-v003-vgg16-weights-integrity-check
fix: remove unsafe exec() in TransferLearningTF.ipynb
2026-07-06 16:46:18 +01:00
Lee Stott 7290b98524
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-06 16:08:36 +01:00
Lee Stott 63b09830a7
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-06 15:53:43 +01:00
Lee Stott 316c4ca9e1
Merge pull request #638 from dcaayushd/fix/nlp-requirements-typo-and-gensim
fix: correct pip command typo and update gensim version in Lesson 5 NLP
2026-07-02 14:41:27 +02:00
Lee Stott b770c948ad
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-02 13:41:16 +01:00
Lee Stott b3198aa4f9
Merge pull request #644 from jammerman/patch-1
Fix typo in Jupyter environment section
2026-07-02 14:36:41 +02:00
Lee Stott 18223bf7fa
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-02 13:36:24 +01:00
dependabot[bot] 7fe5974b3b
chore(deps): bump the pip group across 3 directories with 2 updates
Bumps the pip group with 1 update in the / directory: [transformers](https://github.com/huggingface/transformers).
Bumps the pip group with 1 update in the /binder directory: [transformers](https://github.com/huggingface/transformers).
Bumps the pip group with 2 updates in the /lessons/5-NLP directory: [transformers](https://github.com/huggingface/transformers) and [torch](https://github.com/pytorch/pytorch).


Updates `transformers` from 5.0.0rc3 to 5.3.0
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v5.0.0rc3...v5.3.0)

Updates `transformers` from 5.0.0rc3 to 5.3.0
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v5.0.0rc3...v5.3.0)

Updates `transformers` from 5.0.0rc3 to 5.3.0
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v5.0.0rc3...v5.3.0)

Updates `torch` from 2.8.0 to 2.12.1
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](https://github.com/pytorch/pytorch/compare/v2.8.0...v2.12.1)

---
updated-dependencies:
- dependency-name: transformers
  dependency-version: 5.3.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: transformers
  dependency-version: 5.3.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: transformers
  dependency-version: 5.3.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: torch
  dependency-version: 2.12.1
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 11:33:49 +00:00
Gavin McGibbon 20d156feb3
Fix typo in Jupyter environment section
Quick typo fix
2026-06-18 16:23:14 -07:00
Aayush D.C Dangi d50f8f765f fix: correct requirements-torch typo and update gensim version in lesson 5-NLP 2026-05-20 12:30:49 +05:45
orbisai0security 86d1f9c661 fix: V-003 security vulnerability
Automated security fix generated by Orbis Security AI
2026-05-17 03:42:07 +00:00
dependabot[bot] 7b8111f83b
chore(deps): bump the pip group across 4 directories with 1 update
Bumps the pip group with 1 update in the / directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /.devcontainer directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /binder directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /lessons/5-NLP directory: [pillow](https://github.com/python-pillow/Pillow).


Updates `pillow` from 12.1.1 to 12.2.0
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/12.1.1...12.2.0)

Updates `pillow` from 12.1.1 to 12.2.0
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/12.1.1...12.2.0)

Updates `pillow` from 12.1.1 to 12.2.0
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/12.1.1...12.2.0)

Updates `pillow` from 12.1.1 to 12.2.0
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/12.1.1...12.2.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.2.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: pillow
  dependency-version: 12.2.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: pillow
  dependency-version: 12.2.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: pillow
  dependency-version: 12.2.0
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-20 15:39:42 +00:00
dependabot[bot] 7f7fc8e435
chore(deps): bump the pip group across 4 directories with 2 updates
Bumps the pip group with 2 updates in the / directory: [nltk](https://github.com/nltk/nltk) and [transformers](https://github.com/huggingface/transformers).
Bumps the pip group with 1 update in the /.devcontainer directory: [nltk](https://github.com/nltk/nltk).
Bumps the pip group with 2 updates in the /binder directory: [nltk](https://github.com/nltk/nltk) and [transformers](https://github.com/huggingface/transformers).
Bumps the pip group with 2 updates in the /lessons/5-NLP directory: [nltk](https://github.com/nltk/nltk) and [transformers](https://github.com/huggingface/transformers).


Updates `nltk` from 3.9.3 to 3.9.4
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.9.3...3.9.4)

Updates `transformers` from 4.53.0 to 5.0.0rc3
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.53.0...v5.0.0rc3)

Updates `nltk` from 3.9.3 to 3.9.4
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.9.3...3.9.4)

Updates `nltk` from 3.9.3 to 3.9.4
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.9.3...3.9.4)

Updates `transformers` from 4.53.0 to 5.0.0rc3
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.53.0...v5.0.0rc3)

Updates `nltk` from 3.9.3 to 3.9.4
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.9.3...3.9.4)

Updates `transformers` from 4.53.0 to 5.0.0rc3
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.53.0...v5.0.0rc3)

---
updated-dependencies:
- dependency-name: nltk
  dependency-version: 3.9.4
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: transformers
  dependency-version: 5.0.0rc3
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: nltk
  dependency-version: 3.9.4
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: nltk
  dependency-version: 3.9.4
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: transformers
  dependency-version: 5.0.0rc3
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: nltk
  dependency-version: 3.9.4
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: transformers
  dependency-version: 5.0.0rc3
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-08 06:25:23 +00:00
copilot-swe-agent[bot] 9e39f4cfea Fix nltk vulnerabilities: upgrade all pins to 3.9.3
Co-authored-by: leestott <2511341+leestott@users.noreply.github.com>
2026-02-27 07:02:23 +00:00
copilot-swe-agent[bot] 1aa489d6d6 Replace deprecated Microsoft Concept Graph API with ConceptNet in lessons/2-Symbolic
Co-authored-by: leestott <2511341+leestott@users.noreply.github.com>
2026-02-27 06:58:23 +00:00
dependabot[bot] 9865a6f80c
chore(deps): bump the pip group across 4 directories with 2 updates
Bumps the pip group with 2 updates in the / directory: [keras](https://github.com/keras-team/keras) and [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 2 updates in the /.devcontainer directory: [keras](https://github.com/keras-team/keras) and [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 2 updates in the /binder directory: [keras](https://github.com/keras-team/keras) and [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /lessons/5-NLP directory: [pillow](https://github.com/python-pillow/Pillow).


Updates `keras` from 3.13.1 to 3.13.2
- [Release notes](https://github.com/keras-team/keras/releases)
- [Commits](https://github.com/keras-team/keras/compare/v3.13.1...v3.13.2)

Updates `pillow` from 10.4.0 to 12.1.1
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.4.0...12.1.1)

Updates `keras` from 3.13.1 to 3.13.2
- [Release notes](https://github.com/keras-team/keras/releases)
- [Commits](https://github.com/keras-team/keras/compare/v3.13.1...v3.13.2)

Updates `pillow` from 10.4.0 to 12.1.1
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.4.0...12.1.1)

Updates `keras` from 3.13.1 to 3.13.2
- [Release notes](https://github.com/keras-team/keras/releases)
- [Commits](https://github.com/keras-team/keras/compare/v3.13.1...v3.13.2)

Updates `pillow` from 10.4.0 to 12.1.1
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.4.0...12.1.1)

Updates `pillow` from 10.3.0 to 12.1.1
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.4.0...12.1.1)

---
updated-dependencies:
- dependency-name: keras
  dependency-version: 3.13.2
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: pillow
  dependency-version: 12.1.1
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: keras
  dependency-version: 3.13.2
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: pillow
  dependency-version: 12.1.1
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: keras
  dependency-version: 3.13.2
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: pillow
  dependency-version: 12.1.1
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: pillow
  dependency-version: 12.1.1
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-19 19:31:47 +00:00
Lee Stott d73cadef0f
Merge pull request #594 from ShaneHeX/pyknow2experta
Lesson 2 Animals.ipynb dependent pyknow library is deprecated
2026-01-14 08:27:01 +00:00
Lee Stott 415700268d
Merge pull request #595 from ShaneHeX/ontology_content_align
Lesson 2 READM.md Align the content in documents and images
2026-01-14 08:26:00 +00:00
ShaneHeX 4f614c6f1c Lesson 2 READM.md Align the content in documents and images 2026-01-01 21:51:34 +08:00
Xin He 1bcb2489ab Lesson 2 Animals.ipynb dependent pyknow library is deprecated, change library to a compatible version. 2026-01-01 09:02:36 +00:00
Marc Neeley b38bef4ddc
Update how-to-run.md
Updating minor items:
1. Added missing words for sentence completion
2. Instances of sentence re-wording for clarity
3. Re-wording to remove writer first-person content
2025-12-22 10:41:55 -07:00
Lee Stott 087d6364f7
Merge pull request #576 from sunnynagavo/patch-1
Fix dataset path in Perceptron notebook
2025-12-12 17:45:33 +00:00
Santhosh Reddy Vootukuri 59be7867d5
Fix links in setup.md for curriculum usage 2025-11-25 05:16:54 -08:00
Santhosh Reddy Vootukuri 93665532fd
Fix dataset path in Perceptron notebook 2025-11-25 05:07:27 -08:00
Lee Stott b5aaeeb689
Merge pull request #570 from MasoudFallahpour/patch-1
Fix typo in assignment.md
2025-11-18 20:25:50 +00:00
Masoud Fallahpour 1a38c6fff4
Fix grammar and wording in the intro lesson 2025-11-13 08:38:45 +01:00
Masoud Fallahpour d3bf98d741
Fix typo in assignment.md 2025-11-12 14:56:10 +01:00
Lee Stott b900bc3fae
Revise Microsoft Concept Graph API availability note
Updated the description of the Microsoft Concept Graph to indicate that the API is no longer available.
2025-10-03 18:08:41 +01:00
copilot-swe-agent[bot] 0ece1a2b6e Add interactive learning rate experiments and comparison visualizations
Co-authored-by: leestott <2511341+leestott@users.noreply.github.com>
2025-10-03 16:33:24 +00:00
copilot-swe-agent[bot] d7ae722726 Add learning rate parameter to Perceptron training functions
Co-authored-by: leestott <2511341+leestott@users.noreply.github.com>
2025-10-03 16:21:23 +00:00
Lee Stott 3d25bc780e
Merge pull request #550 from microsoft/fix250
fix #250
2025-10-03 16:02:45 +01:00
Lee Stott 23e23f7ea6
Update lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-03 16:01:10 +01:00
copilot-swe-agent[bot] e095e89862 Update PetFaces dataset URL to Oxford-IIIT Pet Dataset
- Replace broken Microsoft Azure URL with Oxford-IIIT Pet Dataset URL
- Update download command to use https://thor.robots.ox.ac.uk/~vgg/data/pets/images.tar.gz
- Update extraction commands to handle images.tar.gz instead of petfaces.tar.gz
- Add code to organize images by breed (Oxford dataset uses filename-based organization)
- Update documentation to explain the dataset structure
- Applied changes across all 49 language translations

Co-authored-by: leestott <2511341+leestott@users.noreply.github.com>
2025-10-03 14:19:06 +00:00
Lee Stott 635bde18d1
fix #250 2025-10-03 15:17:54 +01:00
copilot-swe-agent[bot] badc35cac5 Fix AttributeError for GloVe vocab in encode function
Co-authored-by: leestott <2511341+leestott@users.noreply.github.com>
2025-10-03 13:10:36 +00:00
copilot-swe-agent[bot] ab98173e7f Fix ValueError in main Perceptron.ipynb for NumPy 2.x compatibility
Co-authored-by: leestott <2511341+leestott@users.noreply.github.com>
2025-10-03 12:48:59 +00:00
Lee Stott b8e5c994cb
Fix terminology in neuron model description
Corrected terminology regarding neurons and their functions. fix issue #431
2025-10-03 13:38:45 +01:00
Lee Stott 66cd450932
Update README.md
fix issue #532
2025-10-03 08:14:34 +01:00
Suphan Fayong 0f2dfa56f6 Use new links for Pre-lecture quiz and Post-lecture quiz 2025-09-23 00:56:57 +02:00
Lee Stott 314f8b8b17
Merge pull request #452 from MiK-Kom4/fix-gray-cmap
Fix: display grayscale image using cmap='gray'
2025-09-07 15:46:31 +01:00
Lee Stott 21e7a9a836
Merge pull request #448 from Kedarinath1502/patch-1
Update README.md
2025-09-07 15:25:02 +01:00
Lee Stott 6c6e81164d
Merge pull request #453 from RushilJalal/patch-1
Update README.md: fix typo
2025-08-28 23:19:20 +01:00
Lee Stott 483b3acbcb
Merge pull request #472 from jnayegandhi/main
Need to specify encoding as underlying data is not utf-8.
2025-08-28 23:18:17 +01:00
dependabot[bot] 44c3da1c41
Bump torch from 2.6.0 to 2.8.0 in /lessons/5-NLP
Bumps [torch](https://github.com/pytorch/pytorch) from 2.6.0 to 2.8.0.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](https://github.com/pytorch/pytorch/compare/v2.6.0...v2.8.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-version: 2.8.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-23 16:51:16 +00:00
Lee Stott f4610435d2
Merge pull request #474 from microsoft/dependabot/pip/lessons/5-NLP/transformers-4.53.0
Bump transformers from 4.50.0 to 4.53.0 in /lessons/5-NLP
2025-08-23 17:50:14 +01:00
Anthony Bartolo 8a45e856cf
Merge pull request #450 from microsoft/dependabot/pip/lessons/5-NLP/torch-2.6.0
Bump torch from 1.13.1 to 2.6.0 in /lessons/5-NLP
2025-08-20 16:26:11 -04:00
dependabot[bot] 27641a4290
Bump transformers from 4.50.0 to 4.53.0 in /lessons/5-NLP
Bumps [transformers](https://github.com/huggingface/transformers) from 4.50.0 to 4.53.0.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.50.0...v4.53.0)

---
updated-dependencies:
- dependency-name: transformers
  dependency-version: 4.53.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-20 16:21:30 +00:00
Jay Nayegandhi e4defc108f Need to specify encoding as underlying data is not utf-8. 2025-08-10 23:32:29 -04:00