Git Product home page Git Product logo

a-dossari / build_model_with_google_automl Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.05 MB

This project is one of the projects required for AI for Business Nanodegree

artificial-intelligence artificial-neural-networks artificial-intelligence-algorithms deep-learning deep-neural-networks deep-learning-algorithms convolutional-neural-networks cnn-classification medical-imaging google-automl udacity udacity-nanodegree pneumonia-detection pneumonia-classification

build_model_with_google_automl's Introduction

Build a Model with Google AutoML

Project Overview

In this project, we are going to build the classification model that would serve as the backbone of this product. We will use Google AutoML, an automated machine learning tool that will allow us to build the model and host it in the cloud. In order to appreciate how training data impact models, we will build models with 4 variants of the dataset. This project is designed to test your ability to

  1. build a model using Google's AutoML Vision platform, and
  2. understand how properties of the data impact the performance of models.

The Data

We'll be using Kaggle chest x-ray dataset, which is the same dataset that we used in the previous project, except here, we'll use the original labels supplied with the data on Kaggle.

The Four Parts of the Project

We will train four different models using four variants of the pneumonia dataset. Recall that the dataset contains childrens' chest x-ray images and that they are classified into two classes, normal and pneumonia. The following sections describe the steps you must take to create each model.

  1. Create a binary classifier to detect pneumonia using chest x-rays We'll start by training a model simply using 100 images from the “normal” class and 100 images from the “pneumonia” class.

  2. Create an unbalanced binary classifier Next, use 100 images from the “normal” class, and add 200 more "pneumonia" class images.

At this moment, the total count of images must be:

  • normal class = 100
  • pneumonia class = 300

The model will be trained on very unbalanced classes; this will show you what happens when the number of images in different classes is very different.

  1. Create a binary classifier with dirty data In this iteration, start with the original dataset of 100 "normal" and 100 "pneumonia" images. Then switch the labels of 30 images in each class. After you've done this, 30% of the data is mislabeled.

  2. Create a three-class model with the classes normal, bacterial pneumonia, and viral pneumonia For the final model, note that the pneumonia images actually have two different classes: bacterial pneumonia* and viral pneumonia. These labels are indicated in the image filenames.

For this model, add 100 "normal" images, 100 "bacterial pneumonia" images, and 100 "viral pneumonia" images (for a total of 3 classes).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.