174 lines
7.7 KiB
Plaintext
174 lines
7.7 KiB
Plaintext
{
|
|
"cells": [
|
|
{
|
|
"cell_type": "markdown",
|
|
"id": "a3a7634f",
|
|
"metadata": {},
|
|
"source": [
|
|
"# Machine Learning project in SoSe 2025 at HTW Saar\n",
|
|
"### Contributors\n",
|
|
" - Maximilian Kany\n",
|
|
" - Florian Speicher\n",
|
|
" - Tim Wall\n",
|
|
"\n",
|
|
"#### Dataset\n",
|
|
"For our project we use a steam DataSet from kaggle. You can find it under the following url: [Kaggle.com](https://www.kaggle.com/datasets/trolukovich/steam-games-complete-dataset)"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 4,
|
|
"id": "3116b75f",
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
" 0 1 \\\n",
|
|
"0 url types \n",
|
|
"1 https://store.steampowered.com/app/379720/DOOM/ app \n",
|
|
"2 https://store.steampowered.com/app/578080/PLAY... app \n",
|
|
"3 https://store.steampowered.com/app/637090/BATT... app \n",
|
|
"4 https://store.steampowered.com/app/221100/DayZ/ app \n",
|
|
"\n",
|
|
" 2 \\\n",
|
|
"0 name \n",
|
|
"1 DOOM \n",
|
|
"2 PLAYERUNKNOWN'S BATTLEGROUNDS \n",
|
|
"3 BATTLETECH \n",
|
|
"4 DayZ \n",
|
|
"\n",
|
|
" 3 \\\n",
|
|
"0 desc_snippet \n",
|
|
"1 Now includes all three premium DLC packs (Unto... \n",
|
|
"2 PLAYERUNKNOWN'S BATTLEGROUNDS is a battle roya... \n",
|
|
"3 Take command of your own mercenary outfit of '... \n",
|
|
"4 The post-soviet country of Chernarus is struck... \n",
|
|
"\n",
|
|
" 4 \\\n",
|
|
"0 recent_reviews \n",
|
|
"1 Very Positive,(554),- 89% of the 554 user revi... \n",
|
|
"2 Mixed,(6,214),- 49% of the 6,214 user reviews ... \n",
|
|
"3 Mixed,(166),- 54% of the 166 user reviews in t... \n",
|
|
"4 Mixed,(932),- 57% of the 932 user reviews in t... \n",
|
|
"\n",
|
|
" 5 6 \\\n",
|
|
"0 all_reviews release_date \n",
|
|
"1 Very Positive,(42,550),- 92% of the 42,550 use... May 12, 2016 \n",
|
|
"2 Mixed,(836,608),- 49% of the 836,608 user revi... Dec 21, 2017 \n",
|
|
"3 Mostly Positive,(7,030),- 71% of the 7,030 use... Apr 24, 2018 \n",
|
|
"4 Mixed,(167,115),- 61% of the 167,115 user revi... Dec 13, 2018 \n",
|
|
"\n",
|
|
" 7 8 \\\n",
|
|
"0 developer publisher \n",
|
|
"1 id Software Bethesda Softworks,Bethesda Softworks \n",
|
|
"2 PUBG Corporation PUBG Corporation,PUBG Corporation \n",
|
|
"3 Harebrained Schemes Paradox Interactive,Paradox Interactive \n",
|
|
"4 Bohemia Interactive Bohemia Interactive,Bohemia Interactive \n",
|
|
"\n",
|
|
" 9 \\\n",
|
|
"0 popular_tags \n",
|
|
"1 FPS,Gore,Action,Demons,Shooter,First-Person,Gr... \n",
|
|
"2 Survival,Shooter,Multiplayer,Battle Royale,PvP... \n",
|
|
"3 Mechs,Strategy,Turn-Based,Turn-Based Tactics,S... \n",
|
|
"4 Survival,Zombies,Open World,Multiplayer,PvP,Ma... \n",
|
|
"\n",
|
|
" 10 \\\n",
|
|
"0 game_details \n",
|
|
"1 Single-player,Multi-player,Co-op,Steam Achieve... \n",
|
|
"2 Multi-player,Online Multi-Player,Stats \n",
|
|
"3 Single-player,Multi-player,Online Multi-Player... \n",
|
|
"4 Multi-player,Online Multi-Player,Steam Worksho... \n",
|
|
"\n",
|
|
" 11 12 \\\n",
|
|
"0 languages achievements \n",
|
|
"1 English,French,Italian,German,Spanish - Spain,... 54 \n",
|
|
"2 English,Korean,Simplified Chinese,French,Germa... 37 \n",
|
|
"3 English,French,German,Russian 128 \n",
|
|
"4 English,French,Italian,German,Spanish - Spain,... NaN \n",
|
|
"\n",
|
|
" 13 \\\n",
|
|
"0 genre \n",
|
|
"1 Action \n",
|
|
"2 Action,Adventure,Massively Multiplayer \n",
|
|
"3 Action,Adventure,Strategy \n",
|
|
"4 Action,Adventure,Massively Multiplayer \n",
|
|
"\n",
|
|
" 14 \\\n",
|
|
"0 game_description \n",
|
|
"1 About This Game Developed by id software, the... \n",
|
|
"2 About This Game PLAYERUNKNOWN'S BATTLEGROUND... \n",
|
|
"3 About This Game From original BATTLETECH/Mec... \n",
|
|
"4 About This Game The post-soviet country of Ch... \n",
|
|
"\n",
|
|
" 15 \\\n",
|
|
"0 mature_content \n",
|
|
"1 NaN \n",
|
|
"2 Mature Content Description The developers de... \n",
|
|
"3 NaN \n",
|
|
"4 NaN \n",
|
|
"\n",
|
|
" 16 \\\n",
|
|
"0 minimum_requirements \n",
|
|
"1 Minimum:,OS:,Windows 7/8.1/10 (64-bit versions... \n",
|
|
"2 Minimum:,Requires a 64-bit processor and opera... \n",
|
|
"3 Minimum:,Requires a 64-bit processor and opera... \n",
|
|
"4 Minimum:,OS:,Windows 7/8.1 64-bit,Processor:,I... \n",
|
|
"\n",
|
|
" 17 18 \\\n",
|
|
"0 recommended_requirements original_price \n",
|
|
"1 Recommended:,OS:,Windows 7/8.1/10 (64-bit vers... $19.99 \n",
|
|
"2 Recommended:,Requires a 64-bit processor and o... $29.99 \n",
|
|
"3 Recommended:,Requires a 64-bit processor and o... $39.99 \n",
|
|
"4 Recommended:,OS:,Windows 10 64-bit,Processor:,... $44.99 \n",
|
|
"\n",
|
|
" 19 \n",
|
|
"0 discount_price \n",
|
|
"1 $14.99 \n",
|
|
"2 NaN \n",
|
|
"3 NaN \n",
|
|
"4 NaN \n"
|
|
]
|
|
},
|
|
{
|
|
"name": "stderr",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"C:\\Users\\FlorianSpeicher\\AppData\\Local\\Temp\\ipykernel_38708\\931669033.py:4: DtypeWarning: Columns (12) have mixed types. Specify dtype option on import or set low_memory=False.\n",
|
|
" cars = pd.read_csv(\"./steam_games.csv\",sep=\",\",header=None)\n"
|
|
]
|
|
}
|
|
],
|
|
"source": [
|
|
"import numpy as np\n",
|
|
"import pandas as pd\n",
|
|
"# load data\n",
|
|
"cars = pd.read_csv(\"./steam_games.csv\",sep=\",\",header=None)\n",
|
|
"print(cars.head())\n"
|
|
]
|
|
}
|
|
],
|
|
"metadata": {
|
|
"kernelspec": {
|
|
"display_name": "base",
|
|
"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.13.5"
|
|
}
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat_minor": 5
|
|
}
|