> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tabsutra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use cases by industry

> Prediction questions that tabSutra answers, grouped by the shape of the data and by industry.

This page lists common prediction questions, grouped by the shape of the data. Many of them come from public benchmarks that the research community uses to compare models. The benchmarks are listed at the end, so that you can look at the data behind each question. The questions marked with a page link have a worked example in these docs. The [case studies](https://tabsutra.com/case-studies/) on our website describe seven of them in depth.

## Time series

One or many series measured at regular steps. See [Forecasting](https://docs.tabsutra.com/guides/forecasting.md).

| Industry | Question | Benchmark data |
| - | - | - |
| Retail and consumer goods | Daily or weekly demand for each item in each store, for replenishment and promotions. [Worked example](https://docs.tabsutra.com/use-cases/demand-forecasting.md) | Hierarchical Sales (GIFT-Eval) |
| Restaurants and hospitality | Daily visitors per outlet, for staffing and purchasing | Restaurant (GIFT-Eval) |
| Automotive aftermarket | Monthly demand for spare parts, most of which sell rarely | Car Parts (GIFT-Eval) |
| Energy and utilities | Electricity use per customer or feeder, hour by hour | Electricity (GIFT-Eval) |
| Energy and utilities | Solar output, and transformer load and temperature | Solar, ETT (GIFT-Eval) |
| Transport and mobility | Road traffic speed and flow; taxi and ride demand by zone | Loop Seattle, SZ-Taxi, M\_DENSE (GIFT-Eval) |
| Healthcare operations | Monthly use of hospital products; daily admissions and births | Hospital, US Births (GIFT-Eval) |
| Finance and economics | Economic, financial, industrial and demographic indicators, from yearly to hourly | M4 (GIFT-Eval) |
| IT operations and cloud | Server CPU and memory use; application and service load, for capacity planning | Bitbrains, BizITObs (GIFT-Eval) |
| Environment | Weather, river flow and air quality | Jena Weather, Saugeen, KDD Cup 2018 (GIFT-Eval) |

## Tables

One row per case, with no order between the rows. See [Tables](https://docs.tabsutra.com/guides/tables.md).

| Industry | Question | Benchmark data |
| - | - | - |
| Lending | Will an applicant default? [Worked example](https://docs.tabsutra.com/use-cases/credit-scoring.md) | Credit-G, Give Me Credit, HELOC, Credit Card Default (TabArena) |
| Lending and corporate credit | Will a company go bankrupt? | Polish Bankruptcy, Taiwanese Bankruptcy (TabArena) |
| Banking | Will a customer take up a product, or close their account? | Bank Marketing, Bank Churn (TabArena) |
| Insurance | What will a policyholder's medical charges be? Who will buy a policy? | Health Insurance, COIL 2000 (TabArena) |
| Telecom and subscriptions | Will a customer leave, or buy an add-on? | Churn, KDD Cup 09 (TabArena) |
| E-commerce and marketing | Will a visit end in a purchase? Will a customer use a coupon, or respond to a campaign? | Online Shoppers, Coupon Recommendation, Marketing Campaign (TabArena) |
| Logistics | Will a shipment arrive on time? How long will a food delivery take? | E-Commerce Shipping, Food Delivery Time (TabArena) |
| Human resources | Will an employee look for a new job? Should an access request be granted? | HR Job Change, Amazon Employee Access (TabArena) |
| Healthcare | Will a patient be readmitted? What is a pregnancy's risk level? | Diabetes 130US, Maternal Health Risk (TabArena) |
| Real estate and pricing | What is a property, car or stone worth? | Miami Housing, Houses, Used Fiat 500, Diamonds (TabArena) |
| Manufacturing and software quality | Which trucks will have an air-pressure system failure? How strong will a concrete mix be? Which software modules will have defects? | APS Failure, Concrete Strength, JM1 (TabArena) |
| Mining and safety | Will a hazardous seismic event occur in the next shift? | Seismic Bumps (TabArena) |
| Education | Will a student drop out? | Student Dropout (TabArena) |
| Travel | Will a passenger be satisfied? | Airline Satisfaction (TabArena) |
| Security | Is a website a phishing site? Is an app malware? | Website Phishing, NATICUSdroid (TabArena) |

## Dated tables

Tables whose rows have dates, where the test is always on a later period than the context. See [Sequences](https://docs.tabsutra.com/guides/sequences.md) and [Time and leakage](https://docs.tabsutra.com/concepts/time-and-leakage.md).

| Industry | Question | Benchmark data |
| - | - | - |
| Lending | Will a borrower default, judged on later loans than the context? | HomeCredit Default (TabReD) |
| Insurance | Will a customer buy a home insurance policy? | Homesite Insurance (TabReD) |
| Retail loyalty | Will a customer redeem a discount offer? | Ecom Offers (TabReD) |
| Real estate | What will a property sell for? | Sberbank Housing (TabReD) |
| Food and grocery delivery | How long will a restaurant take to prepare an order? When will a grocery order arrive? | Cooking Time, Delivery ETA (TabReD) |
| Maps and navigation | How long will a route take, given road conditions? | Maps Routing (TabReD) |

## Sequences

Rows in a known order, usually dated, many per customer, account, vehicle or machine. Each row reads the earlier rows of its group. See [Sequences](https://docs.tabsutra.com/guides/sequences.md).

| Industry | Question |
| - | - |
| Lending | A behaviour score for each account every month. [Worked example](https://docs.tabsutra.com/use-cases/credit-scoring.md) |
| Collections | Next month's recovery and the total recovery of each delinquent account. [Worked example](https://docs.tabsutra.com/use-cases/collections.md) |
| Electric vehicles | Battery health, energy use and charging needs of each vehicle; risk on EV loans. [Worked example](https://docs.tabsutra.com/use-cases/ev-fleets.md) |
| Manufacturing and utilities | Will a machine or a meter fail in the next weeks, given its readings so far? |
| Shipping and logistics | How long will the next stop of a delivery route take, given the stops so far? |
| Subscriptions | Will a customer downgrade or leave, given their monthly usage? |
| Healthcare | What will a patient's next measurement be, given their visits so far? |

## Databases

Several tables joined by keys. See [Databases](https://docs.tabsutra.com/guides/databases.md) and [Tasks described in words](https://docs.tabsutra.com/guides/tasks-in-words.md).

| Industry | Question | Benchmark data |
| - | - | - |
| E-commerce | Will a customer stop buying in the next 3 months? What will they spend? Will a product stop selling? [Worked example](https://docs.tabsutra.com/use-cases/retail-customers.md) | rel-amazon: user-churn, user-ltv, item-churn, item-ltv (RelBench) |
| Fashion retail | Will a customer stop buying? How much will an article sell? | rel-hm: user-churn, item-sales (RelBench) |
| Online advertising | What share of an ad's views will become clicks? Will a user come back or click? | rel-avito: ad-ctr, user-visits, user-clicks (RelBench) |
| Events and communities | Will a user attend, return to, or ignore events? | rel-event: user-attendance, user-repeat, user-ignore (RelBench) |
| Online communities | Will a user stay active, or earn a badge? How many votes will a post get? | rel-stack: user-engagement, user-badge, post-votes (RelBench) |
| Pharma and clinical research | Will a trial meet its primary outcome? How many patients will have serious adverse events? How well will a site perform? | rel-trial: study-outcome, study-adverse, site-success (RelBench) |
| Sports | Will a driver finish the race, or reach the top three? Where will they finish? | rel-f1: driver-dnf, driver-top3, driver-position (RelBench) |

## Recommendation

Customers and the items they pick, from a database or from a table of past links. See [Recommendation](https://docs.tabsutra.com/guides/recommendation.md).

| Industry | Question | Benchmark data |
| - | - | - |
| E-commerce | Which products will a customer buy, rate highly or review in the next 3 months? | rel-amazon: user-item-purchase, user-item-rate, user-item-review (RelBench) |
| Fashion retail | Which articles will a customer buy in the next week? | rel-hm: user-item-purchase (RelBench) |
| Online advertising | Which ads will a user visit? | rel-avito: user-ad-visit (RelBench) |
| Online communities | Which posts will a user comment on? Which posts are related to each other? | rel-stack: user-post-comment, post-post-related (RelBench) |
| Pharma and clinical research | Which sponsors will run trials on a condition? Which sites will a sponsor use? | rel-trial: condition-sponsor-run, site-sponsor-run (RelBench) |

## The benchmarks

* **GIFT-Eval** is a benchmark of time series forecasting across domains, frequencies and forecast lengths, used to compare forecasting models that are not trained on the series they forecast. [github.com/SalesforceAIResearch/gift-eval](https://github.com/SalesforceAIResearch/gift-eval)
* **TabArena** is a maintained benchmark of real-world tabular datasets for classification and regression. [tabarena.ai](https://tabarena.ai)
* **TabReD** is a set of industry tabular datasets with time-based splits, so that the test always lies after the context. [github.com/puhsu/tabred](https://github.com/puhsu/tabred)
* **RelBench** is a benchmark of prediction and recommendation tasks on relational databases. [relbench.stanford.edu](https://relbench.stanford.edu)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.