Skip to content

Instantly share code, notes, and snippets.

View loicmarie's full-sized avatar

Loïc MARIE loicmarie

  • Nancy, France
View GitHub Profile
@loicmarie
loicmarie / fen-image-generator.ts
Created February 10, 2021 14:22
Create SVG image from FEN chess position with D3 and JSDOM
import { JSDOM } from 'jsdom'
import * as d3 from 'd3'
import * as fs from 'fs'
import { Chess } from 'chess.js'
const size = 360
export class FenImgGenerator {
chess: InstanceType<typeof Chess>
svg: any
@loicmarie
loicmarie / CartPole_v1_DQN_Solver.ipynb
Created August 26, 2017 20:06
CartPole v0 Deep Q-Network Solver in Python (reward: 489.76 ± 4.38)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@loicmarie
loicmarie / CartPole_v0_DQN_Solver.ipynb
Created August 26, 2017 16:18
CartPole v0 Deep Q-Network Solver in Python (reward: 199.74 ± 0.23)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@loicmarie
loicmarie / FrozenLake_QLearning_NN_Solver.ipynb
Created August 25, 2017 16:13
FrozenLake Q-Learning with Neural Network Solver in Python (score: 0.87 ± 0.04)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@loicmarie
loicmarie / FrozenLake_QLearning_Solver.ipynb
Last active August 25, 2017 14:33
FrozenLake Q-Learning Solver in Python (score: 0.89 ± 0.03)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.