Skip to content

Instantly share code, notes, and snippets.

View wall72's full-sized avatar
💭
Just play !

Cliff W. Lee wall72

💭
Just play !
View GitHub Profile
@serithemage
serithemage / pycaret.ipynb
Last active January 26, 2023 00:55
PyCaret튜토리얼-회귀.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@awjuliani
awjuliani / SimplePolicy.ipynb
Created September 11, 2016 00:20
Policy gradient method for solving n-armed bandit problems.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adambene
adambene / ThreadStateMachine.java
Created August 23, 2016 16:59
state machine example implementation in Java
package com.adambene.gist;
import static com.adambene.gist.ThreadStateMachine.Transition.CREATE;
import static com.adambene.gist.ThreadStateMachine.Transition.FINISH;
import static com.adambene.gist.ThreadStateMachine.Transition.RESUME;
import static com.adambene.gist.ThreadStateMachine.Transition.WAIT;
import java.util.logging.Level;
import java.util.logging.Logger;
@karpathy
karpathy / min-char-rnn.py
Last active May 4, 2024 10:26
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
import akka.actor.IO._
import akka.actor.{Props, IO, IOManager, Actor, ActorSystem}
import akka.event.Logging
import akka.util.ByteString
import java.net.InetSocketAddress
class TCPEchoServer(port: Int) extends Actor {
val log = Logging(context.system, this)
val state = IterateeRef.Map.async[IO.Handle]()(context.dispatcher)
@olasitarska
olasitarska / pgessays.py
Created November 18, 2012 10:11
Builds epub book out of Paul Graham's essays.
# -*- coding: utf-8 -*-
"""
Builds epub book out of Paul Graham's essays: http://paulgraham.com/articles.html
Author: Ola Sitarska <ola@sitarska.com>
Copyright: Licensed under the GPL-3 (http://www.gnu.org/licenses/gpl-3.0.html)
This script requires python-epub-library: http://code.google.com/p/python-epub-builder/
"""