All Projects → awjuliani → Dfp

awjuliani / Dfp

Reinforcement Learning with Goals

Projects that are alternatives of or similar to Dfp

L2hmc
TensorFlow implementation for training MCMC samplers from the paper: Generalizing Hamiltonian Monte Carlo with Neural Network
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Iminuit
Jupyter-friendly Python interface for C++ MINUIT2
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Image generator
DCGAN image generator 🖼️.
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Marketing Data Science
Analytics and data science business case studies to identify opportunities and inform decisions about products and features. Topics include Markov chains, A/B testing, customer segmentation, and machine learning models (logistic regression, support vector machines, and quadratic discriminant analysis).
Stars: ✭ 171 (-1.16%)
Mutual labels:  jupyter-notebook
Tutorials
This repository contains materials for demos, tutorials, and talks by Dato Inc.
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Manifold Flow
Manifold-learning flows (ℳ-flows)
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
100 Days Of Ml Code
A day to day plan for this challenge. Covers both theoritical and practical aspects
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Deep Math Machine Learning.ai
A blog which talks about machine learning, deep learning algorithms and the Math. and Machine learning algorithms written from scratch.
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Notebooks
Notebooks on how to use Distributed Evolutionary Algorithm in Python (DEAP)
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
18330
18.330 Introduction to Numerical Analysis
Stars: ✭ 171 (-1.16%)
Mutual labels:  jupyter-notebook
Tensorflow 101
中文的 tensorflow tutorial with jupyter notebooks
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Simclr
SimCLRv2 - Big Self-Supervised Models are Strong Semi-Supervised Learners
Stars: ✭ 2,720 (+1472.25%)
Mutual labels:  jupyter-notebook
Weibospider sentimentanalysis
借助Python抓取微博数据,并对抓取的数据进行情绪分析
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Coursera
✅ Solutions to MachineLearning, DeepLearning, NeuralNetwork
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Stata kernel
A Jupyter kernel for Stata. Works with Windows, macOS, and Linux.
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Thai2fit
ULMFit Language Modeling, Text Feature Extraction and Text Classification in Thai Language. Created as part of pyThaiNLP
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Cikm 2019 Analyticup
1st Solution for 2019-CIKM-Analyticup, Efficient and Novel Item Retrieval for Large-scale Online Shopping Recommendation
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Shared
Code and shared files
Stars: ✭ 171 (-1.16%)
Mutual labels:  jupyter-notebook
Personal data science projects
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Malware Misc Re
Miscellaneous Malware RE
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook

Reinforcement Learning with Goals

This repo hosts the code associated with my O'Reilly article, "Reinforcement Learning for Various, Complex Goals, Using TensorFlow," published on DATE.

This the code in this repository contains implementations of Deep Q-Network, and Learning to Act by Predicting the Future.

Requirements and installation

In order to run this notebook, you'll need to install:

There are two easy ways to install these libraries and their dependencies:

Option A: use the provided Dockerfile configured for this notebook

  1. Download and unzip this entire repo from GitHub, either interactively, or by entering

    git clone https://github.com/awjuliani/dfp.git
    
  2. Open your terminal and use cd to navigate into the top directory of the repo on your machine

  3. To build the Dockerfile, enter

    docker build -t dfp_dockerfile -f dockerfile .
    

    If you get a permissions error on running this command, you may need to run it with sudo:

    sudo docker build -t dfp_dockerfile -f dockerfile .
    
  4. Run Docker from the Dockerfile you've just built

    docker run -it -p 8888:8888 -p 6006:6006 dfp_dockerfile bash
    

    or

    sudo docker run -it -p 8888:8888 -p 6006:6006 dfp_dockerfile bash
    

    if you run into permission problems.

  5. Launch Jupyter and Tensorboard both by using tmux

    tmux
    
    jupyter notebook
    

    CTL+B, C to open a new tmux window, then

    cd './dfp'
    tensorboard --logdir=worker_0:'./train_0',...worker_n:'./train_n'
    

    Where n depends on number of workers used in async training.

    Once both jupyter and tensorboard are running, using your browser, navigate to the URLs shown in the terminal output (usually http://localhost:8888/ for Jupyter Notebook and http://localhost:6006/ for Tensorboard)

Option B: install Anaconda Python, TensorFlow, and other requirements

NumPy can be tricky to install manually, so we recommend using the managed Anaconda Python distribution, which includes NumPy, Matplotlib, and Jupyter in a single installation. The Docker-based method above is much easier, but if you have a compatible NVIDIA GPU, manual installation makes it possible to use GPU acceleration to speed up training.

  1. Follow the installation instructions for Anaconda Python. We recommend using Python 3.6.

  2. Follow the platform-specific TensorFlow installation instructions. Be sure to follow the "Installing with Anaconda" process, and create a Conda environment named tensorflow.

  3. If you aren't still inside your Conda TensorFlow environment, enter it by typing

    source activate tensorflow
    
  4. Install other requirements by entering

    pip install requirements.txt
    
  5. Download and unzip this entire repo from GitHub, either interactively, or by entering

    git clone https://github.com/awjuliani/dfp.git
    
  6. Use cd to navigate into the top directory of the repo on your machine

  7. Launch Jupyter and Tensorboard both by using tmux

    tmux
    
    jupyter notebook
    

    CTL+B, C to open a new tmux window, then

    cd './dfp'
    tensorboard --logdir=worker_0:'./train_0',...worker_n:'./train_n'
    

    Where n depends on number of workers used in async training.

    Once both jupyter and tensorboard are running, using your browser, navigate to the URLs shown in the terminal output (usually http://localhost:8888/ for Jupyter Notebook and http://localhost:6006/ for Tensorboard)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].