Skip to content

Estimate restaurant density by municipality ​

A restaurant chain choosing where to open next, or a food supplier choosing where to send its sales staff, wants to know which areas have fewer restaurants than areas like them. This guide trains a Fione model that estimates the number of restaurants per 10,000 people in a Japanese municipality from its other statistics: population and ages, households, jobs, businesses of other industries, schools, hospitals and public finance. The data is open data of the Japanese government: SSDSE-A, a table of 1,741 municipalities that the National Statistics Center (NSTAC, 独立行政法人統計センター) publishes. It goes from the download to a curl call of the served model, and checks the model on municipalities it did not learn from.

The file is a Japanese CSV: Shift_JIS text with Japanese column names, and three header rows instead of one. Fione reads Japanese column names as they are, and this page explains the columns in English next to their Japanese names. It is a regression, read as errors in restaurants per 10,000 people, like the property price guide. Starting Fione from the published images and the general serving steps are in the practical guides overview. This page shows what is particular to this use case.

The business question ​

In the data used here, Japan's municipalities have from 0 to 454 restaurants per 10,000 people; half of them have 34.6 or fewer. Over the whole country it is 39.3. A business that can estimate how many restaurants an area of a given profile usually has can act on it:

  • list areas that have fewer restaurants than their profile suggests, as candidates for a new store or for a closer market study;
  • list areas that have more than their profile suggests, where competition may be stronger;
  • estimate the usual number for an area whose count it does not have, such as a new district described by the same statistics.

Every municipality in the file already has its count, so the model is used for the gap: the actual number against the estimate for an area of that profile. The model answers one question per municipality: how many restaurants per 10,000 people would an area like this have? It returns a number, such as 40.8 for Iwamizawa city in Hokkaido, which has 36.1. This guide looks at the gap on municipalities the model did not learn from (see Make predictions); we did not test estimates for the rows it learned from, which may sit closer to their actual values.

Get the data ​

The data is SSDSE-A (SSDSE-市区町村), one of the Standardized Statistical Data Sets for Education (SSDSE, 教育用標準データセット) that NSTAC compiles from Japan's official statistics for data analysis:

  • Page: SSDSE(教育用標準データセット)のページ (the SSDSE page, in Japanese)
  • Publisher: National Statistics Center (独立行政法人統計センター)
  • Source of the figures, as the page and the file's guide (解説) give it: the Statistics Bureau of Japan's 「統計でみる都道府県・市区町村のすがた(社会・人口統計体系)」 (System of Social and Demographic Statistics); each column comes from an official survey, such as the population census or the economic census
  • Terms: the page says that the use of its content follows NSTAC's site policy (「当サイトのご利用にあたって」, https://www.nstac.go.jp/info/site-policy/). Except for content to which other rules apply, the policy lets anyone copy, adapt and use the content, commercial use included; it follows the Government of Japan Standard Terms of Use (version 2.0) and is compatible with CC BY 4.0. The policy notes that some content may carry third parties' rights.

The SSDSE page asks for a source credit and gives an example for SSDSE-A; our first line below follows it, with the page's address. The site policy asks, when you edit or process the content, for a note that you did so, separate from the credit, and prohibits presenting the result as if NSTAC made it. We wrote the second line, the note, in the form of the site policy's example:

