Edward depends on
Installing edward
by default also installs numpy
and six
if they are unavailable (or out-of-date).
Installing edward
does not automatically install or update TensorFlow. We recommend installing it via
pip install tensorflow
To use Edward with GPUs, install tensorflow-gpu
instead of tensorflow
as
pip install tensorflow-gpu
See TensorFlow’s installation instructions for details, including how to set up NVIDIA software for TensorFlow with GPUs.
Edward has optional features that depend on external packages.
pip install observations
Observations lets you load an extensive collection of data sets with minimal effort under a one-line interface. Observations was originally developed for Edward and it has since become a standalone library for general machine learning.
tf.layers
, Keras (>=1.0)
pip install keras==2.0.4
and TensorFlow Slim (native in TensorFlow).
Note that for Keras 2.0.5 and beyond, all neural net layer transformations cannot be directly applied on random variables anymore. For example, if x
is a ed.RandomVariable
object, one must call tf.convert_to_tensor
before applying it to a layer transformation, Dense(256)(tf.convert_to_tensor(x))
. See here for more details.
pip install jupyter
pip install matplotlib
pip install pillow
pip install seaborn