Coder Social home page Coder Social logo

ogunfool / hyperparameteroptimizationand-selection Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 1.8 MB

Examining the effect of hyperparameters and Exploring the relationship between hyperparameters through experimentation: Building, Training, and Tuning an Image Classification Model with TensorFlow and PyTorch – A CIFAR-10 dataset Use case.

Jupyter Notebook 100.00%
cifar10 cnn-model hyperparameter-optimization hyperparameter-tuning tensorflow transfer-learning

hyperparameteroptimizationand-selection's Introduction

Examining-the-effect-of-hyperparameters-and-Exploring-the-relationship-between-hyperparameters.

Examining the effect of hyperparameters and Exploring the relationship between hyperparameters through experimentation: Building, Training, and Tuning an Image Classification Model with TensorFlow and PyTorch – A CIFAR-10 dataset Use case.

  1. This notebook contains an introduction to the CIFAR-10 dataset for image classification, and shows how to build, train, and tune a model for image classification with TensorFlow from scratch with an emphasis on understanding the effect of different hyperparameters and their relationships through experimentation.
  2. It introduces training with GPU and checks to confirm that TensorFlow is connected to your device’s GPU.
  3. It introduces different ways of loading data in TensorFlow and building input data pipelines: Generate TensorFlow datasets, shuffle, batch, and prefetch for efficient data loading during training.
  4. Introduces the Keras image pre-processing layers.
  5. Building and choosing a baseline model to be improved upon.
  6. Building convolutional neural network models with different layers like the dropout layers, batch normalization layers, maxpooling layers, flattening layers, activation layers, convolution layers, choice of activation functions, loss functions, and optimizers.
  7. Discusses overfitting and underfitting; the signs of overfitting and underfitting using learning plots and how to solve them.
  8. Examining the effect of hyperparameters and exploring the relationship between hyperparameters through experimentation Hyperparameter choice and introduction of Keras tuner for hyperparameter tuning.
  9. A pytorch implementation of the final tuned model is also developed.
  10. Finally, the TensorFlow resnet model is implemented to achieve a validation accuracy of over 90% on the CIFAR-10 dataset.

hyperparameteroptimizationand-selection's People

Contributors

ogunfool avatar

Watchers

 avatar

Forkers

wolanski

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.