Skip to content

Instantly share code, notes, and snippets.

View jaycode's full-sized avatar

Jay jaycode

View GitHub Profile
@ctmakro
ctmakro / ddpg.py
Created January 14, 2017 08:03
Deep Deterministic Policy Gradient
from __future__ import print_function
# Deep Deterministic Policy Gradient Method
# David Silver et al.
# implemented in plain Keras, by Qin Yongliang
# 2017 01 13
'''
summary
@hrldcpr
hrldcpr / tree.md
Last active May 1, 2024 00:11
one-line tree in python

One-line Tree in Python

Using Python's built-in defaultdict we can easily define a tree data structure:

def tree(): return defaultdict(tree)

That's it!