How to tune hyperparameters with Python and scikit-learn
In last week’s post, I introduced the k-NN machine learning algorithm which we then applied to the task of image classification. Using the k-NN algorithm, we obtained 57.58% classification accuracy on...
View ArticleAn intro to linear classification with Python
Over the past few weeks, we’ve started to learn more and more about machine learning and the role it plays in computer vision, image classification, and deep learning. We’ve seen how Convolutional...
View ArticleMulti-class SVM Loss
A couple weeks ago,we discussed the concepts of both linear classification and parameterized learning. This type of learning allows us to take a set of input data and class labels, and actually learn...
View ArticleSoftmax Classifiers Explained
Last week, we discussed Multi-class SVM loss; specifically, the hinge loss and squared hinge loss functions. A loss function, in the context of Machine Learning and Deep Learning, allows us to...
View ArticleUnderstanding regularization for image classification and machine learning
In previous tutorials, I’ve discussed two important loss functions: Multi-class SVM loss and cross-entropy loss (which we usually refer to in conjunction with Softmax classifiers). In order to to keep...
View ArticleA simple neural network with Python and Keras
Image Source If you’ve been following along with this series of blog posts, then you already know what a huge fan I am of Keras. Keras is a super powerful, easy to use Python library for building...
View ArticleGradient descent with Python
Every relationship has its building blocks. Love. Trust. Mutual respect. Yesterday, I asked my girlfriend of 7.5 years to marry me. She said yes. It was quite literally the happiest day of my life. I...
View ArticleStochastic Gradient Descent (SGD) with Python
In last week’s blog post, we discussed gradient descent, a first-order optimization algorithm that can be used to learn a set of classifier coefficients for parameterized learning. However, the...
View ArticleIntersection over Union (IoU) for object detection
Today’s blog post is inspired from an email I received from Jason, a student at the University of Rochester. Jason is interested in building a custom object detector using the HOG + Linear SVM...
View ArticleImageNet: VGGNet, ResNet, Inception, and Xception with Keras
A few months ago I wrote a tutorial on how to classify images using Convolutional Neural Networks (specifically, VGG16) pre-trained on the ImageNet dataset with Python and the Keras deep learning...
View ArticleAn intro to linear classification with Python
Over the past few weeks, we’ve started to learn more and more about machine learning and the role it plays in computer vision, image classification, and deep learning. We’ve seen how Convolutional...
View ArticleMulti-class SVM Loss
A couple weeks ago,we discussed the concepts of both linear classification and parameterized learning. This type of learning allows us to take a set of input data and class labels, and actually learn...
View ArticleSoftmax Classifiers Explained
Last week, we discussed Multi-class SVM loss; specifically, the hinge loss and squared hinge loss functions. A loss function, in the context of Machine Learning and Deep Learning, allows us to...
View ArticleUnderstanding regularization for image classification and machine learning
In previous tutorials, I’ve discussed two important loss functions: Multi-class SVM loss and cross-entropy loss (which we usually refer to in conjunction with Softmax classifiers). In order to to keep...
View ArticleA simple neural network with Python and Keras
Image Source If you’ve been following along with this series of blog posts, then you already know what a huge fan I am of Keras. Keras is a super powerful, easy to use Python library for building...
View ArticleGradient descent with Python
Every relationship has its building blocks. Love. Trust. Mutual respect. Yesterday, I asked my girlfriend of 7.5 years to marry me. She said yes. It was quite literally the happiest day of my life. I...
View ArticleStochastic Gradient Descent (SGD) with Python
In last week’s blog post, we discussed gradient descent, a first-order optimization algorithm that can be used to learn a set of classifier coefficients for parameterized learning. However, the...
View ArticleIntersection over Union (IoU) for object detection
Today’s blog post is inspired from an email I received from Jason, a student at the University of Rochester. Jason is interested in building a custom object detector using the HOG + Linear SVM...
View ArticleImageNet: VGGNet, ResNet, Inception, and Xception with Keras
A few months ago I wrote a tutorial on how to classify images using Convolutional Neural Networks (specifically, VGG16) pre-trained on the ImageNet dataset with Python and the Keras deep learning...
View ArticleDeep learning on the Raspberry Pi with OpenCV
I’ve received a number of emails from PyImageSearch readers who are interested in performing deep learning in their Raspberry Pi. Most of the questions go something like this: Hey Adrian, thanks for...
View Article