tensorturnBETA
HomeUse Cases

How to Build a Sales Forecasting Model With No Code

TensorTurn treats sales forecasting as a supervised tabular regression problem: you upload historical sales with a date column and any driver columns, and it engineers time features (lags, rolling averages, calendar seasonality), trains a model such as XGBoost or a Keras/PyTorch network on a cloud GPU, then deploys a /predict API. It is honest to say TensorTurn is not a dedicated ARIMA or Prophet statistical package — it forecasts by learning from engineered features, which is strong for demand and revenue when you have real drivers and enough history.

How TensorTurn approaches forecasting

Instead of a classical statistical model, TensorTurn reframes your time series as a table the machine learning model can learn from. Each historical period becomes a row, and past values become features: last week's sales, the trailing 4-week average, the month, whether it was a holiday, and so on. A regression model (usually XGBoost or scikit-learn, or a neural network in Keras/PyTorch for longer sequences) then learns how those features map to the target. This approach shines when nonlinear patterns and external drivers matter, but it is a machine learning method, not a built-in ARIMA/Prophet toolkit.

What data you need

How to build it on TensorTurn (no code)

Forecasting with drivers vs. pure history

If you know future values of your drivers — an upcoming promotion calendar or planned price — the model can use them and produces richer, more responsive forecasts. If you only have the sales history itself, the model forecasts autoregressively from past values and seasonality. Be careful: any driver you use at prediction time must be known for the future period, otherwise you cannot actually run the forecast in production.

How accurate can a sales forecast be?

Accuracy depends on how stable and well-driven your demand is. For steady retail or subscription volume with clear seasonality, a MAPE of roughly 5–15% is realistic. For volatile, promotion-driven or brand-new products with little history, expect 20–40% or worse. No model can predict genuine randomness or one-off shocks, and accuracy always degrades as the forecast horizon lengthens — a one-step-ahead forecast is far easier than eight weeks out.

Deploy as an API

Save the best model and publish an authenticated /predict endpoint on Modal that scales to zero when idle. Every call is logged, access uses a SHA-256-hashed Bearer key, and the playground gives you cURL, JavaScript, Python and Rust snippets to pull forecasts into a dashboard or planning tool.

Start building free

Frequently asked questions

Does TensorTurn use ARIMA or Prophet?

No. It forecasts by turning the time series into engineered features (lags, rolling stats, calendar terms) and training a regression or neural model such as XGBoost, scikit-learn, Keras or PyTorch. That is a machine learning approach rather than a classical statistical package.

How much history do I need?

At least two full seasonal cycles is a good rule of thumb — for example two years if demand has a yearly pattern. Less history still works but weakens seasonal accuracy.

Can I forecast multiple products or stores at once?

Yes. Include a product or store id column and the model can learn per-entity patterns, or you can describe the grouping in chat so it handles them together.

How far ahead can it forecast?

As far as you want, but accuracy falls with the horizon. Short horizons are reliable; long horizons carry much wider error and should be treated as directional.

Do I need to supply future promotion or price data?

Only if you use those columns as drivers. Any feature the model relies on must be known for the future period you are forecasting, or you cannot run the prediction in production.