boostcampaitech3 / level2-dkt-level2-recsys-10

๋ถ€์ŠคํŠธ์บ ํ”„ AI Tech 3๊ธฐ RecSys-10 / ๐Ÿ‘จโ€๐Ÿซ Deep Knowledge Tracing(DKT) Competition ๐Ÿ‘จโ€๐Ÿซ
2 stars 5 forks source link

[bug/#49] fix tubular trainer bug #50

Closed Gangtaro closed 2 years ago

Gangtaro commented 2 years ago

๐Ÿ“š PR ์š”์•ฝ

49 ์ฝ”๋“œ ์˜ค๋ฅ˜์— ๋Œ€ํ•ด์„œ ๊ฒ€ํ† ํ•ด๋ณด์•˜์œผ๋‚˜, ํ•ด๋‹น ๋ถ€๋ถ„์— ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š”๊ฒƒ์€ ์•„๋‹Œ๊ฑธ๋กœ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค.

๋‹ค๋งŒ, ์ฝ”๋“œ๋ฅผ ์žฌ๊ฒ€ํ† ํ•˜๋ฉฐ ์‹ค์ œ๋กœ ์ œ์ผ ๋ฌธ์ œ๊ฐ€ ๋˜๋˜, inferece ์‹œ์— binary๋กœ ๊ฐ’์ด ๋„์ถœ๋˜๋Š” ๋ถ€๋ถ„๊ณผ, ๋ช…ํ™•ํ•˜์ง€ ์•Š๋˜ ๋ถ€๋ถ„์„ ์กฐ๊ธˆ ์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค.

์š”์•ฝํ•œ ์ˆ˜์ •์‚ฌํ•ญ์ž…๋‹ˆ๋‹ค.

  1. lightgbm ๋ชจ๋ธ์„ fit ํ• ๋•Œ, FEAT ์ œ๊ฑฐ (Dataloader.py ์— ํ•ด๋‹น๋ถ€๋ถ„ ์ด๋ฏธ ์‹คํ–‰ํ•˜์—ฌ ์ค‘๋ณต)
  2. ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š”, ์ฐธ๊ณ ์šฉ ํ•จ์ˆ˜ custom_acc ์ฃผ์„ ์ฒ˜๋ฆฌ
  3. inference ํ•จ์ˆ˜์—์„œ model.predict-> model.predict_proba๋กœ ๋ณ€๊ฒฝํ•˜์—ฌ submission file์ด binary๋กœ ๊ธฐ๋ก๋˜๋Š” ํ˜„์ƒ ํ•ด๊ฒฐ

๐Ÿšฉ ๊ด€๋ จ ์ด์Šˆ ๋ฒˆํ˜ธ

47 #49