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

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


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

Loading comments...