February 2020
Intermediate to advanced
328 pages
8h 19m
English
You will need the tensorflow library installed to continue with this recipe. You can install it using the following command:
install.packages("tensorflow")
After installing the package, load it into your environment:
library(tensorflow)
Executing the two preceding code blocks doesn't install tensorflow completely. Here, we need to use the install_tensorflow() function to install TensorFlow, as shown in the following code block:
install_tensorflow()
TensorFlow installation in R needs a Python environment with the tensorflow library installed in it. The install_tensorflow() function attempts to create an isolated python environment called r-tensorflow by default and installs tensorflow in it. It takes different values for the ...
Read now
Unlock full access