Git Product home page Git Product logo

youtube-code-repository's Introduction

Youtube-Code-Repository

Repository for all the code from my youtube channel You can find me at https://youtube.com/MachineLearningWithPhil

Kaggle/Venus-Volcanoes

My crude implementation of a convolutional neural network to perform image classification on data gathered
by the Magellan spacecraft. The data is horribly skewed, as most images do not contain a volcano.
This means we'll have to do some creative data engineering for our model training.
Please note that in the test set, 84.1% of the data is "no volcano", and our model returns
an accuracy of around 88%, which is better than a model that outputs straight 0s for predictions.

You can check out the video for this at https://youtu.be/Ki-xOKydQrY
You can find the data for this project at https://www.kaggle.com/fmena14/volcanoesvenus/home

ReinforcementLearning/DeepQLearning

My implementation of the Deep Q learning algorithm in PyTorch. Here we teach the algorithm to play the game of space invaders. I haven't had enough time to train this model yet, as it takes quite some time even on my 1080Ti / i7 7820k @ 4.4 GHz. I'll train longer and provide a video on how well it does, at a later time.

The blog post talking about how Deep Q learning works can be found at http://www.neuralnet.ai/coding-a-deep-q-network-in-pytorch/
Video for this is at https://www.youtube.com/watch?v=RfNxXlO6BiA&t=2s

CNN.py

Simple implementation of a convolutional neural network in TensorFlow, version 1.5.
Video tutorial on this code can be found here https://youtu.be/azFyHS0odcM
Achieves accuracy of 98% after 10 epochs of training
Requires data from http://yann.lecun.com/exdb/mnist/

ReinforcementLearning/blackJack-no-es.py

Implementation of Monte Carlo control without exploring starts in the blackjack environment from the OpenAI gym.
Video tutorial on this code can be found at https://youtu.be/e8ofon3sg8E
Algorithm trains for 1,000,000 games and produces a win rate of around 42%, loss rate of 52% and draw rate of 6%

ReinforcementLearning/blackJack-off-policy.py

Implementation of off policy Monte Carlo control in the blackjack environment from the OpenAI gym.
Video tutorial on this code can be found at https://youtu.be/TvO0Sa-6UVc
Algorithm trains for 1,000,000 games and produces a win rate of around 29%, loss rate of 66% and draw rate of 5%

ReinforcementLearning/cartpole_qlearning.py

Implementation of the Q learning algorithm for the cart pole problem. Code is based on the course by lazy programmer,
which you can find here here
Video tutorial on this code can be found at https://youtu.be/ViwBAK8Hd7Q

ReinforcementLearning/doubleQLearning.py

Implementation of the double Q learning algorithm in the cart pole environment. This is based on my course on
reinforcement learning, which you can find at this repo
Video tutorial on this code can be found https://youtu.be/Q99bEPStnxk

ReinforcementLearning/sarsa.py

Implementation of the SARSA algorithm in the cart pole environment. This is based on my course on reinforcement learning,
which can be found here
Video tutorial on this code can be found at https://youtu.be/P9XezMuPfLE

youtube-code-repository's People

Contributors

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