Code Analysis
Code Analysis
ipynb
----------------------------------------
The code demonstrates the use of TensorFlow and Keras to train a CNN model on the Fashion MNIST dat
- The dataset contains 60,000 training and 10,000 testing grayscale images.
- The images are reshaped to (28, 28, 1) to include the channel dimension.
Model Architecture:
- A Conv2D layer with 8 filters, 3x3 kernel, stride of 2, and ReLU activation.
- Adam optimizer and Sparse Categorical Crossentropy loss function are used.
Evaluation:
- The test accuracy is printed after evaluating the model on test data.
------------------------------------
The CIFAR-10 dataset consists of 60,000 32x32 color images in 10 classes. The code demonstrates how t
IMDB Dataset for Text Classification
------------------------------------
The IMDB dataset is used for binary sentiment analysis. The reviews are padded to ensure consistent inpu