ML Studio

🧠 ML Studio

Interactive ML notebooks β€” Python via Pyodide Β· TensorFlow.js Β· All in-browser

[1] Markdown

🧠 Introduction to Machine Learning

Machine learning is the science of getting computers to act without being explicitly programmed. This notebook walks you through core concepts using Python libraries running entirely in your browser.

  • numpy β€” numerical arrays
  • pandas β€” data tables
  • sklearn β€” ML algorithms
  • matplotlib β€” plotting
[2] Python Imports & Setup
[3] Python Linear Regression
[4] Python Classification
[5] Python Clustering (K-Means)
[1] Markdown

βš™οΈ scikit-learn Deep Dive

Pipelines, cross-validation, hyperparameter tuning, and feature engineering β€” the production ML workflow.

[2] Python Pipeline + GridSearchCV
[3] Python Feature Importance
[1] Markdown

πŸ”· Neural Networks with TensorFlow.js

Deep learning right in your browser β€” no GPU server needed. TF.js uses WebGL to accelerate training via your graphics card.

  • Automatic differentiation (backpropagation)
  • Dense, Conv2D, LSTM layers
  • Real-time training loss chart
[2] TF.js Check TF.js
// TF.js runs in the browser β€” click Run to check
const tf = window.tf;
console.log("TF version:", tf?.version.tfjs || "Loading...");
console.log("Backend:", tf?.getBackend() || "N/A");
[3] TF.js Train XOR Neural Network
// XOR problem β€” can't be solved by linear models
// A 2-layer neural net solves it perfectly
// Architecture: [2] β†’ Dense(8, relu) β†’ Dense(1, sigmoid)
[4] TF.js MNIST Digit Classifier (Mini)
// Synthetic digit-like dataset, 1000 samples
// CNN-like architecture via Dense layers
// Shows training progress epoch by epoch
[1] Markdown

πŸ“ NLP with Python

Natural Language Processing basics β€” text classification, TF-IDF, word frequencies, and sentiment analysis.

[2] Python Text Classification (TF-IDF)
[3] Python Word Frequency & Basic NLP
[1] Markdown

✏️ Custom Notebook

Your blank notebook. Add cells, write code, experiment freely.

[1] Python
🏠 Home ⚑ Code Lab 🧠 ML Studio πŸ”§ ML Tools