\n",
"\n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"
| left_side | right_side | similarity |
|---|
| 826 | Pike's Place Lux Suites by Barsala 2nd Ave and... | Pike's Place Lux Suites by Barsala 2rd Ave and... | 0.715406 |
| 831 | Pike's Place Lux Suites by Barsala 2rd Ave and... | Pike's Place Lux Suites by Barsala 2nd Ave and... | 0.715406 |
| 206 | Holiday Inn Express & Suites Seattle-City Cent... | Holiday Inn Express & Suites Seattle City Cent... | 0.712321 |
| 256 | Holiday Inn Express & Suites Seattle City Cent... | Holiday Inn Express & Suites Seattle-City Cent... | 0.712321 |
| 181 | Travelodge Seattle by The Space Needle 200 6th... | Travelodge Seattle by The Space Needle 200 6th... | 0.669974 |
| 211 | Travelodge Seattle by The Space Needle 200 6th... | Travelodge Seattle by The Space Needle 200 6th... | 0.669974 |
| 791 | citizenM Seattle South Lake Union hotel 201 We... | citizenM Seattle South Lake Union hotel 201 We... | 0.651961 |
| 836 | citizenM Seattle South Lake Union hotel 201 We... | citizenM Seattle South Lake Union hotel 201 We... | 0.651961 |
| 586 | Quality Inn & Suites Seattle Center 618 John S... | Quality Inn & Suites Seattle Center 618 John S... | 0.627400 |
| 551 | Quality Inn & Suites Seattle Center 618 John S... | Quality Inn & Suites Seattle Center 618 John S... | 0.627400 |
| 46 | Hilton Garden Inn Seattle Downtown 1821 Boren ... | Hilton Garden Inn Seattle Downtown 1821 Boren ... | 0.617412 |
| 1 | Hilton Garden Inn Seattle Downtown 1821 Boren ... | Hilton Garden Inn Seattle Downtown 1821 Boren ... | 0.617412 |
| 781 | Hyatt Regency Lake Washington At SeattleS Sout... | Hyatt Regency Lake Washington At SeattleS Sout... | 0.614371 |
| 746 | Hyatt Regency Lake Washington At SeattleS Sout... | Hyatt Regency Lake Washington At SeattleS Sout... | 0.614371 |
| 346 | Home2 Suites by Hilton Seattle Airport 380 Upl... | Home2 Suites by Hilton Seattle Airport 380 Upl... | 0.582787 |
| 341 | Home2 Suites by Hilton Seattle Airport 380 Upl... | Home2 Suites by Hilton Seattle Airport 380 Upl... | 0.582787 |
| 561 | Renaissance Seattle Hotel 515 Madison Street, ... | Renaissance Seattle Hotel 515 Madison St, Seat... | 0.531174 |
| 546 | Renaissance Seattle Hotel 515 Madison St, Seat... | Renaissance Seattle Hotel 515 Madison Street, ... | 0.531174 |
| 391 | Days Inn by Wyndham Seattle North of Downtown ... | Travelodge by Wyndham Seattle North of Downtow... | 0.528202 |
| 396 | Travelodge by Wyndham Seattle North of Downtow... | Days Inn by Wyndham Seattle North of Downtown ... | 0.528202 |
| 401 | Comfort Inn & Suites 13700 Aurora Ave N, Seatt... | Comfort Inn & Suites 13700 Aurora Avenue North... | 0.527696 |
| 441 | Comfort Inn & Suites 13700 Aurora Avenue North... | Comfort Inn & Suites 13700 Aurora Ave N, Seatt... | 0.527696 |
| 451 | Roy Street Commons 621 12th Avenue East, Seatt... | Roy Street Commons 621 12th Ave E, Seattle, WA... | 0.499497 |
| 411 | Roy Street Commons 621 12th Ave E, Seattle, WA... | Roy Street Commons 621 12th Avenue East, Seatt... | 0.499497 |
| 11 | Crowne Plaza Seattle Downtown 1113 6th Ave, Se... | Crowne Plaza Seattle 1113 6th Ave, Seattle, Wa... | 0.469867 |
| 61 | Crowne Plaza Seattle 1113 6th Ave, Seattle, Wa... | Crowne Plaza Seattle Downtown 1113 6th Ave, Se... | 0.469867 |
| 671 | Watertown Hotel - A Staypineapple Hotel 4242 R... | University Inn - A Staypineapple Hotel 4140 Ro... | 0.432854 |
| 706 | University Inn - A Staypineapple Hotel 4140 Ro... | Watertown Hotel - A Staypineapple Hotel 4242 R... | 0.432854 |
| 621 | Executive Inn By The Space Needle 200 Taylor A... | Travelodge Seattle by The Space Needle 200 6th... | 0.428319 |
| 182 | Travelodge Seattle by The Space Needle 200 6th... | Executive Inn By The Space Needle 200 Taylor A... | 0.428319 |
\n",
"
"
],
"text/plain": [
" left_side \\\n",
"826 Pike's Place Lux Suites by Barsala 2nd Ave and... \n",
"831 Pike's Place Lux Suites by Barsala 2rd Ave and... \n",
"206 Holiday Inn Express & Suites Seattle-City Cent... \n",
"256 Holiday Inn Express & Suites Seattle City Cent... \n",
"181 Travelodge Seattle by The Space Needle 200 6th... \n",
"211 Travelodge Seattle by The Space Needle 200 6th... \n",
"791 citizenM Seattle South Lake Union hotel 201 We... \n",
"836 citizenM Seattle South Lake Union hotel 201 We... \n",
"586 Quality Inn & Suites Seattle Center 618 John S... \n",
"551 Quality Inn & Suites Seattle Center 618 John S... \n",
"46 Hilton Garden Inn Seattle Downtown 1821 Boren ... \n",
"1 Hilton Garden Inn Seattle Downtown 1821 Boren ... \n",
"781 Hyatt Regency Lake Washington At SeattleS Sout... \n",
"746 Hyatt Regency Lake Washington At SeattleS Sout... \n",
"346 Home2 Suites by Hilton Seattle Airport 380 Upl... \n",
"341 Home2 Suites by Hilton Seattle Airport 380 Upl... \n",
"561 Renaissance Seattle Hotel 515 Madison Street, ... \n",
"546 Renaissance Seattle Hotel 515 Madison St, Seat... \n",
"391 Days Inn by Wyndham Seattle North of Downtown ... \n",
"396 Travelodge by Wyndham Seattle North of Downtow... \n",
"401 Comfort Inn & Suites 13700 Aurora Ave N, Seatt... \n",
"441 Comfort Inn & Suites 13700 Aurora Avenue North... \n",
"451 Roy Street Commons 621 12th Avenue East, Seatt... \n",
"411 Roy Street Commons 621 12th Ave E, Seattle, WA... \n",
"11 Crowne Plaza Seattle Downtown 1113 6th Ave, Se... \n",
"61 Crowne Plaza Seattle 1113 6th Ave, Seattle, Wa... \n",
"671 Watertown Hotel - A Staypineapple Hotel 4242 R... \n",
"706 University Inn - A Staypineapple Hotel 4140 Ro... \n",
"621 Executive Inn By The Space Needle 200 Taylor A... \n",
"182 Travelodge Seattle by The Space Needle 200 6th... \n",
"\n",
" right_side similarity \n",
"826 Pike's Place Lux Suites by Barsala 2rd Ave and... 0.715406 \n",
"831 Pike's Place Lux Suites by Barsala 2nd Ave and... 0.715406 \n",
"206 Holiday Inn Express & Suites Seattle City Cent... 0.712321 \n",
"256 Holiday Inn Express & Suites Seattle-City Cent... 0.712321 \n",
"181 Travelodge Seattle by The Space Needle 200 6th... 0.669974 \n",
"211 Travelodge Seattle by The Space Needle 200 6th... 0.669974 \n",
"791 citizenM Seattle South Lake Union hotel 201 We... 0.651961 \n",
"836 citizenM Seattle South Lake Union hotel 201 We... 0.651961 \n",
"586 Quality Inn & Suites Seattle Center 618 John S... 0.627400 \n",
"551 Quality Inn & Suites Seattle Center 618 John S... 0.627400 \n",
"46 Hilton Garden Inn Seattle Downtown 1821 Boren ... 0.617412 \n",
"1 Hilton Garden Inn Seattle Downtown 1821 Boren ... 0.617412 \n",
"781 Hyatt Regency Lake Washington At SeattleS Sout... 0.614371 \n",
"746 Hyatt Regency Lake Washington At SeattleS Sout... 0.614371 \n",
"346 Home2 Suites by Hilton Seattle Airport 380 Upl... 0.582787 \n",
"341 Home2 Suites by Hilton Seattle Airport 380 Upl... 0.582787 \n",
"561 Renaissance Seattle Hotel 515 Madison St, Seat... 0.531174 \n",
"546 Renaissance Seattle Hotel 515 Madison Street, ... 0.531174 \n",
"391 Travelodge by Wyndham Seattle North of Downtow... 0.528202 \n",
"396 Days Inn by Wyndham Seattle North of Downtown ... 0.528202 \n",
"401 Comfort Inn & Suites 13700 Aurora Avenue North... 0.527696 \n",
"441 Comfort Inn & Suites 13700 Aurora Ave N, Seatt... 0.527696 \n",
"451 Roy Street Commons 621 12th Ave E, Seattle, WA... 0.499497 \n",
"411 Roy Street Commons 621 12th Avenue East, Seatt... 0.499497 \n",
"11 Crowne Plaza Seattle 1113 6th Ave, Seattle, Wa... 0.469867 \n",
"61 Crowne Plaza Seattle Downtown 1113 6th Ave, Se... 0.469867 \n",
"671 University Inn - A Staypineapple Hotel 4140 Ro... 0.432854 \n",
"706 Watertown Hotel - A Staypineapple Hotel 4242 R... 0.432854 \n",
"621 Travelodge Seattle by The Space Needle 200 6th... 0.428319 \n",
"182 Executive Inn By The Space Needle 200 Taylor A... 0.428319 "
]
},
"execution_count": 45,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"matches_df[matches_df['similarity'] < 0.99999].sort_values(by=['similarity'], ascending=False).head(30)"
]
},
{
"cell_type": "code",
"execution_count": 57,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"text/plain": [
"152"
]
},
"execution_count": 57,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"matches_df[matches_df['similarity'] < 0.50].right_side.nunique()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.7"
}
},
"nbformat": 4,
"nbformat_minor": 2
}