Skip to content

๐ŸŽฎ Kaggle - Student Gameplay Prediction by LSTM ๐Ÿ“ˆ

License

Notifications You must be signed in to change notification settings

hoeen/student-gameplay-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

59 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Student Gameplay Prediction by LSTM ๐Ÿ“ˆ

  • Kaggle Predict Student Performance from Game Play ๋Œ€ํšŒ์— ์ฐธ์—ฌํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • ์œ ์ €์˜ ๊ฒŒ์ž„ ๊ธฐ๋ก์„ ์ˆœ์„œ๋Œ€๋กœ ์ถ”์ ํ•˜๋Š” ๊ฒƒ์ด ํ•™์Šต ์ƒํƒœ ํŒŒ์•…์— ์ ํ•ฉํ•˜๋‹ค๊ณ  ํŒ๋‹จ, sequential model์„ ์ด์šฉํ•˜๋Š” ๋ฐฉํ–ฅ์œผ๋กœ ์ ‘๊ทผํ–ˆ์Šต๋‹ˆ๋‹ค.
  • LSTM์„ ์ด์šฉํ•˜์—ฌ ์‚ฌ์šฉ์ž์˜ ๊ฒŒ์ž„ ๋กœ๊ทธ๋ฅผ embedded sequence data๋กœ ๋ณ€ํ™˜, ์ •๋‹ต์—ฌ๋ถ€๋ฅผ ์˜ˆ์ธกํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • mean score ๊ธฐ๋ฐ˜ baseline 0.65 ๋Œ€๋น„ LSTM์œผ๋กœ CV f1-score๋ฅผ 0.67๋กœ ํ–ฅ์ƒ์‹œ์ผฐ์Šต๋‹ˆ๋‹ค.

Project Organization

Gameplay Prediction Project 
    โ”œโ”€โ”€ data
    โ”‚   โ”œโ”€โ”€ processed      <- processing ๋œ train, test ๋ฐ encoder, scaler ๋ฐ์ดํ„ฐ
    โ”‚   โ””โ”€โ”€ raw            <- Kaggle ์—์„œ ์ œ๊ณตํ•˜๋Š” Raw ๋ฐ์ดํ„ฐ์…‹
    โ”‚ 
    โ”œโ”€โ”€ models             <- ํ›ˆ๋ จ์‹œํ‚จ DNN, LSTM ๋ชจ๋ธ .pt ํŒŒ์ผ
    โ”œโ”€โ”€ EDA_notebook       <- Exploratory Data Analysis (EDA) ์ง„ํ–‰ํ•œ Jupyter notebook 
    โ”‚
    โ”œโ”€โ”€ requirements.txt   <- ํ”„๋กœ์ ํŠธ ๊ด€๋ จ ๊ฐ€์ƒํ™˜๊ฒฝ ์„ค์ • (ํŒจํ‚ค์ง€)               
    โ”‚
    โ””โ”€โ”€ src                <- Source code for use in this project.
        โ”‚
        โ”œโ”€โ”€ data           
        โ”‚   โ””โ”€โ”€ dataloader.py  <- ๋ชจ๋ธ์— ๋„ฃ๊ธฐ ์œ„ํ•œ ๋ฐ์ดํ„ฐ ์ „์ฒ˜๋ฆฌ ๊ด€๋ จ ์ฝ”๋“œ
        โ”‚
        โ”œโ”€โ”€ models         
        โ”‚   โ”‚                      
        โ”‚   โ”œโ”€โ”€ criterion.py   <- loss ๊ณ„์‚ฐ 
        โ”‚   โ”œโ”€โ”€ metric.py      <- ์„ฑ๋Šฅ์ง€ํ‘œ ๊ณ„์‚ฐ 
        โ”‚   โ”œโ”€โ”€ model.py       <- import ํ•  ๋ชจ๋ธ์˜ ๋ชจ์Œ
        โ”‚   โ”œโ”€โ”€ optimizer.py   <- Adam ๋“ฑ optimizer ๋ชจ์Œ
        โ”‚   โ”œโ”€โ”€ scheduler.py   <- ํ•™์Šต ์Šค์ผ€์ฅด๋Ÿฌ ๋ชจ์Œ
        โ”‚   โ””โ”€โ”€ trainer.py     <- ๋ชจ๋ธ ํ›ˆ๋ จ, ๊ฒ€์ฆ ์Šคํฌ๋ฆฝํŠธ
        โ”‚
        โ”œโ”€โ”€ args.py            <- parse ํ•  argument ๋ชจ์Œ                            
        โ”‚
        โ”œโ”€โ”€ train.py           <- ์‹คํ–‰ ์ฝ”๋“œ (main)
        โ”‚
        โ””โ”€โ”€ utils.py           <- ๋ถ€๊ฐ€ ๊ธฐ๋Šฅ

Model Schema

How to execute

python src/train.py [--args]

About

๐ŸŽฎ Kaggle - Student Gameplay Prediction by LSTM ๐Ÿ“ˆ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published