Supervised Machine Learning

In supervised learning, the model learns from labeled training data, making predictions based on known input-output pairs. This section explores several key algorithms with interactive demos running directly in your browser.

Naive Bayes

A probabilistic classifier based on Bayes' Theorem. In this example, we predict the appropriate drug for a patient based on their health metrics.

ONNX Enabled

Drug Classification

Predicts drug type (Y, C, X, A, B) based on patient vitals.

K-Nearest Neighbors

KNN is a simple, versatile algorithm that stores all available cases and classifies new cases based on a similarity measure (e.g., distance functions).

from sklearn.neighbors import KNeighborsClassifier
knn = KNeighborsClassifier(n_neighbors=3)
knn.fit(X_train, y_train)
y_pred = knn.predict(X_test)

Artificial Neural Networks

Neural networks are a set of algorithms, modeled loosely after the human brain, that are designed to recognize patterns.

Chicago Crime Predictor

Live Demo

Forecasts crime counts or predicts arrests using an MLP (Multi-Layer Perceptron).

Features