Project - How to Build a Sentiment Classifier using Python and IMDB Reviews

You are currently auditing this course.
2 / 11

Importing the Modules

Let us begin by importing the necessary modules, and setting the random seed so as to get reproducible results.

INSTRUCTIONS
  • Import numpy as np.

     import << your code comes here >> as  << your code comes here >>
    
  • Import tensorflow as tf.

    import << your code comes here >> as  << your code comes here >>
    
  • Import keras from tensorflow.

    from  << your code comes here >> import  << your code comes here >>
    
  • Set tensorflow seed:

    tf.random.set_seed(42)
    
Get Hint See Answer

Loading comments...