-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
409 lines (398 loc) · 10.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
<!DOCTYPE html>
<html lang="ja">
<head prefix="og: https://ogp.me/ns#">
<meta charset="UTF-8">
<title>station2vec</title>
<meta name="viewport" content="width=device-width">
<meta property="og:url" content="https://atsushi-green.github.io/station2vec/">
<meta property="og:image" content="https://raw.githubusercontent.com/atsushi-green/station2vec/main/logo.png">
<meta property="og:description" content="似ている駅・似ていない駅の検索サービスです。">
<link rel="icon" type="image/png" href="https://avatars.githubusercontent.com/u/129949522?v=4">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<p>
<label>駅名:<input type="text" id="targetStation" size="40" value="渋谷"></label>
<input type="button" value="似ている駅を検索" id="searchButton">
</p>
<p id="msg"></p>
<ul id="near_station">
</ul>
<p id="msg2"></p>
<script src="./station2vec.js">
</script>
<h2 class="usage">使い方</h2>
<ul>
<li> 以下の駅一覧から駅を選んでテキストボックスに入力し、「似ている駅を検索」ボタンを押してください。</li>
<li> 「似ている駅を検索」するには、駅一覧にある駅名と文字列が完全に一致する必要がありますのでご注意ください。</li>
<li> 東急電鉄様、阪急電鉄様の駅が対象です。ただし、東急 新横浜線/世田谷線は対象外としています。</li>
<li> 「似ている駅」はcos類似度が大きい(1に近い)駅、「似ていない駅」はcos類似度が小さい(-1に近い)駅を上位5件まで表示します。</li>
</ul>
<table border="1">
<tr>
<th>阪急電鉄駅一覧</th>
<th>東急電鉄駅一覧</th>
</tr>
<tr>
<td>大阪梅田</td>
<td>渋谷</td>
</tr>
<tr>
<td>中津</td>
<td>代官山</td>
</tr>
<tr>
<td>十三</td>
<td>中目黒</td>
</tr>
<tr>
<td>神崎川</td>
<td>祐天寺</td>
</tr>
<tr>
<td>園田</td>
<td>学芸大学</td>
</tr>
<tr>
<td>塚口</td>
<td>都立大学</td>
</tr>
<tr>
<td>武庫之荘</td>
<td>自由が丘</td>
</tr>
<tr>
<td>西宮北口</td>
<td>田園調布</td>
</tr>
<tr>
<td>夙川</td>
<td>多摩川</td>
</tr>
<tr>
<td>芦屋川</td>
<td>新丸子</td>
</tr>
<tr>
<td>岡本</td>
<td>武蔵小杉</td>
</tr>
<tr>
<td>御影</td>
<td>元住吉</td>
</tr>
<tr>
<td>六甲</td>
<td>日吉</td>
</tr>
<tr>
<td>王子公園</td>
<td>綱島</td>
</tr>
<tr>
<td>春日野道</td>
<td>大倉山</td>
</tr>
<tr>
<td>神戸三宮</td>
<td>菊名</td>
</tr>
<tr>
<td>稲野</td>
<td>妙蓮寺</td>
</tr>
<tr>
<td>新伊丹</td>
<td>白楽</td>
</tr>
<tr>
<td>伊丹</td>
<td>東白楽</td>
</tr>
<tr>
<td>今津</td>
<td>反町</td>
</tr>
<tr>
<td>阪神国道</td>
<td>横浜</td>
</tr>
<tr>
<td>門戸厄神</td>
<td>目黒</td>
</tr>
<tr>
<td>甲東園</td>
<td>不動前</td>
</tr>
<tr>
<td>仁川</td>
<td>武蔵小山</td>
</tr>
<tr>
<td>小林</td>
<td>西小山</td>
</tr>
<tr>
<td>逆瀬川</td>
<td>洗足</td>
</tr>
<tr>
<td>宝塚南口</td>
<td>大岡山</td>
</tr>
<tr>
<td>苦楽園口</td>
<td>奥沢</td>
</tr>
<tr>
<td>甲陽園</td>
<td>池尻大橋</td>
</tr>
<tr>
<td>三国</td>
<td>三軒茶屋</td>
</tr>
<tr>
<td>庄内</td>
<td>駒沢大学</td>
</tr>
<tr>
<td>服部天神</td>
<td>桜新町</td>
</tr>
<tr>
<td>曽根</td>
<td>用賀</td>
</tr>
<tr>
<td>岡町</td>
<td>二子玉川</td>
</tr>
<tr>
<td>豊中</td>
<td>二子新地</td>
</tr>
<tr>
<td>蛍池</td>
<td>高津</td>
</tr>
<tr>
<td>石橋阪大前</td>
<td>溝の口</td>
</tr>
<tr>
<td>池田</td>
<td>梶が谷</td>
</tr>
<tr>
<td>川西能勢口</td>
<td>宮崎台</td>
</tr>
<tr>
<td>雲雀丘花屋敷</td>
<td>宮前平</td>
</tr>
<tr>
<td>山本</td>
<td>鷺沼</td>
</tr>
<tr>
<td>中山観音</td>
<td>たまプラーザ</td>
</tr>
<tr>
<td>売布神社</td>
<td>あざみ野</td>
</tr>
<tr>
<td>清荒神</td>
<td>江田</td>
</tr>
<tr>
<td>宝塚</td>
<td>市が尾</td>
</tr>
<tr>
<td>桜井</td>
<td>藤が丘</td>
</tr>
<tr>
<td>牧落</td>
<td>青葉台</td>
</tr>
<tr>
<td>箕面</td>
<td>田奈</td>
</tr>
<tr>
<td>南方</td>
<td>長津田</td>
</tr>
<tr>
<td>崇禅寺</td>
<td>つくし野</td>
</tr>
<tr>
<td>淡路</td>
<td>すずかけ台</td>
</tr>
<tr>
<td>上新庄</td>
<td>南町田グランベリーパーク</td>
</tr>
<tr>
<td>相川</td>
<td>つきみ野</td>
</tr>
<tr>
<td>正雀</td>
<td>中央林間</td>
</tr>
<tr>
<td>摂津市</td>
<td>大井町</td>
</tr>
<tr>
<td>南茨木</td>
<td>下神明</td>
</tr>
<tr>
<td>茨木市</td>
<td>戸越公園</td>
</tr>
<tr>
<td>総持寺</td>
<td>中延</td>
</tr>
<tr>
<td>富田</td>
<td>荏原町</td>
</tr>
<tr>
<td>高槻市</td>
<td>旗の台</td>
</tr>
<tr>
<td>上牧</td>
<td>北千束</td>
</tr>
<tr>
<td>水無瀬</td>
<td>緑が丘</td>
</tr>
<tr>
<td>大山崎</td>
<td>九品仏</td>
</tr>
<tr>
<td>西山天王山</td>
<td>尾山台</td>
</tr>
<tr>
<td>長岡天神</td>
<td>等々力</td>
</tr>
<tr>
<td>西向日</td>
<td>上野毛</td>
</tr>
<tr>
<td>東向日</td>
<td>五反田</td>
</tr>
<tr>
<td>洛西口</td>
<td>大崎広小路</td>
</tr>
<tr>
<td>桂</td>
<td>戸越銀座</td>
</tr>
<tr>
<td>西京極</td>
<td>荏原中延</td>
</tr>
<tr>
<td>西院</td>
<td>長原</td>
</tr>
<tr>
<td>大宮</td>
<td>洗足池</td>
</tr>
<tr>
<td>烏丸</td>
<td>石川台</td>
</tr>
<tr>
<td>京都河原町</td>
<td>雪が谷大塚</td>
</tr>
<tr>
<td>柴島</td>
<td>御嶽山</td>
</tr>
<tr>
<td>下新庄</td>
<td>久が原</td>
</tr>
<tr>
<td>吹田</td>
<td>千鳥町</td>
</tr>
<tr>
<td>豊津</td>
<td>池上</td>
</tr>
<tr>
<td>関大前</td>
<td>蓮沼</td>
</tr>
<tr>
<td>千里山</td>
<td>沼部</td>
</tr>
<tr>
<td>南千里</td>
<td>鵜の木</td>
</tr>
<tr>
<td>山田</td>
<td>下丸子</td>
</tr>
<tr>
<td>北千里</td>
<td>武蔵新田</td>
</tr>
<tr>
<td>上桂</td>
<td>矢口渡</td>
</tr>
<tr>
<td>松尾大社</td>
<td>蒲田</td>
</tr>
<tr>
<td>嵐山</td>
<td>恩田</td>
</tr>
<tr>
<td>-</td>
<td>こどもの国</td>
</tr>
</table>
<h2 class="usage">利用データ</h2>
<p>以下のデータを加工して作成(データは全て2023年8月30日取得)。</p>
<ul>
<li> <a href="https://www.geospatial.jp/ckan/dataset/mlit-1km-fromto">「全国の人流オープンデータ」(国土交通省)</a></li>
<li> <a href="https://ekidata.jp/">「駅データ」(駅データ.jp)</a></li>
<li> <a href="https://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-L01-v3_0.html">「国土数値情報(地価公示データ)」(国土交通省)</a>
</li>
</ul>
<br><br />
<small>
<center> © 2023 atsushi</center>
</small>
</body>
</html>