出典:独立行政法人 統計センター SSDSE-市区町村(https://www.nstac.go.jp/use/literacy/ssdse/)

「SSDSE-市区町村(SSDSE-A-2026)」(独立行政法人統計センター)(https://www.nstac.go.jp/use/literacy/ssdse/)をもとに CodeLibs, Inc. 作成

The first line reads "Source: National Statistics Center, SSDSE-Municipalities"; the second, "Created by CodeLibs, Inc. from NSTAC's 'SSDSE-Municipalities (SSDSE-A-2026)'". What we changed: we kept the third header row only, left out one municipality with a population of 0, added the number of restaurants per 10,000 people, which we computed, and set every tenth municipality aside to try predictions on (see Prepare the CSV); no value of the file was changed. The figures per 10,000 people, the estimates and the predictions on this page are ours, not NSTAC's.

The page links the latest file of each data set; on 28 November 2026 the SSDSE-A of 2026 (「SSDSE-A-2026」, published on 30 June 2026). In an empty directory:

sh
curl -sSLO https://www.nstac.go.jp/files/SSDSE-A-2026.csv

SSDSE-A-2026.csv (940,365 bytes) is comma-separated, in Shift_JIS, with CRLF line ends. The page also offers the same data as an Excel file and a guide to it (「SSDSEの解説」, a PDF) that gives each column's source survey, unit and year. The file has 1,744 lines of 128 columns: three header rows, then 1,741 municipalities, the ones of 31 March 2025 (cities, towns, villages and the 23 wards of Tokyo; the large cities are given as a whole, not by ward). The three header rows are:

  1. codes: SSDSE-A-2026, Prefecture, Municipality, then a code for each column such as A1101;
  2. the year of each figure, labelled 年度: from 2019 to 2024 depending on the column;
  3. the column names in Japanese: 地域コード (area code), 都道府県 (prefecture), 市区町村 (municipality), then the 125 statistics, such as 総人口 (total population).

The data ​

Each row is one municipality: its code, such as R01100, its prefecture and its name, then 125 figures. The guide groups the figures by field:

FieldColumnsYearWhat they hold, for example
Population and households332020, 2023, 2024総人口 (total population) and by sex and age, 外国人人口 (foreign residents), 出生数 (births), 転入者数(日本人移動者) (people moving in), 世帯数 (households), 単独世帯数 (one-person households)
Natural environment22024総面積(北方地域及び竹島を除く) (total area) and 可住地面積 (habitable area), in hectares
Economy402019, 2021事業所数(民営) (private establishments) and 従業者数(民営) (their workers), each in total and by industry; 農家数(販売農家) (farms)
Administration102022, 2024一般行政部門職員数(市区町村) (municipal staff), 歳入決算総額(市町村財政) (revenue), 地方税(市町村財政) (local taxes), in thousands of yen
Education142024小学校数 (elementary schools), 小学校児童数 (their pupils), 高等学校数 (high schools)
Labour122020就業者数 (employed people), 完全失業者数 (unemployed), 第1次産業就業者数 (workers in farming, forestry and fishing), 第2次産業就業者数 (industry), 第3次産業就業者数 (services)
Culture and sports22021公民館数 (community halls), 図書館数 (libraries)
Housing and living52021, 2023小売店数 (retail stores), 飲食店数 (restaurants), 大型小売店数 (large retail stores), and sanitation
Health and medical care62022, 2023一般病院数 (hospitals), 一般診療所数 (clinics), 医師数 (doctors)
Welfare and social security12023保育所等数(基本票) (day-care centres)

The guide says the data set has no missing values, and no cell of the file is empty. The figures are counts and amounts, not rates: a big city has large numbers in every column.

The column this guide predicts is not in the file. We make it from two columns: 飲食店数, the number of restaurants of the 2021 economic census (経済センサス-活動調査), divided by 総人口, the population of the 2020 census, times 10,000. The two figures are of different years, as the file gives them. In the economic census, restaurants (飲食店) are a group of the industry "accommodations, eating and drinking services" (宿泊業、飲食サービス業), counted as private establishments.

Three rows, the first ones of the file, cut after the first eight columns (the file has 128):

csv
地域コード,都道府県,市区町村,総人口,総人口(男),総人口(女),日本人人口,日本人人口(男)
R01100,北海道,札幌市,1973395,918682,1054713,1933094,897727
R01202,北海道,函館市,251084,113965,137119,248208,112718
R01203,北海道,小樽市,111299,50136,61163,109971,49441

Before training, look at three things.

First, columns that hold the answer. Whether to keep a column depends on two things: is the value known at the moment you predict, and is it computed from the outcome you are predicting? Every column of this file is a published statistic, known for every municipality, so the first check passes. The second does not for five of them:

  • 飲食店数, the number of restaurants: the answer is this number divided by the population, which is also a column. With both, the model would compute the answer instead of estimating it from the area's profile.
  • 事業所数(民営)(宿泊業、飲食サービス業), the establishments of accommodations, eating and drinking services, and 事業所数(民営), all private establishments: both count the restaurants among others. In this file the restaurants are never more than the first of them, and for half of the municipalities they are 79% of it or more.
  • 従業者数(民営)(宿泊業、飲食サービス業) and 従業者数(民営): the workers of those same establishments, so they include the restaurants' staff.

The line is drawn at the counts of the area's establishments and of the jobs in them, which include the restaurants themselves. The census columns 就業者数 (employed people) and 第3次産業就業者数 (workers in services) stay: according to the definitions of these statistics on e-Stat, the census counts workers where they live, and its services group covers many industries, accommodations, eating and drinking services among them.

Uncheck all five. The model then estimates the restaurants from everything else about the area, which is what the gap is about. In our run, a model that kept the four counts (and left out only 飲食店数) estimated the restaurants more closely, on the set-aside municipalities too (see Read the results), and its list of gaps was a different one: it put Kawasaki city at about 1,046 restaurants more than its estimate, where the model without them put it at about 878 fewer. Our reading is that such a model reads the restaurants from the counts that contain them, so its gap no longer compares an area with areas of a like profile.

Second, names and codes. 地域コード (area code) and 市区町村 (municipality name) differ for almost every row; they name a row, they do not describe it. Fione unchecks the code by itself ("Looks like an ID: every value is different, so it cannot help predict."); uncheck the name. 都道府県 (prefecture, 47 values) is kept: every prefecture is in the data the model learns from.

Third, the municipality with no population. Futaba town (双葉町) in Fukushima has a population of 0 in the 2020 census: the guide explains that nobody lived there at the census because of the evacuation order after the Fukushima Daiichi nuclear accident. It has no figure per person, so the command below leaves it out. The guide also warns that some other towns with partial evacuation orders have far fewer people in the census than in the residents' register.

Prepare the CSV ​

The command keeps the third header row as the header, leaves out the municipality with a population of 0, adds the column 人口1万人当たり飲食店数 (restaurants per 10,000 people, rounded to two decimals) and sets every tenth municipality aside, so that you can later predict municipalities the model never learned from. The file lists the municipalities by prefecture, from Hokkaido to Okinawa; every tenth row is spread over all of Japan. This python3 command reads the file as Shift_JIS (Python's cp932 codec) and writes train.csv and new-areas.csv, both in Shift_JIS, with the header:

sh
python3 - <<'PY'
import csv
with open("SSDSE-A-2026.csv", encoding="cp932", newline="") as f:
    rows = list(csv.reader(f))
header = rows[2] + ["人口1万人当たり飲食店数"]
pop, shops = header.index("総人口"), header.index("飲食店数")
data = [r + [f"{int(r[shops]) * 10000 / int(r[pop]):.2f}"] for r in rows[3:] if int(r[pop]) > 0]
for name, part in (("train.csv", [r for i, r in enumerate(data) if i % 10 != 9]),
                   ("new-areas.csv", data[9::10])):
    with open(name, "w", encoding="cp932", newline="") as f:
        csv.writer(f).writerows([header] + part)
PY
wc -l train.csv new-areas.csv
text
    1567 train.csv
     175 new-areas.csv
    1742 total

train.csv holds 1,566 municipalities and new-areas.csv 174, each with the header line and 129 columns. The 1,740 municipalities left have a median of 34.6 restaurants per 10,000 people; 6 have none, and Chiyoda ward in Tokyo has 454. The census counts the people who usually live in an area, so the new column relates the restaurants to the residents, not to the people who work in or visit the area.

Train the model ​

  1. On Projects, create a project (we named it area-marketing) and open it.
  2. Press Upload training data, choose train.csv and press Upload and analyze. Data analysis shows 1,566 rows, 129 columns and 0% empty cells, with the Japanese column names.
  3. Under What do you want to predict?, choose 人口1万人当たり飲食店数. Fione reads it as a Number and suggests Regression.
  4. Under Which columns should the model learn from?, Fione has unchecked 地域コード and four public finance columns (see below). Uncheck 市区町村, 飲食店数, 事業所数(民営), 事業所数(民営)(宿泊業、飲食サービス業), 従業者数(民営) and 従業者数(民営)(宿泊業、飲食サービス業). 117 columns stay checked.
  5. Under Prediction type, keep Regression.
  6. Under Maximum run time, choose 10 min. Fione starts at 3 min; a longer run can try more models.
  7. Press Run.

The page lists all 129 columns. Three parts of it in our run: the column to predict and the first columns, with 地域コード and 市区町村 unchecked;

Data analysis for train.csv: 人口1万人当たり飲食店数 to predict, and the first columns of the list with 地域コード and 市区町村 unchecked

the counts of establishments and workers, and the public finance columns, with 事業所数(民営), 事業所数(民営)(宿泊業、飲食サービス業), 従業者数(民営), 従業者数(民営)(宿泊業、飲食サービス業) and the four ID-like columns unchecked;

The part of the column list from 事業所数(民営) to 土木費(市町村財政), with the counts that include the restaurants and four public finance columns unchecked

and the end of the list, with 飲食店数 unchecked, Regression and 10 min:

The end of the column list with 飲食店数 unchecked, Regression chosen and a maximum run time of 10 min

Fione unchecked four public finance columns, 歳入決算総額(市町村財政) (revenue), 地方税(市町村財政) (local taxes), 歳出決算総額(市町村財政) (expenditure) and 土木費(市町村財政) (public works), as ID-like: "Looks like an ID: every value is different, so it cannot help predict." They are amounts in thousands of yen, not IDs: every value differs because the amounts are large. Our run keeps Fione's choice; a run with them checked again is in Read the results.

A few municipalities, such as Chiyoda ward, are far above the rest, and the training job's notices (Training job on the Overview tab of Open advanced details, then See details) point it out: "the target is 0 or more and skewed (skewness 5.1), …; if the score you care about is a relative or logarithmic error (such as RMSLE), set target_transform to 'log1p' …". This guide reads the errors in restaurants per 10,000 people and keeps the target as it is; a run with the logarithm is compared below.

Read the results ​

The Prediction summary of our run: 3 out of 5, typically off by about 15.8 against 26.6 for always guessing the average, with 小売店数 and 第1次産業就業者数 at the top of the most useful inputs

In our run:

  • Rating: 3 out of 5. "On rows it did not learn from, the model's predictions were typically off by about 15.8. Always guessing the average would be off by about 26.6."
  • Guide: "Not bad! The model is useful. More data or a longer run may make it better still."
  • About this model: a blend of 8 models, 145 models tried, training time 6:23.
  • Most useful inputs: 小売店数 (retail stores) 5%, 第1次産業就業者数 (workers in farming, forestry and fishing) 5%, 事業所数(民営)(生活関連サービス業、娯楽業) (establishments of personal services and entertainment) 4%, 従業者数(民営)(製造業) (workers in manufacturing) 4%, 第2次産業就業者数 (workers in industry) 4%.

The figures are restaurants per 10,000 people. The simple guess is the average, 39.55 for every municipality; its typical error is 26.6, the spread of the values in train.csv. The model's typical error on the municipalities it did not learn from is 15.8. The rating is 1 − 15.8 / 26.6 ≈ 0.41, just in the band of 3 stars (0.4 to 0.6; How is the rating calculated? on the summary gives the formula and the bands).

Press Open advanced details and open the Metrics tab. Its figures are "Measured on rows the models did not learn from (cross-validation), for the final blend.", here "From the cross-validation predictions of 1,566 training rows." In our run:

  • RMSE 15.75: "Typical size of the error, in the column's own units. Lower is better." The figure the rating uses.
  • MAE 8.81: "Average size of the error, in the column's own units. Lower is better." On average, the estimate was about 9 restaurants per 10,000 people off.
  • Median absolute error 5.66: for half of the municipalities the estimate was within about 5.7.
  • R² 0.65: "Share of the variation explained: 1 is perfect, 0 is no better than the average."

The RMSE squares each error, so a few large misses weigh heavily in it. The Residuals part of the tab shows one row whose estimate was about 247 too low, alone in the last bin; we take it to be Chiyoda ward, whose 454 is far above every other municipality in train.csv, but the tab does not name the row. For a business list, the median error says more: half of the estimates were within about 5.7 restaurants per 10,000 people.

Most useful inputs is captioned "The columns that moved the predictions most, as a share of all the columns' effect." Fione works this out on its own shortly after training (about 15 seconds after it in our run), by explaining the model's predictions on rows of the training data. No column moves the estimate much on its own: the top five have 4% to 5% each, and the rest is spread over the 117 inputs. Retail stores and the jobs of the area come first: where people shop and what kind of work there is. Until that explanation is done, the summary shows a different list instead, captioned "The columns the model relied on most, as a share of all it used." and based on the training's own measure; that list stays on the Importance tab (in our run 小売店数 13%, 第2次産業就業者数 11%, 都道府県 9%, 第1次産業就業者数 6%, 従業者数(民営)(製造業) 6%, and smaller shares for the rest).

The columns are counts, not rates per person, and the model was not given rates. The training job's notices list the derived features Fione worked with on its own: "derived features: statistics of numbers per row, difference of numbers, ratio of numbers".

Three more runs show what the choices above change. Each used the same rows and run time:

  • With the counts that include the restaurants: with 飲食店数 still unchecked, but 事業所数(民営), 事業所数(民営)(宿泊業、飲食サービス業) and the two worker counts checked, the model also got 3 out of 5, "typically off by about 12.9", with MAE 6.67, and 事業所数(民営)(宿泊業、飲食サービス業) (10%) and 事業所数(民営) (6%) at the top of its most useful inputs. On the 174 set-aside municipalities it was 5.88 off on average, against 7.55 for the model above (see Make predictions). We read this as the model reading the restaurants from counts that contain them, which is why its gaps are not the ones this guide is after (see the Kawasaki example in The data).
  • With Learning the target at Logarithm (log1p) (on Training settings): 3 out of 5, "typically off by about 15.9", with MAE 8.48 and Median absolute error 4.95, against 8.81 and 5.66 above. On the 174 set-aside municipalities it was 7.18 off on average, 10.58 typically and 4.37 at the median, against 7.55, 11.32 and 4.76 for the model above (see Make predictions). About the same; it was a little closer on every one of these measures.
  • With the four public finance columns checked again: 3 out of 5, "typically off by about 15.8", with MAE 9.18 and Median absolute error 6.29. About the same as the model above: leaving them unchecked lost nothing in our run.

Make predictions ​

Predict the 174 municipalities you set aside:

  1. On the Prediction summary, press Make predictions.
  2. Choose new-areas.csv and press Upload. Fione says that "new-areas" (174 rows) has every column the model needs, and marks 12 columns as Not used by the model: the ones you and Fione unchecked, including 地域コード and the four public finance columns, and 人口1万人当たり飲食店数. Keep 人口1万人当たり飲食店数 checked under Columns in the result, so that you can compare each estimate with the actual value.
  3. Press Predict. Predictions shows 174 rows × 130 columns and Download predict_new-areas.csv.

predict is the estimated number of restaurants per 10,000 people. The file you download is UTF-8, not Shift_JIS like the file you uploaded. Some of the 174 rows in our run, in the order of the file; the gap is the estimate × population ÷ 10,000 − the restaurants, the number of restaurants by which the area falls short of its estimate (negative: more restaurants than the estimate):

RowMunicipalityPopulationRestaurantsPer 10,000predictGap in restaurants
1Iwamizawa city, Hokkaido79,30628636.0640.7937.5
2Shibetsu city, Hokkaido17,85811061.6048.15−24.0
63Shinjuku ward, Tokyo349,3854,868139.33131.54−272.1
69Kawasaki city, Kanagawa1,538,2624,19027.2432.94877.7
83Nagano city, Nagano372,7601,52040.7852.52437.8
147Kurume city, Fukuoka303,3161,35544.6739.37−160.7

Over the 174 municipalities, which the model never learned from:

  • The estimates were 7.55 off on average (MAE), 11.32 typically (RMSE) and 4.76 at the median. Always guessing the training average would have been off by 14.21, 19.78 and 12.28.
  • Of the 173 municipalities with at least one restaurant, half of the estimates were within 15.1% of the actual value, and 65% within 20%.
  • They were furthest off for the smallest municipalities, where one restaurant more or less moves the figure per 10,000 people a lot. Under 10,000 people (44 municipalities), the error was 13.9 on average; from 10,000 to 50,000 (80), 6.0; above 50,000 (50), 4.4.

For a list of places to look at, sort by the gap in restaurants and look at the larger areas: of the 174 set-aside municipalities, the 50 above 50,000 people had their largest shortfalls in our run in Kawasaki city (about 878 restaurants fewer than the estimate), Hiroshima city (774), Nagano city (438) and Hachioji city in Tokyo (304). Per 10,000 people these are 5.7, 6.4, 11.7 and 5.3; the typical error in this size band was 4.4 on average (3.7 at the median), so only Nagano city stands clearly apart from the model's usual error. A shortfall may mean room for more restaurants, or it may have reasons the statistics do not show, such as residents who eat out in a neighbouring city. The list also depends on the model: the model trained with the logarithm put Hiroshima city at about 216 restaurants more than its estimate. Use the gap as a lead for a market study, not as proof of demand.

Under the table, Why these predictions shows, for the first 5 rows, the columns that moved each estimate most. For row 1 (Iwamizawa city) it starts from an average prediction of 39.7; the workers in farming, forestry and fishing (第1次産業就業者数, value 2695) lower it by 19.8, the retail stores (小売店数, value 545) raise it by 19.2, the men outside the labour force (非労働力人口(男), value 10443) lower it by 12.9, the establishments of personal services and entertainment (事業所数(民営)(生活関連サービス業、娯楽業), value 288) raise it by 12.6 and the workers in services (第3次産業就業者数, value 24329) by 11.1; the other 112 columns together lower it by 9.1, ending at 40.8. Iwamizawa has 36.1.

Serve it as an API ​

Under Serve it from your own system, press Download the serving bundle. Unpack it into a directory of its own and run the command shown on the card there, as in the overview. Use the name of your file; for our model:

sh
unzip fione-serving-1-model-2026-11-28-13-19-35.zip -d fione-serving-1-model-2026-11-28-13-19-35
cd fione-serving-1-model-2026-11-28-13-19-35
docker run --rm -p 8081:8080 -v "$PWD/model:/model:ro" ghcr.io/codelibs/fione-serving:snapshot

The bundle's name keeps only the 1 of the column name 人口1万人当たり飲食店数. In another terminal, ask which columns the model expects:

sh
curl -s localhost:8081/model
json
{"names":["都道府県","総人口","総人口(男)","総人口(女)","日本人人口", ...,"薬剤師数","保育所等数(基本票)","人口1万人当たり飲食店数"],
 "domains":[["三重県","京都府","佐賀県", ...],null, ...],
 "responseColumn":"人口1万人当たり飲食店数","category":"Regression","nclasses":1,"nfeatures":117, ...}

The model expects 117 columns, with the Japanese names of the file as the keys of the JSON you send. Rather than type them, build the request from new-areas.csv. In the directory where you ran the preparation command, this python3 command writes the first two rows, Iwamizawa and Shibetsu, to two-areas.json, with numbers as numbers, and curl sends it:

sh
python3 - <<'PY'
import csv, json
with open("new-areas.csv", encoding="cp932", newline="") as f:
    rows = list(csv.DictReader(f))[:2]
def value(text):
    try:
        return float(text) if "." in text else int(text)
    except ValueError:
        return text
with open("two-areas.json", "w", encoding="utf-8") as f:
    json.dump({"instances": [{k: value(v) for k, v in r.items()} for r in rows]}, f, ensure_ascii=False)
PY
curl -s -X POST localhost:8081/invocations -H 'Content-Type: application/json' -d @two-areas.json
json
{"predictions":[{"value":40.786370603192566},{"value":48.14966888335808}]}

value is the estimated number of restaurants per 10,000 people: about 40.8 and 48.1, the same as predict for these rows under Make predictions. The rows also hold the columns the model does not use, such as 飲食店数 and the answer; the server ignored them, and sending only the 117 columns gave the same values. A planning tool would send the statistics of each area it ranks, and compare the estimate with the restaurants it counts there.

In our run:

  • Every one of the 117 columns has to be in the row: we left out each of them in turn, and each time both rows gave an error, such as "missing columns: ['保育所等数(基本票)']".
  • Numbers sent as strings ("79306") gave the same values as numbers.
  • null for 小売店数 gave 32.9 for Iwamizawa instead of 40.8, with no warning; doubling it (1090) gave 59.0. A prefecture name the model has not seen ("Hokkaido" for 北海道) gave 45.4, also with no warning.

From an AI tool ​

AI tools such as Claude and Codex can do the same through Fione's MCP endpoint: upload the CSV, train, read the results and predict. Tell the tool which columns to leave out. Called directly over MCP for our train.csv, propose_training_config left out 地域コード and the four public finance columns by itself, and warned that "the target is not negative and skewed; if the score is a relative error (such as RMSLE), target_transform 'log1p' may help", but kept 飲食店数, from which the answer is computed, the counts that include the restaurants and 市区町村. Check the proposal before you train. For a few municipalities, the predict tool takes rows like the two above, with the Japanese column names, and returns predict for each. Called directly over MCP for the model trained above, it returned the same values as the API (40.786 and 48.150). How to connect a client and what to ask is in Run the AutoML loop from an AI tool with MCP, the proposal in Proposals, and the predict tool in Predicting new rows.