Neural Network with Clothing Classification Example

<p>Data scientists use neural networks as a tool to analyze photos and images. A neural network is a machine learning tool used to analyze images. It tries to focus on essential features of an image and determine a value or class to it. In this case, we will go through an example of classifying clothes.</p> <h1>Description</h1> <p>The dataset used in this example is available through TensorFlow. The code for this page was used as I went through a&nbsp;<em>Coursera</em>&nbsp;course&nbsp;<em>Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning</em>. The code is in Python.</p> <h1>Code</h1> <p><strong>Import Packages</strong></p> <pre> #Import packages import tensorflow as tf import numpy as np import matplotlib.pyplot as plt</pre> <p>The main package used in this code is TensorFlow.</p> <p><strong>Read in the Data</strong></p> <p>The dataset is available in the TensorFlow package.</p> <pre> #Read in the data df = tf.keras.datasets.fashion_mnist #Dataset include images of fashion clothing</pre> <p><strong>Load Training and Test Datasets</strong></p> <p>Load the data into training and test data. The data has the images and the corresponding labels for the clothing items.</p> <p><a href="https://medium.com/@jason_the_data_scientist/neural-network-with-clothing-classification-example-71297389d53c">Read More</a></p>