Giter Site home page Giter Site logo

baesyan-opt-test's Introduction

Implementation of Bayesian Optimization to find the optimal learning rate of a deep neural network (CV)

Brief description

  • Here I have implemented two solutions
  • The code, results and figures are presented in the corresponding sections.
  • Note that the presented solution is only a simple but working solution, it does not provide the best optimal learning rate, since it uses one learning epoch for the ResNet model.

Full task description

Objective: Find the optimal learning rate of a deep neural network for CV Optimizer:

  • Implement Bayesian Optimization (BO) as a global optimization approach

    • use a Gaussian Process as a predictive model (you can use any existing GP library)
    • implement expected improvement (EI) as an acquisition function
    • use an optimization budget of 10 function evaluations
  • For the deep neural network, please follow the specifications below:

    • A rather small ResNet (details can be chosen by you, but you should implement it on your own)
    • Optimizer: SGD
    • Deep learning framework: PyTorch or JAX
    • Dataset: Fashion-MNIST
  • Plotting:

    • Starting with the second iteration of Bayesian Optimization, plot all observations, the posterior mean, the uncertainty estimate, and the acquisition function after each iteration.
    • See here for an exemplary plot (on a different task): link
  • Programming language: Python; minimal coding standards:

    • PEP8
    • Doc-Strings
    • README with instructions how to run it

baesyan-opt-test's People

Contributors

ellariel avatar

Watchers

 avatar  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.