useEffect 실수 바로잡기
찾아보거나 알게된 배경 React를 쓰다 보면 자연스럽게 useEffect를 남발하게 된다. 실제로 React를 처음 배울 때 상태 관리와 흐름에 익숙하지 않게 되고, 뭔가 상태가 내 마음대로 바뀌지 않을 때 useEffect를 사용하게 된다. 그리고 그렇게 짜게되면, 대개 잘 돌아가는 것처럼 보이기 일쑤이다. 사실 AI 시대에 이걸 이해하지 않고...
찾아보거나 알게된 배경 React를 쓰다 보면 자연스럽게 useEffect를 남발하게 된다. 실제로 React를 처음 배울 때 상태 관리와 흐름에 익숙하지 않게 되고, 뭔가 상태가 내 마음대로 바뀌지 않을 때 useEffect를 사용하게 된다. 그리고 그렇게 짜게되면, 대개 잘 돌아가는 것처럼 보이기 일쑤이다. 사실 AI 시대에 이걸 이해하지 않고...
Pretraining Text $\rightarrow$ Text model 1~3% unstructured data Transformer 사용방법 ↳ Encoder ↳ Decoder ↳...
Foundation Model ↳ Trained on vast data (by self-supervised learning) Adaptable to downstream task Ex) CLIP Text encoder $\rightarrow$ [ ] $\leftarrow$ Imag...
Controlling the Generation Process Can we control the generation process? $P(x)$ $\downarrow$ Inverse distribution: $P(x y)$ ...
Main NCSN! Key challenge for building complex gen-models $x \rightarrow \prod_{A}f_{\theta}(x) \rightarrow O \rightarrow e^{f_{\theta}(x)} \rightarrow O = \frac{e^{f_{\theta}(x)}}{Z_\thet...
Recall: Deep Generative Models Likelihood-based ① Autoregressive model ② VAE ③ Flow based model Diffusion model (score-based) Likelihood free GAN ...
1. Introduction Deep generative models $\hookrightarrow$ Likelihood-based Autoregre...
1. Introduction Encoder & Decoder Efficient representation of input. Encoder: Input $\rightarrow$ Summarizer ($W_{enc}$) $\rightarrow$ $h$. ...
1. Introduction Discriminative vs. Generative models Goal: Learn function $f$ to map $x \rightarrow y$. Di...
Definition The science of analytical reasoning faciliated by interactive. visual interfaces. Visual Analysis The procedure in which analysts make reasonings Visual Analytics The system,...