logo
Menu

Hot Dog or Not Hot Dog | S02 E13 | Build On Weekly

The classic Machine Learning problem, is a thing a Hot Dog or is it not? We try to answer that question, sort of...

Jacquie Grindrod
Jacquie Grindrod
Amazon Employee
Darko Mesaros
Darko Mesaros
Amazon Employee
Published Mar 31, 2023

Jacquie and Darko replying to a chat message

In today’s episode, Jacquie and Darko do the tried and tested “Hello World” of Machine Learning - trying to see if a thing is a Hot Dog 🌭 or Not a Hot Dog 🚫 🌭. Ultimately we were slightly better than a Coin Toss, but we had fun doing it. Oh, and check out our code in the gists below, and see if you can make it better!

Excited to begin work with our first Machine Learning model we leveraged this Tutorial that uses Tensorflow and Keras and we downloaded our Hot Dog Image data set from Kaggle. We then put together our first version of the code which you can find in this gist hotdog.py.

🤔 Our first model was only as accurate as a coin toss so we knew we needed some work. Who better to help us improve our model than another model... ChatGPT! We asked it to improve our code and it suggested using Data Augmentation, Fine-Tuning and more. These suggestions sounded great to us so of course we asked it to add the suggestions in to our code. We then received this ChatGPT Improved Code which performed marginally better than a coin flip.

By the end of the stream we can confidently say we had fun while learning and you can check out the Stream Recording here.

Our challenge to you, should you choose to accept? Improve the code, beat chatGPT and get a shout-out on our stream!

Check out the VOD from today's episode 👇:

🐦 Reach out to the hosts and guests:

Jacquie: https://twitter.com/devopsjacquie Darko: https://twitter.com/darkosubotica