๋Œ€ํšŒ ํ”„๋กœ์ ํŠธ/kaggle

[kaggle competition1]Store Sales - Time Series Forecasting Use machine learning to predict grocery sales 1-๋ณ€์ˆ˜์„ค๋ช…

์ฃผ์˜ ๐Ÿฑ 2022. 11. 28. 18:49
728x90
๋ฐ˜์‘ํ˜•

https://www.kaggle.com/competitions/store-sales-time-series-forecasting

 

Store Sales - Time Series Forecasting | Kaggle

 

www.kaggle.com

 

๋Œ€ํšŒ ๊ฐœ์š”

- ์—์ฝฐ๋„๋ฅด์— ์œ„์น˜ํ•œ Favorita ๋งค์žฅ์—์„œ ํŒ๋งค๋˜๋Š” ์ˆ˜์ฒœ ๊ฐœ์˜ ์ œํ’ˆ๊ตฐ์˜ ๋งค์ถœ์„ ์˜ˆ์ธก

 

๋ฐ์ดํ„ฐ ์…‹,๋ณ€์ˆ˜ ์„ค๋ช…

1. train.csv - 

store_nbr : ์ œํ’ˆ์ด ํŒ๋งค๋˜๋Š” ์Šคํ† ์–ด id

family : ํŒ๋งค๋˜๋Š” ์ œํ’ˆ์˜ ์ข…๋ฅ˜

๋”๋ณด๊ธฐ

( ['AUTOMOTIVE', 'BABY CARE', 'BEAUTY', 'BEVERAGES', 'BOOKS', 'BREAD/BAKERY', 'CELEBRATION', 'CLEANING', 'DAIRY', 'DELI', 'EGGS', 'FROZEN FOODS', 'GROCERY I', 'GROCERY II', 'HARDWARE', 'HOME AND KITCHEN I', 'HOME AND KITCHEN II', 'HOME APPLIANCES', 'HOME CARE', 'LADIESWEAR', 'LAWN AND GARDEN', 'LINGERIE', 'LIQUOR,WINE,BEER', 'MAGAZINES', 'MEATS', 'PERSONAL CARE', 'PET SUPPLIES', 'PLAYERS AND ELECTRONICS', 'POULTRY', 'PREPARED FOODS', 'PRODUCE', 'SCHOOL AND OFFICE SUPPLIES', 'SEAFOOD'])

sales: ์ด ํŒ๋งค๋Ÿ‰ (ํƒ€๊ฒŸ๋ณ€์ˆ˜)

onpromotion: ํŠน์ • ๋‚ ์งœ์— ์Šคํ† ์–ด์—์„œ ํ”„๋กœ๋ชจ์…˜ ์ค‘์ธ ์ œํ’ˆ(family์— ์†ํ•˜๋Š” item)์˜ ์ˆ˜

 

2. oil.csv

์ผ์ผ ์œ ๊ฐ€ -  ์—์ฝฐ๋„๋ฅด๋Š” ์„์œ  ์˜์กด๊ตญ์ด๋ฉฐ ๊ฒฝ์ œ๊ฐ€ ์œ ๊ฐ€์— ์˜ํ–ฅ์„ ๋งŽ์ด ๋ฐ›์„ ์ˆ˜ ์žˆ์Œ

 

3. stores.csv

cluster - ๋น„์Šทํ•œ ๋„์‹œ๋ผ๋ฆฌ ๊ทธ๋ฃนํ•‘ํ•œ ๊ฒƒ

 

4. hoilday_events.csv

 

transferred -  ์ •๋ถ€์— ์˜ํ•ด ๋‹ค๋ฅธ ๋‚ ์งœ๋กœ ์ด๋™๋œ ๋‚ ๋กœ ํœด์ผ์ด ์•„๋‹Œ ํ‰๋ฒ”ํ•œ ๋‚ ์— ๊ฐ€๊น๋‹ค.

 

์‹ค์ œ๋กœ ๊ธฐ๋…๋œ ๋‚ ์งœ๋ฅผ ์ฐพ์œผ๋ ค๋ฉด type์ด Transfer์ธ ํ•ด๋‹น ํ–‰์„ ์ฐพ์œผ๋ฉด ๋œ๋‹ค.

(์˜ˆ๋ฅผ ๋“ค์–ด, Independencia de Guayaquil์€ 2012-10-09์—์„œ 2012-10-12๋กœ ์ด์ „๋˜์—ˆ๋Š”๋ฐ, ์ด๋Š” 2012-10-12์— ๊ธฐ๋…๋˜์—ˆ๋‹ค๋Š” ๊ฒƒ์„ ์˜๋ฏธํ•œ๋‹ค.)

 

Bridge day๋Š” ํœด์ผ์— ์ถ”๊ฐ€๋˜๋Š” ์ถ”๊ฐ€ ๋‚ ์งœ(๋Œ€์ฒด๊ณตํœด์ผ ๊ฐœ๋…?)

Additional ์€ ํฌ๋ฆฌ์Šค๋งˆ์Šค์™€ ๊ฐ™์€ ์ •๊ธฐ ํœด์ผ

 

2016-04-16 ์—์ฝฐ๋„๋ฅด์—์„œ ์ง€์ง„ ๋ฐœ์ƒ, ๋ฌผ ๊ธฐ๋ถ€ํ•˜๋Š” ๊ตฌํ˜ธํ™œ๋™์ด ์„ฑํ–‰ํ•ด์„œ ์ง€์ง„ ํ›„ ๋ช‡์ฃผ๋™์•ˆ์—๋Š” ๊ด€๋ จ๋ฌผํ’ˆ์˜ ํŒ๋งค๋Ÿ‰์ด ๋Š˜์—ˆ๋‹ค. 

public sector์˜ ์ž„๊ธˆ์€ ๋งค์›” 15์ผ, ๋ง์ผ์— ์ง€๊ธ‰๋œ๋‹ค. 

 

๋ฐ˜์‘ํ˜•