{ "cells": [ { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "# Unsupervised vs. Supervised Dimensionality Reduction" ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "## **The Dataset**" ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "In this example, we will utilize *CS:GO Professional Match Results*, which is a match stats and results of competitive e-sports game. Our classification label here is *map_won*, which explains the team won the round or not.\n", "\n", "CS:GO competitive match consists of several maps on play. For example, in *best of 3* format, maximum of 3 maps will be played and the winner is decided by winning 2 maps. Here X and Y is a team-opponent stats." ] }, { "cell_type": "code", "execution_count": 13, "metadata": { "tags": [ "output_scroll" ] }, "outputs": [ { "data": { "text/html": [ "
| \n", " | 0 | \n", "1 | \n", "2 | \n", "3 | \n", "4 | \n", "
|---|---|---|---|---|---|
| match_url | \n", "https://www.hltv.org/matches/2338765/heroic-vs... | \n", "https://www.hltv.org/matches/2338765/heroic-vs... | \n", "https://www.hltv.org/matches/2338778/heroic-vs... | \n", "https://www.hltv.org/matches/2338778/heroic-vs... | \n", "https://www.hltv.org/matches/2338778/heroic-vs... | \n", "
| prize_pool | \n", "20000 | \n", "20000 | \n", "20000 | \n", "20000 | \n", "20000 | \n", "
| teams_participated | \n", "10.00 | \n", "10.00 | \n", "10.00 | \n", "10.00 | \n", "10.00 | \n", "
| map_won_x | \n", "True | \n", "True | \n", "True | \n", "True | \n", "True | \n", "
| team_rating_x | \n", "309.00 | \n", "309.00 | \n", "309.00 | \n", "309.00 | \n", "309.00 | \n", "
| comb_team_kddiff_x | \n", "-8 | \n", "37 | \n", "30 | \n", "24 | \n", "21 | \n", "
| comb_past_tot_kills_x | \n", "4,166.00 | \n", "4,467.00 | \n", "3,458.00 | \n", "3,435.00 | \n", "1,178.00 | \n", "
| comb_past_tot_deaths_x | \n", "3,826.00 | \n", "4,057.00 | \n", "3,251.00 | \n", "3,173.00 | \n", "1,015.00 | \n", "
| comb_past_net_kddiff_x | \n", "340.00 | \n", "410.00 | \n", "207.00 | \n", "262.00 | \n", "163.00 | \n", "
| comb_past_kdr_x | \n", "1.09 | \n", "1.10 | \n", "1.06 | \n", "1.08 | \n", "1.16 | \n", "
| team_rating_y | \n", "0.00 | \n", "0.00 | \n", "0.00 | \n", "0.00 | \n", "0.00 | \n", "
| comb_team_kddiff_y | \n", "7 | \n", "-38 | \n", "-30 | \n", "-24 | \n", "-21 | \n", "
| comb_past_tot_kills_y | \n", "3,782.00 | \n", "1,721.00 | \n", "3,825.00 | \n", "1,368.00 | \n", "0.00 | \n", "
| comb_past_tot_deaths_y | \n", "3,461.00 | \n", "1,911.00 | \n", "3,586.00 | \n", "1,384.00 | \n", "0.00 | \n", "
| comb_past_net_kddiff_y | \n", "321.00 | \n", "-190.00 | \n", "239.00 | \n", "-16.00 | \n", "0.00 | \n", "
| comb_past_kdr_y | \n", "1.09 | \n", "0.90 | \n", "1.07 | \n", "0.99 | \n", "1.00 | \n", "