Fastai Bag of Tricks —Experiments with a Kaggle Dataset

Fastai Bag of Tricks —Experiments with a Kaggle Dataset

In this article, I’m going to explain my experiments with the Kaggle dataset “Chest X-ray Images (Pneumonia)” and how I tackled different problems in this journey which led to getting the perfect accuracy on the validation set and test sets.

In this article, I’m going to explain my experiments with the Kaggle dataset “Chest X-ray Images (Pneumonia)” and how I tackled different problems in this journey which led to getting the perfect accuracy on the validation set and test sets. My goal is to show you the different tricks you can easily use with the help of fastai (v2) and to share my experiments with this dataset as a kind of ablation study. I assume that you know the basics of deep learning and are familiar with DL frameworks for python, especially PyTorch and fastai. So let’s get started.

Image for post

Photo from Kaggle

Downloading The Dataset

You can easily get your hands on the dataset by the following commands. Before that, you need to make a Kaggle account in case you don’t have one yet and use your own API Token info to run the code.

!pip install kaggle

    import os
    os.environ['KAGGLE_USERNAME'] = "xxxxxx"
    os.environ['KAGGLE_KEY'] = "xxxxxxx"

    !kaggle datasets download -d paultimothymooney/chest-xray-pneumonia

deeplearing machine-learning fastai artificial-intelligence medicine

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

AI(Artificial Intelligence): The Business Benefits of Machine Learning

Enroll now at CETPA, the best Institute in India for Artificial Intelligence Online Training Course and Certification for students & working professionals & avail 50% instant discount.

Learning in Artificial Intelligence - Great Learning

What is Artificial Intelligence (AI)? AI is the ability of a machine to think like human, learn and perform tasks like a human. Know the future of AI, Examples of AI and who provides the course of Artificial Intelligence?

Artificial Intelligence, Machine Learning, Deep Learning 

Artificial Intelligence (AI) will and is currently taking over an important role in our lives — not necessarily through intelligent robots.

How To Get Started With Machine Learning With The Right Mindset

You got intrigued by the machine learning world and wanted to get started as soon as possible, read all the articles, watched all the videos, but still isn’t sure about where to start, welcome to the club.

Artificial Intelligence vs. Machine Learning vs. Deep Learning

Artificial Intelligence vs. Machine Learning vs. Deep Learning. We are going to discuss we difference between Artificial Intelligence, Machine Learning, and Deep Learning