Logistic Regression from Scratch with Python Classes
Build logistic regression from scratch with Python classes: a stable sigmoid, log loss, gradient descent, a scaler, and a 0.982 match with scikit-learn.
Random Forest Regression Metrics: R², MAE, and RMSE Explained
Your R² is 0.44. Good or bad? Compute MAE, RMSE and R² for a random forest regressor, compare against a baseline, and choose the right metric for your problem.
How to Extract Decision Rules from a Random Forest
Four ways to explain a random forest with scikit-learn: print one tree, pull IF-THEN leaf rules, rank importances, and train a surrogate to copy it faithfully.
Random Forest OOB Score Explained: Validation Without a Test Set
Skip the hold-out split: how the random forest out-of-bag score works, how to read it in scikit-learn, how to build it by hand, and when it misleads you.
Random Forest from Scratch in Python (NumPy Only)
Build a random forest in about 100 lines of NumPy: Gini splits, a recursive decision tree, bootstrap sampling, random features, then a fair accuracy test.
Scikit-learn Classification Recipes: Raw Data to Evaluation
Nine scikit-learn classification recipes: inspect, split, pipeline, baseline, cross-validate, tune, rebalance, then evaluate with metrics that match real costs.
Best Courses for Building AI Tools, Agents, and MCP Servers
Courses that make you build: MCP servers, agents and tooling, sorted by goal and budget, with a three-week path from first server to a shipped project.
Best LLM APIs for Tool Calling and Function Calling
Compare LLM APIs for tool and function calling: OpenAI, Claude, Gemini, Mistral, Cohere and open-weight hosts, plus the setup mistakes that break agents.
Best Platforms to Host and Deploy MCP Servers
Host an MCP server on Cloudflare, Vercel, Cloud Run, AgentCore or Fly.io: transports, auth, stateless design, sticky sessions, and the doc gaps I found.
Best MCP Servers for Developers (Curated and Reviewed)
Review MCP servers that earn their keep: Filesystem, Git, Fetch, Playwright, GitHub, Context7, Sentry and Brave, judged on blast radius, auth and docs.
Best AI Coding Assistants with MCP Support
Compare AI coding assistants on MCP support: transports, scopes, shared config, approvals, and a one-day bake-off to test two tools on the same server.
Writing Tool Descriptions and Schemas That Help LLMs Choose
Write tool descriptions and JSON schemas an LLM can act on: four-sentence contracts, namespaced names, enums, ranges, and what a linter silently misses.