Giter Club home page Giter Club logo

interview's Introduction

CS50 AI Project 5 traffic

Author: Pekka Iso-Markku

\

Project involves the creation of a sequential DL model to classify images of road signs.

\

Part 1: load_data() function

\

Part 2: get_model() function

\

A problem I encountered was the number of samples used in the model.fit stage. For example:

\

Epoch 10/10

583/583 [==============================] - 5s 9ms/step - loss: 0.0165

  • accuracy: 0.9950

\

Above is terminal output where one can see that the number of samples in the training data is 583 (0.7/0.3 train test split) even though the number of samples in the whole data set is >25k.

\

I've checked both functions whether there is an issue somewhere, for instance using len(labels), but I always see that the amounts are correct. Do not know what is the issue here.

\

I started off using one Conv-Pool layer with number of channels in the conv-layer set to 32. Also, inspired by the lecture notes I right away included a hidden layer and Dropout.

\

After tinkering around with the number of channels I got the best results with Conv-Conv-Pool Conv-Pool with a drop-out of 0.5 to prevent overfitting.[ย ]{.Apple-converted-space}

\

Model performed with .9939 accuracy on the test set.

interview's People

Contributors

isoyangyang avatar

Watchers

 avatar

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.