Thanksgiving Sale: 15% Off on All Courses | Use Coupon THANKS15 During Checkout | Offer Expires In

  Enroll Now

Importing the Modules

Let us start by importing the necessary modules.

INSTRUCTIONS
  • Import numpy as np.

    import << your code comes here >> as << your code comes here >>
    
  • Import tensorflow as tf and check the version of tensorflow.

    import << your code comes here >> as << your code comes here >>
    print("Tensorflow version", tf.__version__)
    
  • Import keras from tensorflow and check the version of keras.

    from tensorflow import << your code comes here >>
    print("Keras version", <<your code comes here >>)
    
  • Import matplotlib.pyplot as plt.

    import  << your code comes here >> as << your code comes here >>
    
  • Set the random seed for tf and np so as to reuse same set of random variables and reproduce the results.

    np.random.seed(42) 
    tf.random.set_seed(42)
    

No hints are availble for this assesment

Answer is not availble for this assesment


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...