Applied ML & Forecasting
Field notes from building with LLMs — prompting, agents, evaluation, and the production plumbing around them. What works, what breaks, and the judgment calls that decide the difference.
Follow AI posts on applied machine learning, forecasting, and practical model use cases. Browse all follow ai in this category, or view all follow ai.
Complexity Is Not a Feature in Tabular ML
A simple MLP can beat a tabular transformer, and that should be a reminder rather than a surprise. In tabular machine learning, newer architecture does not automatically mean better architecture — transformers earn their power where token order, context, or spatial structure are fundamental, and tabular data has a different structure.
Result: A carefully built MLP plus gradient-boosted trees can be highly competitive. Hold splits, point-in-time features, metric, and tuning budget equal, weigh latency and maintenance alongside accuracy, and make the simpler baselines fail first — complexity is a cost, not a feature.
MAPIE: Conformal Prediction Intervals for Forecasts
A point forecast is not always a decision-ready forecast. MAPIE adds a conformal prediction interval around many sklearn-compatible regression workflows — fit an existing model, calibrate on out-of-fold errors, and return a point prediction with lower and upper bounds.
Result: A nominal 90% interval does not mean every prediction has a 90% chance of containing the outcome; conformal methods target marginal coverage, and making intervals trustworthy still needs time-aware backtesting, coverage monitoring, and subgroup review.
tsfresh: Accelerating Time-Series Feature Discovery
tsfresh does not replace feature engineering — it accelerates feature discovery. For labelled time-series problems it turns long-format signals into a broad candidate feature matrix of statistical, temporal, spectral, complexity, and shape descriptors.
Result: Extraction is only the first stage. Split first, extract with a consistent configuration, select features using training data only, carry the retained definitions into validation and test, then inspect what survives and decide what deserves domain-led custom engineering.
RevIN: When a Neural Forecast Learns Only One Scale
A neural forecaster can learn the shape of a series around 100 and still fail once the same series operates around 500. One global scaler is an average of a past that no longer describes the current forecast window.
Result: RevIN normalizes every input window with its own statistics and restores the original scale afterwards. It helps with local level and variance shift - and it fixes nothing else, so it still has to earn its place in a rolling-origin backtest.
An LLM-Derived Feature Is Still a Feature
Adding an LLM-derived feature to a forecasting pipeline is easy. Evaluating it with proper time-series discipline is the part many teams skip - and that is where risk enters.
Result: Four checks before shipping: point-in-time backtest, explicit feature-availability checks, a real baseline comparison, and operational viability. Novelty does not lower the bar - it raises the number of things worth checking.
A Strong AutoML Baseline Can Beat Hand-Tuned Models
A strong AutoML baseline can beat a hand-tuned pipeline — and when it does, that is not failure. It is useful evidence. AutoGluon and similar tools establish a serious benchmark through model diversity, cross-validation, ensembling, and strong defaults.
Result: Run a simple baseline, then a strong AutoML benchmark, then targeted custom improvements — all compared under the same validation design. Keep complexity only when it earns its place through measurable value: domain features, deployment fit, critical segments, explainability, or governance.
TabPFN: Use a Pre-Trained Prior as an Additional Model Opinion
TabPFN is pre-trained on a broad distribution of tabular problems before your data arrives. You still call .fit(), but most of the learning already happened. Use its predictions as another model opinion.
Result: Generate out-of-fold TabPFN probabilities and add them as a feature to your downstream model or ensemble. Keep it only if it adds validated signal.
Same Nixtla ecosystem, three very different forecasting jobs
StatsForecast for fast statistical baselines (ARIMA, ETS, Theta). MLforecast for feature-driven production pipelines with LightGBM, XGBoost and CatBoost. NeuralForecast for deep learning at scale with N-BEATS, N-HiTS and PatchTST.
They are not competitors — each fits a different forecasting problem. The question is never "which library is best?" but "what kind of forecasting problem am I solving?"
Result: Start with the simplest reliable benchmark. Add features when they carry signal. Add complexity only when it earns its place.
Share on LinkedIn →