Commitv5

parent 50da4d3a
......@@ -8,41 +8,6 @@
]
},
{
"cell_type": "raw",
"metadata": {},
"source": [
"Daftar isi\n",
"\n",
"1. Data Preprocessing\n",
"1.1 Data Cleaning\n",
"1.2 Data Integration\n",
"1.3 Data Transformation\n",
"\n",
"Adapun data yang di proses antara lain:\n",
" Kabupaten Dairi (kab1)\n",
" Kabupaten_Humbang_Hasundutan (kab2)\n",
" Kabupaten_karo (kab3)\n",
" Kabupaten_Samosir (kab4)\n",
" Kabupaten_Simalungun (kab5)\n",
" Kabupaten_Tapanuli_Utara (kab6)\n",
" Kabupaten_Toba_Samosir (kab7)\n",
" \n",
"2. Random Data\n",
"3. Encoding\n",
"4. Fitness Calculation\n",
"5. Prediksi Suhu\n",
"\n",
"PSO Implementation\n",
" Decoding PSO\n",
"ACO Implementation\n",
" Decoding ACO\n",
"ACO Implementation\n",
" Decoding ABC \n",
"\n",
"Evaluasi menggunakan VIKOR"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
......@@ -71,7 +36,7 @@
"#Load dataset sebelum integrasi\n",
"Data1 = pd.read_csv('./tri/Data Toba Samosir - Sheet3.csv')\n",
"Data1.drop(Data1.filter(regex=\"Unname\"),axis=1, inplace=True)\n",
"Data2 = pd.read_csv('./tri/Data Toba Samosir - Sheet1.csv')\n",
"Data2 = pd.read_csv('./triData Toba Samosir - Sheet1.csv')\n",
"Data2.drop(Data2.filter(regex=\"Unname\"),axis=1, inplace=True)\n",
"Data3 = pd.read_csv('./tri/List_city.csv')"
]
......
,Pantai BUL BUL,BUKIT travel Gibeon,Pakkodian,Taman Eden 100 Tobasa,Water Park Tambunan,Bukit Pahoda,Bukit Senyum,Air Terjun Pandumaan,Long Beach,PANTAI AGADON,Situmurun Waterfall,Simanimbo Waterfall,Air Terjun Sigura Gura,The Kaldera,Museum T. B. Silalahi Center,Bukit Tarabunga,Pantai Meat,Air Terjun Sialogo,Air Terjun Siboruon,Gunung Pangulubao,Lumban Silintong,Siregar Aek Nalas,Pantai Janji Maria,Balerong Onan Balige,Dolok Tolong,Pantai Pasir Putih Parparean,Dolok Surungan,Air Terjun Sampuran,Air Terjun Morena,Tornagodang,Hatulian Beach,Monumen Raja Sonakmalela,Lumban Binanga Beach,Pantai Pasifik Porsea,Desa Adat Ragi Hotang,Makam Raja Sisingamangaraja XII
Pantai BUL BUL,0,50.9,12.8,44.7,5.9,71,60.6,12.4,63.5,50.5,52.7,43.1,51.9,56.3,6,11.8,14.6,60.7,9,42.4,6.8,36.3,4.4,3.4,9.8,21,74.2,37.1,64.5,36.1,11.6,3.3,10.7,22.5,14.4,5.7
BUKIT travel Gibeon,50.9,0,59.2,6.2,47.3,53.5,12,51.4,17.6,18.6,20.7,50.3,59,7.7,52.4,58.2,61,67.9,55.5,8.7,53.2,45.7,47.9,49.8,56.2,32.2,102,83.5,71.7,63.9,46.1,49.7,45.2,32.9,60.8,52.1
Pakkodian,12.8,59.2,0,53,14.2,11.9,68.9,20.7,71.8,58.8,61,51.4,60.2,64.6,8,4.1,4.8,69,15.4,50.7,8.7,44.6,12.7,9.4,4.5,29.3,82.5,30.4,72.8,44.4,19.9,9.5,18.9,31.8,4.5,7.7
Taman Eden 100 Tobasa,44.7,6.2,53,0,41.1,47.2,15.9,45.5,18.8,12.3,14.5,44,52.8,11.6,46.2,52,54.8,61.7,49.2,2.4,47,39.5,41.7,43.6,50,26,95.8,77.2,65.5,57.7,39.9,43.5,39,26.7,54.5,45.9
Water Park Tambunan,5.9,47.3,14.2,41.1,0,8.4,57,13.8,59.8,46.9,49,39.4,48.2,52.7,7.4,13.1,16,57,10.4,38.8,8.1,32.7,2.9,4.8,11.2,17.4,70.5,38.4,60.9,32.4,7.9,4.7,7,19.9,15.7,7.1
Bukit Pahoda,7.1,53.5,11.1,47.2,8.4,0,63.2,14.9,66,53.1,55.3,45.6,54.4,58.9,3.5,10.9,13,63.3,9.6,45,2.8,38.9,7,3.7,8.9,23.6,76.7,36.2,67.1,38.6,14.1,3.8,13.2,26.1,13.5,4
Bukit Senyum,60.6,12,68.9,15.9,57,63.1,0,61.4,5.5,28.2,30.4,59.9,68.7,10.8,62.1,67.9,70.7,77.6,65.1,18.3,62.9,55.4,57.6,59.5,65.9,41.9,112,93.1,81.4,73.6,55.8,59.4,54.9,42.6,70.4,61.8
Air Terjun Pandumaan,12.4,51.7,20.7,45.5,11.3,14.9,61.4,0,64.2,51.3,53.5,43.8,52.6,57.1,13.9,19.6,22.9,61.5,15,43.2,14.6,37.1,11.9,11.3,17.7,21.8,74.9,44.9,65.3,36.8,12.8,11.2,11.9,24.3,22.2,13.6
Long Beach,62.5,16.6,71.8,17.8,58.8,66,5.5,63.3,0,31.1,33.2,61.8,70.6,23,64,69.7,73.6,80.4,67,21.2,64.7,58.2,59.5,62.4,67.8,43.8,114,95,83.3,75.5,57.7,61.3,56.8,44.5,72.3,64.6
PANTAI AGADON,50.5,18.6,58.8,12.3,46.9,53.1,28.2,51.3,31.1,0,5.7,49.9,58.6,23.9,52,57.8,60.7,67.5,55.1,10,52.8,23.4,47.5,49.4,55.8,31.9,102,83.1,71.3,63.5,45.7,49.3,44.8,19.8,60.4,51.7
Situmurun Waterfall,52.7,20.7,61,14.5,49,55.2,30.4,53.5,33.2,5.7,0,52,60.8,26.1,54.2,59.9,62.8,69.6,57.2,12.2,54.9,47.5,49.7,51.6,58,34,104,85.2,73.5,65.7,47.9,51.5,47,34.7,62.5,53.8
Simanimbo Waterfall,43.1,50.3,51.4,44,39.4,45.6,59.9,43.8,62.8,49.9,52,0,13.6,55.6,44.6,50.3,53.2,22.4,47.6,41.7,45.6,37.9,40.1,42,48.4,24.4,94.2,75.6,26.2,56.1,38.2,41.8,37.3,25.1,52.9,44.2
Air Terjun Sigura Gura,51.9,59,60.2,52.8,48.2,54.4,68.7,52.8,71.6,58.6,60.8,13.6,0,64.4,53.4,59.1,62,11.6,56.4,50.5,54.1,46.6,48.9,50.8,57.2,33.2,103,84.4,15.5,64.9,47,50.6,46.1,33.8,61.7,53
The Kaldera,56.3,7.7,64.6,11.6,52.7,58.8,10.8,57.1,23,23.9,26.1,55.6,64.4,0,57.8,63.6,66.4,73.3,60.8,14,58.6,51.1,53.3,55.2,61.6,37.6,107,88.8,77.1,69.3,51.5,55.1,50.6,38.3,66.1,57.5
Museum T. B. Silalahi Center,6,52.5,8,46.2,7.4,3.3,62.1,13.9,65,52,54.1,44.6,53.4,57.8,0,7,9.8,62.1,8.6,43.9,1.9,37.8,5.9,2.6,5,22.6,75.7,32.3,66,37.6,13.1,2.8,12.2,25.1,9.6,0.35
Bukit Tarabunga,11.8,58.2,4.1,52,13.2,10.9,67.9,19.6,70.7,57.8,59.9,50.3,59.1,63.6,7,0,5.9,67.9,14.4,49.6,7.6,43.6,11.7,8.4,3.5,28.3,81.4,29.3,71.8,43.3,18.8,8.5,17.9,30.8,5.6,6.6
Pantai Meat,14.6,61,4.7,54.8,16,13.7,70.7,22.5,73.6,60.6,62.8,53.2,62,66.4,9.9,5.9,0,70.8,17.2,52.5,10.5,46.4,14.5,11.2,6.4,31.2,84.3,32.1,74.6,46.2,21.7,11.4,20.8,33.7,0.6,9.5
Air Terjun Sialogo,60.7,67.9,74.2,61.7,57,68.5,82.8,61.5,80.4,72.7,74.9,22.4,11.6,78.5,62.2,67.9,76.1,0,65.2,64.6,62.9,60.7,57.7,64.8,66,42,112,93.2,9.7,73.7,55.9,59.5,55,42.7,70.5,67.1
Air Terjun Siboruon,9,55.5,15.4,49.2,10.4,9.6,65.1,15,68,55.1,57.2,47.6,56.4,60.8,8.6,14.3,17.2,65.2,0,46.9,9.3,40.8,8.9,6,12.4,25.6,78.7,39.6,69,40.6,16.1,5.9,15.2,28.1,16.9,8.3
Gunung Pangulubao,42.4,8.7,50.7,2.4,38.8,44.9,18.3,43.2,21.2,10,12.2,41.7,50.5,14,43.9,49.6,52.5,59.3,46.9,0,44.6,37.2,39.4,41,47.7,23.7,93.5,74.9,63.2,55.4,37.6,41.2,36.7,24.4,52.2,43.6
Lumban Silintong,6.7,53.1,8.7,46.9,8.1,2.8,62.9,14.6,65.7,52.8,54.9,45.3,47.9,58.5,1.9,7.6,10.5,62.9,9.3,44.6,0,38.6,6.6,3.4,5.7,23.3,76.4,32.9,66.7,38.3,13.8,3.4,12.9,25.7,10.2,2
Siregar Aek Nalas,36.3,45.7,44.6,39.5,32.7,38.9,55.4,37.1,58.2,23.4,47.5,37.9,40.4,51.1,37.8,43.6,46.4,55.5,40.8,37.2,38.5,0,33.3,35.2,41.6,17.6,87.4,68.9,59.3,49.3,32.5,35.1,30.6,14.7,46.2,37.5
Pantai Janji Maria,4.4,47.9,12.7,41.7,2.9,7,57.6,11.9,60.5,47.5,49.5,40.1,42.7,53.3,5.9,11.7,14.5,57.7,8.9,39.4,6.7,33.3,0,3.3,9.7,18,71.2,37,61.5,33.1,8.6,3.2,7.6,20.5,14.3,5.6
Balerong Onan Balige,3.4,49.8,9.4,43.6,4.8,3.6,59.5,11.3,62.4,49.4,51.6,42,44.6,55.2,2.6,8.4,11.2,59.6,6,41.3,3.4,35.2,3.3,0,6.4,19.9,73.1,33.6,63.4,35,10.5,0.13,9.5,22.4,5.6,2.3
Dolok Tolong,9.8,56.2,4.1,50,11.2,8.9,65.9,17.7,68.8,55.8,58,48.4,51,61.6,5,3.5,5.9,66,12.4,47.7,5.7,41.6,9.7,6.4,0,26.4,79.5,27.4,69.8,41.4,16.9,6.6,16,28.9,5.6,4.7
Pantai Pasir Putih Parparean,21,32.2,29.3,26,17.4,23.6,41.9,21.8,44.8,31.9,34,24.4,27,37.6,22.6,28.3,31.2,42,25.6,23.7,23.3,17.6,18,19.9,26.3,0,72.1,53.6,45.8,34,16.2,19.8,15.3,4.9,5.6,22.2
Dolok Surungan,74.2,102,82.5,95.8,70.5,76.7,112,74.9,115,102,104,94.2,96.8,107,75.7,81.4,84.3,112,78.7,93.5,76.4,87.4,71.2,73.1,79.5,72.1,0,107,118,36.5,69.3,72.9,68.4,74.6,84,75.3
Air Terjun Sampuran,51.5,83.5,59.8,78.1,47.8,36.2,93.1,52.3,96.8,83.1,60.4,76.4,78.2,89.7,53,29.3,33,93.2,40.5,74.9,33.8,68.9,48.5,34.5,28.2,32.8,103,0,15.1,69.4,46.7,34.6,45.7,56.9,61.3,31.9
Air Terjun Morena,64.5,71.7,72.8,65.5,60.9,67.1,81.4,65.3,84.2,71.3,73.5,26.2,18.9,77.1,66,71.8,74.6,9.7,69,63.2,66.8,59.3,61.5,63.4,69.8,45.8,116,97.1,0,77.5,59.7,63.3,58.8,46.5,74.3,65.7
Tornagodang,36.1,63.9,44.3,57.7,32.4,38.6,73.6,36.8,76.5,63.5,65.7,56.1,58.7,69.3,37.6,43.3,46.2,73.7,40.6,55.4,38.3,49.3,33.1,35,41.4,34,36.5,68.6,77.5,0,31.2,34.8,30.3,36.5,45.9,37.2
Hatulian Beach,11.9,46.1,20.2,39.9,8.3,14.1,55.8,12.7,58.7,45.7,47.9,38.3,40.8,51.5,13.4,18.8,22,55.9,16.4,37.6,14.2,31.5,8.9,10.8,17.2,16.2,69.4,44.4,59.7,31.3,0,10.7,0.9,18.7,21.7,12.7
Monumen Raja Sonakmalela,3.3,49.7,9.5,43.5,4.7,3.8,59.4,11.2,62.2,49.3,51.5,41.8,44.4,55.1,2.8,8.5,11.3,59.5,5.9,41.2,3.5,35.1,3.2,0.13,6.5,19.8,72.9,33.8,63.3,34.8,10.3,0,9.4,22.3,11.1,2.4
Lumban Binanga Beach,11.2,45.2,19.4,39.1,7.5,13.2,54.9,11.9,57.9,44.8,47.1,37.5,39.9,50.7,12.7,17.9,21.3,55,15.7,36.7,13.4,30.6,8.1,10,16.5,15.5,68.6,43.7,59,30.5,0.9,9.9,0,18,21,11.8
Pantai Pasifik Porsea,23.5,32.9,31.8,26.7,19.9,26.1,42.6,24.3,45.5,19.8,34.7,25.1,27.6,38.3,25.1,30.8,33.6,42.7,28.1,24.4,25.8,14.7,20.5,22.4,28.8,4.9,74.6,56.1,46.5,36.5,18.7,22.3,17.8,0,33.4,24.7
Desa Adat Ragi Hotang,14.4,60.8,4.5,54.6,15.7,13.5,70.4,22.2,73.3,60.4,62.5,52.9,55.5,66.1,9.6,5.6,0.6,70.5,16.9,52.2,10.2,46.2,14.3,10.9,6.1,30.9,84,31.9,74.4,45.9,21.4,11.1,20.5,33.4,0,9.2
Makam Raja Sisingamangaraja XII,5.7,52.1,7.7,45.9,7.1,3.6,61.8,13.6,64.6,51.7,53.8,44.2,46.8,57.5,0.35,6.6,9.5,61.8,8.3,43.6,2,37.5,5.6,2.3,4.7,22.2,75.3,31.9,65.7,37.2,12.7,2.4,11.8,24.7,9.2,0
\ No newline at end of file
,Water Park Tambunan,Bukit Senyum,Air Terjun Pandumaan,Air Terjun Sigura Gura,Air Terjun Siboruon,Balerong Onan Balige,Makam Raja Sisingamangaraja XII
Water Park Tambunan,0,57,13.8,48.2,10.4,4.8,7.1
Bukit Senyum,57,0,61.4,68.7,65.1,59.5,61.8
Air Terjun Pandumaan,11.3,61.4,0,52.6,15,11.3,13.6
Air Terjun Sigura Gura,48.2,68.7,52.8,0,56.4,50.8,53
Air Terjun Siboruon,10.4,65.1,15,56.4,0,6,8.3
Balerong Onan Balige,4.8,59.5,11.3,44.6,6,0,2.3
Makam Raja Sisingamangaraja XII,7.1,61.8,13.6,46.8,8.3,2.3,0
ID_City,City
0,Pantai BUL BUL
1,BUKIT travel Gibeon
2,Pakkodian
3,Taman Eden 100 Tobasa
4,Water Park Tambunan
5,Bukit Pahoda
6,Bukit Senyum
7,Air Terjun Pandumaan
8,Long Beach
9,PANTAI AGADON
10,Situmurun Waterfall
11,Simanimbo Waterfall
12,Air Terjun Sigura Gura
13,The Kaldera
14,Museum T. B. Silalahi Center
15,Bukit Tarabunga
16,Pantai Meat
17,Air Terjun Sialogo
18,Air Terjun Siboruon
19,Gunung Pangulubao
20,Lumban Silintong
21,Siregar Aek Nalas
22,Pantai Janji Maria
23,Balerong Onan Balige
24,Dolok Tolong
25,Pantai Pasir Putih Parparean
26,Dolok Surungan
27,Air Terjun Sampuran
28,Air Terjun Morena
29,Tornagodang
30,Hatulian Beach
31,Monumen Raja Sonakmalela
32,Lumban Binanga Beach
33,Pantai Pasifik Porsea
34,Desa Adat Ragi Hotang
35,Makam Raja Sisingamangaraja XII
ID_City,City,Biaya
0,Pantai BUL BUL,10000
1,BUKIT travel Gibeon,10001
2,Pakkodian,10002
3,Taman Eden 100 Tobasa,10003
4,Water Park Tambunan,10004
5,Bukit Pahoda,10005
6,Bukit Senyum,10006
7,Air Terjun Pandumaan,10007
8,Long Beach,10008
9,PANTAI AGADON,10009
10,Situmurun Waterfall,10010
11,Simanimbo Waterfall,10011
12,Air Terjun Sigura Gura,10012
13,The Kaldera,10013
14,Museum T. B. Silalahi Center,10014
15,Bukit Tarabunga,10015
16,Pantai Meat,10016
17,Air Terjun Sialogo,10017
18,Air Terjun Siboruon,10018
19,Gunung Pangulubao,10019
20,Lumban Silintong,10020
21,Siregar Aek Nalas,10021
22,Pantai Janji Maria,10022
23,Balerong Onan Balige,10023
24,Dolok Tolong,10024
25,Pantai Pasir Putih Parparean,10025
26,Dolok Surungan,10026
27,Air Terjun Sampuran,10027
28,Air Terjun Morena,10028
29,Tornagodang,10029
30,Hatulian Beach,10030
31,Monumen Raja Sonakmalela,10031
32,Lumban Binanga Beach,10032
33,Pantai Pasifik Porsea,10033
34,Desa Adat Ragi Hotang,10034
35,Makam Raja Sisingamangaraja XII,10035
ID_City,City,Biaya
4,Water Park Tambunan,10000
6,Bukit Senyum,10000
7,Air Terjun Pandumaan,10000
12,Air Terjun Sigura Gura,10000
18,Air Terjun Siboruon,10000
23,Balerong Onan Balige,10000
35,Makam Raja Sisingamangaraja XII,10000
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment