โš™๏ธ CreateML Week3 Session ๐ŸŽ Confusion Matrix (Precision, Recall) StyleTransfer, Hand Pose Detection

2022. 8. 8. 14:24ใ†iOS/CoreMLCreateML

 

 

 

 

 

 

 

false positive: ์ •๋‹ต์ด ์•„๋‹Œ๋ฐ, ๋ชจ๋ธ์ด ์ •๋‹ต์œผ๋กœ ์˜ˆ์ธกํ•œ ๊ฒฝ์šฐ 

ex) ์•„์นด๋ฐ๋ฏธ ํ•ฉ๊ฒฉ ์ž๊ฒฉ์ด ๋ถ€์กฑํ•œ๋ฐ, ๋ถ™์€ ๊ฒฝ์šฐ

ex) ์ฝ”๋กœ๋‚˜ ์Œ์„ฑ์ธ๋ฐ, ์–‘์„ฑ ๋œฌ ๊ฒฝ์šฐ (๋ฌธ์ œ ์—†์Œ)

-> ๋ชจ๋ธ์ด ๋” ๋Š์Šจํ•˜๊ฒŒ ํŒ๋‹จํ•œ ๊ฒฝ์šฐ 

 

false negatives: ์ •๋‹ต์ธ๋ฐ ๋ชจ๋ธ์ด ๋†“์นœ ๊ฒฝ์šฐ

ex) ์•„์นด๋ฐ๋ฏธ ํ•ฉ๊ฒฉํ•ด์•ผํ•  ์‹ค๋ ฅ์ธ๋ฐ, ๋ถˆํ•ฉ๊ฒฉํ•œ ๊ฒฝ์šฐ

ex) ์ฝ”๋กœ๋‚˜ ์–‘์„ฑ์ธ๋ฐ, ์Œ์„ฑ ๋œฌ ๊ฒฝ์šฐ (์‹ฌ๊ฐ)

-> ๋ชจ๋ธ์ด ๋” ๋นก์„ธ๊ฒŒ ํŒ๋‹จํ•œ ๊ฒฝ์šฐ 

 

์ •ํ™•๋„์™€ ์žฌํ˜„์œจ

์ •ํ™•๋„(precision): ๋งž์•˜๋‹ค๊ณ  ์ถ”์ธกํ•œ ๋ฐ์ดํ„ฐ ์ค‘, ์‹ค์ œ ์ •๋‹ต์˜ ๋น„์œจ

์žฌํ˜„์œจ(Recall): ์˜ฌ๋ฐ”๋ฅธ ๋ฐ์ดํ„ฐ ์ค‘, ๋ชจ๋ธ์ด ์ ํ•ฉํ•˜๊ฒŒ ํŒ๋‹จํ•œ ๋น„์œจ

๋ชจ๋ธ์ด ์—„๊ฒฉํ• (?) ๊ฒฝ์šฐ ์žฌํ˜„์œจ์ด ๋–จ์–ด์งˆ ์ˆ˜ ์žˆ์Œ

 

- Precision and recall are performance metrics used for pattern recognition and classification in machine learning. These concepts are essential to build a perfect machine learning model which gives more precise and accurate results.

 

- recall์€ ๋Œ€์ƒ ๋ฌผ์ฒด๋“ค์„ ๋น ๋œจ๋ฆฌ์ง€ ์•Š๊ณ  ์–ผ๋งˆ๋‚˜ ์ž˜ ์žก์•„๋‚ด๋Š”์ง€๋ฅผ ๋‚˜ํƒ€๋‚ด๊ณ  precision์€ ๊ฒ€์ถœ๋œ ๊ฒฐ๊ณผ๊ฐ€ ์–ผ๋งˆ๋‚˜ ์ •ํ™•ํ•œ์ง€ ์ฆ‰, ๊ฒ€์ถœ ๊ฒฐ๊ณผ๋“ค ์ค‘ ์‹ค์ œ ๋ฌผ์ฒด๊ฐ€ ์–ผ๋งˆ๋‚˜ ํฌํ•จ๋˜์–ด ์žˆ๋Š”์ง€๋ฅผ ๋‚˜ํƒ€๋‚ธ๋‹ค. 

https://darkpgmr.tistory.com/162

 

 

 

 

 

 

 

์–ด๋…ธํ…Œ์ด์…˜: ๊ฐ๊ฐ์˜ ์ด๋ฏธ์ง€ ํŒŒ์ผ ์ด๋ฆ„๊ณผ, ๋Œ€์‘๋˜๋Š” label๊ณผ ๋ฐ”์šด๋”ฉ ๋ฐ•์Šค ์ขŒํ‘œ์— ๋Œ€ํ•œ ์ •๋ณด, ( == ๋ฉ”ํƒ€ ๋ฐ์ดํ„ฐ )

 

 

 

 

[๋”ฅ๋Ÿฌ๋‹] ๋ฐ์ดํ„ฐ ์–ด๋…ธํ…Œ์ด์…˜์ด๋ž€? 

https://cordingdiary.tistory.com/86

 

 

 

 

 

You only look once, ๋ฐ์ดํ„ฐ๊ฐ€ ๋งŽ์„ ๊ฒฝ์šฐ ํ’€๋„คํŠธ์›Œํฌ ์‚ฌ์šฉ (default)

 

 

 

 

 

์šœ๋กœ

 

 

 

 

 

์ „์ดํ•™์Šต: ํ•˜๋‚˜์˜ ์ž‘์—…์„ ์œ„ํ•ด ํ›ˆ๋ จ๋œ ๋ชจ๋ธ์„ ์œ ์‚ฌ ์ž‘์—… ์ˆ˜ํ–‰ ๋ชจ๋ธ์˜ ์‹œ์ž‘์ ์œผ๋กœ ํ™œ์šฉ (์กฐ๊ฑด์ด ์žˆ๋‹ค.)

 

 

 

https://kr.mathworks.com/discovery/transfer-learning.html

https://velog.io/@tjdtnsu/๋”ฅ๋Ÿฌ๋‹-๊ธฐ์ดˆ-์ „์ด-ํ•™์Šต-์ดํ•ดํ•˜๊ธฐ

 

 

 

 

์—ํญ, ๋ฐฐ์น˜(for ์˜ค๋ฒ„ํ”ผํŒ… ๋ฐฉ์ง€), ์ดํ„ฐ๋ ˆ์ด์…˜

 

 

 

 

์Šค๋ƒ…์ƒท ์ฐ๊ธฐ

 

 

 

 

์ „์ฒด ์˜์—ญ ์ค‘ ๊ต์ง‘ํ•ฉ์˜ ๋น„์œจ

 

 

 

 

 

 

 

 

 

์Šคํƒ€์ผ ํŠธ๋ Œ์Šคํผ (GAN)

 

 

 

 

 

 

 

 

 

๋น„๋””์˜ค๋„ ๊ฐ€๋Šฅํ•˜๋‹ค

 

 

 

 

์–ผ๋งˆ๋‚˜ ๋งŽ์ด ์Šคํƒ€์ผ์„ ๋ฐ˜์˜ํ•  ์ง€

 

 

 

 

..? ์–ผ๋งˆ๋‚˜ ์ •๋ฐ€ํ•˜๊ฒŒ? ๋ฐ˜์˜ํ• ์ง€ (์ž˜ ๋ชจ๋ฅด๊ฒ ์Œ)

 

 

 

 

 

Hand Pose Detection
HandPose Detection