Articles About Machine Learning

How to Evaluate Pixel Scaling Methods for Image Classification With CNNs

Last Updated on August 28, 2020 Image data must be prepared before it can be used as the basis for modeling in image classification tasks. One aspect of preparing image data is scaling pixel values, such as normalizing the values to the range 0-1, centering, standardization, and more. How do you choose a good, or even best, pixel scaling method for your image classification or computer vision modeling task? In this tutorial, you will discover how to choose a pixel […]

Read more

How to Calculate Precision, Recall, F1, and More for Deep Learning Models

Last Updated on August 27, 2020 Once you fit a deep learning neural network model, you must evaluate its performance on a test dataset. This is critical, as the reported performance allows you to both choose between candidate models and to communicate to stakeholders about how good the model is at solving the problem. The Keras deep learning API model is very limited in terms of the metrics that you can use to report the model performance. I am frequently […]

Read more

How to Load, Convert, and Save Images With the Keras API

Last Updated on July 5, 2019 The Keras deep learning library provides a sophisticated API for loading, preparing, and augmenting image data. Also included in the API are some undocumented functions that allow you to quickly and easily load, convert, and save image files. These functions can be convenient when getting started on a computer vision deep learning project, allowing you to use the same Keras API initially to inspect and handle image data. In this tutorial, you will discover […]

Read more

How to Normalize, Center, and Standardize Image Pixels in Keras

Last Updated on July 5, 2019 The pixel values in images must be scaled prior to providing the images as input to a deep learning neural network model during the training or evaluation of the model. Traditionally, the images would have to be scaled prior to the development of the model and stored in memory or on disk in the scaled format. An alternative approach is to scale the images using a preferred scaling technique just-in-time during the training or […]

Read more

A Gentle Introduction to Channels-First and Channels-Last Image Formats

Last Updated on September 12, 2019 Color images have height, width, and color channel dimensions. When represented as three-dimensional arrays, the channel dimension for the image data is last by default, but may be moved to be the first dimension, often for performance-tuning reasons. The use of these two “channel ordering formats” and preparing data to meet a specific preferred channel ordering can be confusing to beginners. In this tutorial, you will discover channel ordering formats, how to prepare and […]

Read more

How to Load and Visualize Standard Computer Vision Datasets With Keras

Last Updated on July 5, 2019 It can be convenient to use a standard computer vision dataset when getting started with deep learning methods for computer vision. Standard datasets are often well understood, small, and easy to load. They can provide the basis for testing techniques and reproducing results in order to build confidence with libraries and methods. In this tutorial, you will discover the standard computer vision datasets provided with the Keras deep learning library. After completing this tutorial, […]

Read more

How to Get Started With Deep Learning for Computer Vision (7-Day Mini-Course)

Last Updated on April 2, 2020 Deep Learning for Computer Vision Crash Course.Bring Deep Learning Methods to Your Computer Vision Project in 7 Days. We are awash in digital images from photos, videos, Instagram, YouTube, and increasingly live video streams. Working with image data is hard as it requires drawing upon knowledge from diverse domains such as digital signal processing, machine learning, statistical methods, and these days, deep learning. Deep learning methods are out-competing the classical and statistical methods on […]

Read more

How to Load Large Datasets From Directories for Deep Learning in Keras

Last Updated on July 5, 2019 There are conventions for storing and structuring your image dataset on disk in order to make it fast and efficient to load and when training and evaluating deep learning models. Once structured, you can use tools like the ImageDataGenerator class in the Keras deep learning library to automatically load your train, test, and validation datasets. In addition, the generator will progressively load the images in your dataset, allowing you to work with both small […]

Read more

How to Configure Image Data Augmentation in Keras

Last Updated on July 5, 2019 Image data augmentation is a technique that can be used to artificially expand the size of a training dataset by creating modified versions of images in the dataset. Training deep learning neural network models on more data can result in more skillful models, and the augmentation techniques can create variations of the images that can improve the ability of the fit models to generalize what they have learned to new images. The Keras deep […]

Read more

How to Use Test-Time Augmentation to Make Better Predictions

Last Updated on April 3, 2020 Data augmentation is a technique often used to improve performance and reduce generalization error when training neural network models for computer vision problems. The image data augmentation technique can also be applied when making predictions with a fit model in order to allow the model to make predictions for multiple different versions of each image in the test dataset. The predictions on the augmented images can be averaged, which can result in better predictive […]

Read more
1 191 192 193 194 195 226