5,332
edits
Line 1,869: | Line 1,869: | ||
* Define prototypes (cluster centers) | * Define prototypes (cluster centers) | ||
** <math>c_k = \frac{1}{|D_i^{tr}|} \sum_{(x,y) \in S_k} f_{\theta}(x)</math> | ** <math>c_k = \frac{1}{|D_i^{tr}|} \sum_{(x,y) \in S_k} f_{\theta}(x)</math> | ||
** <math>P_{\theta | ** <math>P_{\theta}(y=k|x) = \frac{\exp(-d(f_{\theta}(x), c_k))}{\sum_{k'} \exp(-d(f_{\theta}(x), c_k))}</math> | ||
4: <math>A</math> is a black box (e.g. LSTM). | 4: <math>A</math> is a black box (e.g. LSTM). |