Tensorflow.js - 07. Build an image classifier

`toc tight: true, from-heading: 1 to-heading: 3 ` # Transfer learning image classifier ๋ณธ ํŠœํ† ๋ฆฌ์–ผ์—์„œ๋Š”, ๋ธŒ๋ผ์šฐ์ € ํ™˜๊ฒฝ์—์„œ Tesnorflow.js๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์ปค์Šคํ…€ ์ด๋ฏธ์ง€ ๋ถ„๋ฅ˜๊ธฐ๋ฅผ ๋งŒ๋“œ๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค. ์ด๋ฒˆ ์žฅ์—์„œ๋Š”, ์ตœ์†Œํ•œ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ๋†’์€ ์ •ํ™•๋„๋ฅผ ๊ฐ€์ง„ ๋ชจ๋ธ...

Read

Tensorflow.js - 06. What is Transfer Learning

`toc tight: true, from-heading: 1 to-heading: 3 ` # ์ „์ด ํ•™์Šต์ด๋ž€ ๋ฌด์—‡์ธ๊ฐ€? ์ •๊ตํ•œ ๋”ฅ๋Ÿฌ๋‹ ๋ชจ๋ธ์€ ์ˆ˜๋ฐฑ๋งŒ๊ฐœ์˜ ํŒŒ๋ผ๋ฏธํ„ฐ (๊ฐ€์ค‘์น˜)๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ์œผ๋ฉฐ, ์ด๋ฅผ ์ฒ˜์Œ ๋ถ€ํ„ฐ ํ›ˆ๋ จํ•˜๋ ค๋ฉด ์—„์ฒญ๋‚œ ์–‘์˜ ์ปดํ“จํŒ… ์ž์›์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ๊ฐ€ ๋งŽ์Šต๋‹ˆ๋‹ค. ์ „์ดํ•™์Šต์€, ์ด๋ฏธ ๊ด€๋ จ๋œ ์ž‘์—…์— ๋Œ€ํ•ด ํ›ˆ๋ จ๋ฐ›์€ ๋ชจ๋ธ์˜ ํ•œ ๋ถ€๋ถ„์„ ์ทจํ•ด์„œ, ์ƒˆ๋กœ์šด ...

Read

์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ์—์„œ http ์š”์ฒญํ•˜๊ธฐ - fetch์— ๋Œ€ํ•œ ๊ณ ์ฐฐ

`toc tight: true, from-heading: 2 to-heading: 3 ` ## 1. ์„œ๋ก  ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ์—์„œ http ์š”์ฒญ์„ ํ•˜๋Š” ๊ฒƒ์€ ์ด์ œ ๋น„์ผ๋น„์žฌํ•œ ์ผ์ด ๋˜์—ˆ๋‹ค. ์„œ๋ฒ„์—์„œ ๋ชจ๋“  ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์™€์„œ static ํ•œ html์„ ๋งŒ๋“ค์–ด์„œ ๋ณด์—ฌ์ฃผ๊ณ  ์žˆ๋Š” ์›นํŽ˜์ด์ง€๋Š” ์•„๋งˆ ์ฐพ๊ธฐ ์–ด๋ ค์šธ ๊ฒƒ์ด๋‹ค. ๋งจ ์ฒ˜์Œ ์›น์„ ๋ฐฐ์šธ ๋•Œ, jquery์˜ ajax ...

Read

Tensorflow.js - 05. Training and Prediction in Node.js

`toc tight: true, from-heading: 1 to-heading: 3 ` # Training and Prediction in Node.js ๋ณธ ํŠœํ† ๋ฆฌ์–ผ์—์„œ๋Š” MLBAM์—์„œ ์ œ๊ณตํ•˜๋Š” ํ”ผ์ณ ์„ผ์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ, ์•ผ๊ตฌ์˜ ์นญ ์œ ํ˜•์„ ์ถ”์ธกํ•˜๋Š” ๋ชจ๋ธ์„ ๋งŒ๋“ค์–ด๋ณผ ์˜ˆ์ •์ž…๋‹ˆ๋‹ค. ์ด ํŠœํ† ๋ฆฌ์–ผ์€ ์„œ๋ฒ„์‚ฌ์ด๋“œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ธ Node.js์—์„œ ์ง„ํ–‰๋  ...

Read

React count down์—์„œ ๋ฐฐ์šด event-emitter ์™€ requestAnimationFrame

# ๋ฆฌ์•กํŠธ์—์„œ ์นด์šดํŠธ ๋‹ค์šด์„ ๋งŒ๋“ค๋ฉฐ ๋ฐฐ์šด ๊ฒƒ๋“ค ๋ฆฌ์•กํŠธ์—์„œ ์นด์šดํŠธ ๋‹ค์šด์„ ๋งŒ๋“ ๋‹ค๊ณ  ๊ฐ€์ •ํ•ด๋ณด์ž. ๊ฐ€์žฅ ๋จผ์ € ์ƒ๊ฐ๋‚˜๋Š”๋Œ€๋กœ, ๋น ๋ฅด๊ฒŒ ๊ตฌํ˜„ํ•œ๋‹ค๋ฉด ์•„๋ž˜์™€ ๊ฐ™์€ ๋Š๋‚Œ์ด ๋  ๊ฒƒ์ด๋‹ค. https://codepen.io/yceffort/pen/BayPyNe ํ•˜์ง€๋งŒ ์ด ์ฝ”๋“œ๋Š” ํ•œ๊ฐ€์ง€ ๋ฌธ์ œ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ๋‹ค. ## setInterval, setTimeout `setInte...

Read