feat: make notebook dual-compatible (Colab + local)

- Add IS_COLAB auto-detection (try/except google.colab)
- Guard all /content/ paths behind IS_COLAB check
- Local paths resolve relative to Machine_Learning/ directory
- Remove unused imports (tarfile, pathlib, duplicate PIL)
- Consolidate sklearn imports into cell 2

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
MythEclipseandClaude committed 2026-06-11 15:17:32 +00:00
1 parent e791a71425
commit ddced09bbc
1 file changed
+575 -941
File diff suppressed because it is too large. Load diff