Installation

Installing Anaconda Bundle
  • Installing Anaconda is straight forward.
    • Download the Bundle from https://www.anaconda.com/ which suits your envirnment.
    • Install the bundle
Setting up Conda Environment 
  • Open Anaconda Prompt
  • Create a new Conda environment by running following commands
    • Conda create -n tensorflow
  • Activate tensor flow environment with following command
    • Conda activate tensorflow
  • Screenshot of execution of above commands
  • Next once tensorflow environment is installed and activated we need to install keras,pandas and jupyter notebook using commands listed below.
    • Conda install keras
    • Conda install pandas
    • Conda install jupyter notebook
  • Once the jupyter notebook is installed we need to launch jupyter notebook using below command.
    • jupyter notebook
    • Notebook opens in a new browser.
    • On the right side click on New=>python 3
    • This will open a new python 3 notebook
    • Click on file=>save and save as Demo
    • The file will be saved as Demo.ipynb into your root directory
      • This is the directory which shows up when you launch jupyter
  • Run the following code in the notebook
Demo.ipynb
 import numpy as np  
 np.random.seed(42)  
 import keras  
 from keras.datasets import mnist  
 from keras.models import Sequential  
 from keras.layers import Dense  
 from keras.optimizers import SGD  

If no error message is displayed you are ready to go.

Comments

Popular posts from this blog