Double Q-learning with experience replay on CartPole-v0 using Keras. See algorithm on CartPole-v0. Code available here.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import os | |
import numpy as np | |
def sparkline(data, endpoints=False, ci=True): | |
d = data.Mean_TemperatureC.values | |
r = [-12, 31] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{booktabs} | |
\usepackage{sparklines} | |
\usepackage[labelfont=bf]{caption} | |
\usepackage{fontspec} | |
\setmainfont{Myriad Pro} | |
\usepackage{multirow} | |
%dashed line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[varwidth=\maxdimen]{standalone} | |
\input{includes/macros} | |
\begin{document} | |
\begin{table} | |
\centering | |
\noindent\begin{minipage}{10cm} | |
\caption{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua.} | |
\end{minipage} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
try: | |
from BeautifulSoup import BeautifulSoup | |
except ImportError: | |
from bs4 import BeautifulSoup | |
import requests | |
from pathlib import Path | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This work was partially supported by the Wallenberg AI, Autonomous Systems and Software Program (WASP) funded by the Knut and Alice Wallenberg Foundation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from util import logger | |
if __name__ == "__main__": | |
logger.info("Main just started") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[11pt]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage{graphicx} | |
\usepackage{subfig} | |
\begin{document} | |
\begin{figure}[!ht] | |
\centering | |
\caption{Caption superior.} |
I hereby claim:
- I am martisak on github.
- I am martisak (https://keybase.io/martisak) on keybase.
- I have a public key whose fingerprint is D177 6FBA F943 270B 8D0B 25A4 319A 8541 83E5 FD61
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h: \[\e[33m\]\w\[\e[0m\]\n\$ ' | |
export WORKON_HOME=~/.virtualenvs | |
export PROJECT_HOME=$HOME/devel | |
mkdir -p $WORKON_HOME | |
source /usr/local/bin/virtualenvwrapper.sh | |
render() { docker run --rm -it -v`pwd`:/data martisak/reproducibleresearch make -C /data $@; } |
NewerOlder