GLMs in TFP on JAX

已查看 45 次
跳至第一个未读帖子

Damian Ndiwago

未读,
2023年4月12日 16:50:212023/4/12
收件人 TensorFlow Probability
Hello, are GLMs (Generalized Linear Models) available in TFP (TensorFlow Probability) on JAX? Thank you in advance.

Regards, 
Damian

Brian Patton 🚀

未读,
2023年4月12日 17:56:072023/4/12
收件人 Damian Ndiwago、TensorFlow Probability
I believe they should be, under tfp.glm.

--
You received this message because you are subscribed to the Google Groups "TensorFlow Probability" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tfprobabilit...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tfprobability/CAJ-t0BDi5shXwoPJ%3DgkZi0io23cEwpLziPEXsOeMwVuczBODhQ%40mail.gmail.com.

Damian Ndiwago

未读,
2023年4月13日 03:44:562023/4/13
收件人 Brian Patton 🚀、TensorFlow Probability
Thank you for the response, but I get this error when I use the help function.

import jax.numpy as jnp
from tensorflow_probability.python.internal.backend.jax.compat import v2 as tf
import tensorflow_probability.substrates.jax as tfp

help(tfp.glm)
# %%
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in line 6
96 from tensorflow_probability.python.internal.backend.jax.compat import v2 as tf
97 import tensorflow_probability.substrates.jax as tfp
----> 99 help(tfp.glm)


Regards,
Damian

Brian Patton 🚀

未读,
2023年4月13日 10:39:202023/4/13
收件人 Damian Ndiwago、TensorFlow Probability
I guess we never ported glm to JAX. I can take a look, it's probably not very hard to do.


Brian Patton | Software Engineer | b...@google.com



Damian Ndiwago

未读,
2023年4月14日 11:55:452023/4/14
收件人 Brian Patton 🚀、TensorFlow Probability
Thank you for the response.

Degards,
Damian

Brian Patton 🚀

未读,
2023年4月14日 17:26:502023/4/14
收件人 Damian Ndiwago、TensorFlow Probability

Damian Ndiwago

未读,
2023年4月16日 16:20:012023/4/16
收件人 Brian Patton 🚀、TensorFlow Probability
Thank you so much.

Regards,
Damian
回复全部
回复作者
转发
0 个新帖子