[QUESTION] KL divergence formula for the regularizer layer needs explication
Abierto
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 30k
- Forks
- 13.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hi @ageron ,
cell n°44 @ https://github.com/ageron/handson-ml2/blob/master/17_autoencoders_and_gans.ipynb,
you build a KLDivergence Layer,
but the formula you use is little difficult to understand at least for me,
Why
```
kl_divergence(self.target, mean_activities) +
kl_divergence(1. - self.target, 1. - mean_activities)
```
?
and not simply
`kl_divergence(self.target, mean_activities)`
?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.