- Introducción
- ¿Qué es TensorFlow?
- Paquete estimtf
- Casos de uso
- Conclusiones
21/09/2021
\[ \Large (5 \times 8) + (8 \times 11) \]
# Importar libreria library(tensorflow) tf$compat$v1$disable_eager_execution() # Construir grafo a <- tf$constant(5.0, dtype = tf$float32) b <- tf$constant(8.0, dtype = tf$float32) c <- tf$constant(11.0, dtype = tf$float32) producto <- tf$multiply(a, b) suma <- tf$add(b, c) resultado <- tf$add(producto, suma) print(resultado)
## Tensor("Add_1:0", shape=(), dtype=float32)
# Crear una sesion de TF y correr el grafo sess <- tf$compat$v1$Session() sess$run(resultado)
## [1] 59
mle_tf( )
mlereg_tf( )
\[ \begin{align*} \boldsymbol{\theta}_{t+1} &= \boldsymbol{\theta}_{t} + \bigtriangleup \boldsymbol{\theta}_{t}\\ \bigtriangleup \boldsymbol{\theta}_{t} &= -\alpha \frac{\partial C(\boldsymbol{\theta}_{t})}{\partial\boldsymbol{\theta}_{t}} \end{align*} \]
mle_tf( ) para estimar los parámetros de algunas distribuciones de probabilidad y modelos de regresión: mle_tf( ) y la función mlereg_tf( ), pretendemos seguir aumentando esta lista de distribuciones.