Skip to content
Log inGet startedHugging FaceGitHub

Resources

Changelog

The full history is in CHANGELOG.md.

  • 0.2.2:
    • yh.tune(...): fine-tune ChakraTS on your series (Tuning on your data); forecast(..., tune=), yh.tunes(), yh.get_tune(), and yhatlabs tune / forecast --tune in the CLI;
    • forecast(preset="pro"): slower, slightly sharper;
    • yhatlabs --version; check() finds a date column by its values and names time_col= when there is none; check --target-col in the CLI;
    • estimate_table() prices a regression’s ranges (it guesses regression from the target, and takes quantiles=);
    • a horizon above 2,048 steps says to forecast at a coarser frequency.
  • 0.2.1 (2026-10-28):
    • tables too large for a direct call run as background jobs, and the call waits for them; background=True returns a Job (status(), wait(), result(), cancel());
    • compare=True on predict and yh.compare(...): XGBoost, a random forest and a linear model (LightGBM on request) and a naive baseline on the same rows, scored with comparison.score(actual, ChakraTab=res);
    • preset="pro" (the same as "full"); task= also takes "regression" and "classification";
    • store=False on forecast, predict, fit and compare: the call isn’t shown in your Logs;
    • credits as decimals (usage["credits"] == 0.02); estimate_table() asks the API and returns tokens too; forecasts split over several requests add up their credits in fc.usage;
    • fits kept 30 days after their last use by default (ttl_days=, 1 to 365); model.save() stores a sample of up to 2,000 training rows, save(path, sample=False) leaves it out; model.usage holds what the fit cost;
    • yh.explain_forecast(...): how much each covariate moves the forecast;
    • yh.anomaly_stream(...): anomaly scores for points as they arrive;
    • yhatlabs.outliers(train, data): rows unlike the training rows, locally, with no key;
    • Spark, Dask, Ray and polars (lazy too) tables as input;
    • one table can carry the future of known covariates (rows after the last value, target blank);
    • evaluate(): the seasonal-naive baseline repeats the last week on daily data and the last year on weekly data;
    • CLI: --json before or after the command, --preset pro, predict --compare, --no-store;
    • clearer errors for levels, presets and freq=; JobFailedError.job_id; ROC AUC in comparisons.
  • 0.2.0 (2026-10-15):
    • a model that is starting up is waited for, up to 5 minutes, instead of failing after the usual retries;
    • forecasts: mean=True, fc.intervals(80), fc.to_wide(), fc.prob(above=...);
    • tables: evaluate_table (shuffled, grouped or time-ordered folds, with calibration), out_of_range and novelty on every prediction, res.prob(above=...), model.effect(col), several targets in one fit;
    • yhatlabs.plots for every result;
    • input checks before sending: irregular timestamps, missing ids, empty tables, too many columns, unusable targets; integer time steps; 2-D arrays as one series per row;
    • forecasts: level=[95, 99] and any quantile level, samples= with fc.sample_paths(), history=True; yhatlabs.hierarchy to aggregate and reconcile series that add up;
    • tables: groups= and time_col= on fit, predict and evaluate_table; set_coverage= for prediction sets; estimate_table for the credits of a call; large tables uploaded once automatically;
    • an Idempotency-Key on every POST, gzip for large bodies, and API capability flags;
    • mask_columns=True sends column names as c0, c1, … and keeps your names in every result;
    • the new API paths (/v1/series/..., /v1/table/...); 0.1.1 calls the old ones.
  • 0.1.1 (2026-10-15): requests work without the optional orjson package; CI tests the install without extras.
  • 0.1.0 (2026-10-15, yanked): first release. Forecasting, backtesting, scenarios, anomalies and gaps; fits, intervals, importance and imputation; data checks; the CLI and the agent skill.
  • 2026-11-13: a table request body over 4 MB reads like any other: the model, async and store in the body count, uploaded tables in it work, and a body that isn’t valid JSON is refused with a 400 before it runs.

  • 2026-11-12:

    • table pricing: feature columns past the first 100 count 5% each (GET /v1/limits tokens.tabular.columns);
    • a table request body over 4 MB is stored and queued as it arrives: it can’t time out while a GPU starts, its request is kept with its log entry, and its model, async and store can be given on the URL (?model=, ?async=true, ?store=false, or an X-Store: false header); a large body asking for another model than its URL answers 400;
    • a feature column named Index no longer fails the fit;
    • /v1/tabular/predict, the path before the rename, works again as an alias of /v1/table/predict.
  • 2026-10-28:

    • direct table calls are sized per preset: fast up to 100,000 training rows x 100 columns, medium and pro up to 25,000 x 100 (GET /v1/limits tabular.direct). Past that, a direct call answers 413 with error type async_required (send it with "async": true); past the hard caps (200,000 rows, 2,000 columns, 50,000,000 cells as a job), request_too_large;
    • a direct table call still running after about 20 minutes comes back as a job ({"object": "job", ...}) to poll; DELETE /v1/jobs/{id} cancels a running job as well as a queued one;
    • POST /v1/table/compare: standard models and a naive baseline on the same rows;
    • the presets are fast, medium and pro (full is still accepted);
    • forecasts are counted in credits for keys of an organization.
  • 2026-10-26: credits are counted to three decimals, at 1 credit per 1M tokens by default (was 1,000 credits per 1M tokens); every credit amount the API returns or accepts (usage.credits, balances, caps, estimates) uses the new unit.

  • 2026-10-15 (paths): paths name the input, then the task: POST /v1/series/forecast, POST /v1/table/predict and /v1/table/fits/.... The old paths (/v1/forecast, /v1/tabular/predict, /v1/fits) answer 404 naming the new ones.

  • 2026-10-15 (later): per-row predictive distributions for regression (intervals that vary by row, mean, calibrated out-of-sample, wider where a row extrapolates); groups and time_col validation folds; prediction sets (set_coverage); forecast quantile_levels beyond 0.1-0.9, samples, seed and history; forecast intervals calibrated on each series’ past windows; tabular calls counted in credits (rates in GET /v1/limits pricing); per-key rate and concurrency limits (429 rate_limited with Retry-After); gzip request bodies; table uploads (/v1/uploads); GET /v1/openapi.json.

  • 2026-10-15: horizons up to 2,048 with or without covariates; clear 422 errors with the reason for unusable input (and 502 only for failures on our side); request_id in every error; freq must be a pandas alias; class labels in their own type (1, true); intervals on small regression tables; float64 handling of extreme values; Idempotency-Key on fits and tabular predict; capabilities in GET /v1/limits.

  • 2026-10-14: stored fits (/v1/fits), regression intervals, column importance, GET /v1/limits.