Project - Autoencoders for MNIST Fashion

1 / 6

Importing the Modules

  • Let us begin by importing the modules.
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 >>
    
  • Import sklearn.

    import << your code comes here >>
    
  • Set the random seed:

    np.random.seed(42)
    tf.random.set_seed(42)
    
  • Import matplotlib.pyplot as plt.

    import << your code comes here >> as << your code comes here >>
    
  • Import matplotlib as mpl.

    import << your code comes here >> as << your code comes here >>
    
  • Set the following for matplotlib figures:

    %matplotlib inline
    mpl.rc('axes', labelsize=14)
    mpl.rc('xtick', labelsize=12)
    mpl.rc('ytick', labelsize=12)
    
Get Hint See Answer


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

Loading comments...