This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### An example of building a TensorFlow model from R using rPython ### | |
| # For this script you need to | |
| # 1. Have python 2.7 installed. | |
| # 2. Install the rPython package in R. | |
| # 3. Install Google's TensorFlow library as per these instructions: | |
| # http://www.tensorflow.org/get_started/os_setup.md#binary_installation | |
| ### Here is how to setup and run a trivial TensorFlow model ### | |
| # Load TensorFlow (I couldn't get this to work without setting sys.argv... ) |