Mla 3
Mla 3
REPORT
HOMEWORK 3
Machine Learning Algorithms
(work name)
Display Sample Images: Some sample images from the dataset are
displayed using matplotlib for visualization purposes.
- The training images are reshaped into a 2D array where each row
represents a flattened image (28x28 = 784 pixels).
Standardize Features:
Visualize Clusters:
- Scatter plot is created where each point represents a data point in the
reduced 2D space.
- The title of the plot includes the number of clusters and the number of
noisy points.
- The number of clusters and the number of noisy points (outliers) are
printed.
3. Code
4. Conclusion:
Clustering algorithms like K-Means offer valuable insights into the
MNIST dataset, aiding in digit recognition and classification tasks. PCA
effectively reduces dimensionality for visualization. Our analysis reveals
distinct digit clusters and robust handling of outliers. Future research
could explore parameter tuning and alternative algorithms for improved
performance.