Classifying Images with PyTorch

Posted by Jack McKew on Mon 26 February 2024 in Python • Tagged with python, visualisation, machine learning, ai • 9 min read

Neural networks are something you hear about constantly in the world of machine learning, so in this post we're going to build, train and test a neural network to classify images with PyTorch! We will be using the CIFAR-10 dataset (CIFAR stands for Canadian Institute for Advanced Research), and it's …


Continue reading

Recurrent Neural Networks with PyTorch

Posted by Jack McKew on Wed 07 February 2024 in Python • Tagged with python, visualisation, machine learning, ai • 11 min read

Weather affects every single human on earth for the better or worse, and we've come to rely on weather predictions in order to plan how we spend our day. But how can we predict the weather? In this post we're going to develop a machine learning model with recurrent neural …


Continue reading

Combining Machine Learning Models in Python

Posted by Jack McKew on Thu 21 September 2023 in Python • Tagged with python, visualisation, machine learning, ai • 3 min read

Now that we've built & trained logistic regression and decision tree models to classify the iris dataset in these previous posts:

We found that they were both really good in their own regard (potentially overfitting), but what if we had two models …


Continue reading

Decision Tree Classifiers in Python

Posted by Jack McKew on Tue 15 August 2023 in Python • Tagged with python, visualisation, machine learning, ai • 1857 min read

What are decision trees? It's a tool to assist with making decisions, in a tree like structure, similar to a flow chart; where each branch of the tree is a decision, usually made with some boundaries that decide which branch to follow. A basic decision tree could be of a …


Continue reading

Logistic Regression with PyTorch

Posted by Jack McKew on Sun 06 August 2023 in Python • Tagged with python, visualisation, machine learning, ai • 17 min read

In this post we'll go through a few things typical for any project using machine learning:

  1. Data exploration & analysis
  2. Build a model
  3. Train the model
  4. Evaluate the model

While this is a very high level overview of what we're about to do. This process is almost the same in any …


Continue reading

Hands On Machine Learning Chapter 3

Posted by Jack McKew on Sat 12 October 2019 in Machine Learning • Tagged with machinelearning, ai, python • 3 min read

Chapter 3 is focusing in on classification systems. As brought up earlier, most common supervised machine learning tasks are regression (predicting values) and classification (predicting classes). This chapter goes through the 'Hello World' of classification tasks, the MNIST dataset. The MNIST dataset is a set of 70,000 images of …


Continue reading

Episode 14 - Types of Machine Learning

Posted by Jack McKew on Fri 22 February 2019 in Machine Learning • Tagged with machinelearning, ai • 2 min read

With AI and Machine Learning becoming the buzzwords in technology for 2018 and the real world applications now maturing to show the benefits of this technology. It can be very confusing when first entering the world of AI and machine learning with new techniques coming out every other day in …


Continue reading