Skip to content

Instantly share code, notes, and snippets.

View kkweon's full-sized avatar

Mo Kweon kkweon

View GitHub Profile
{-|
# Description
- Random Number between 1 and 100 is generated
- User has to guess a number between 1 and 100
- The logic
CASE guess of
Correct ->

Module Loading Test

module ModuleLoadingTest where

import Test.QuickCheck

data Fool = Fulse | Frue deriving (Eq, Show)

foolGen :: Gen Fool

Haskell Presentation

What is a haskell

putStrLn "Hello World"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Haskell Presentation</title>
<meta name="author" content="(Mo Kwoen)"/>
<style type="text/css">
.underline { text-decoration: underline; }
</style>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/reveal.js/3.0.0/css/reveal.css"/>
@kkweon
kkweon / lezhin_event.ipynb
Created August 12, 2017 07:11
레진 데이터 챌린지 with 파이콘 한국 2017
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kkweon
kkweon / image_normalization.ipynb
Created June 25, 2017 22:01
Image Normalization (Featurewise vs Samplewise)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kkweon
kkweon / .gitignore
Last active June 24, 2017 11:46
NaiveBayes Simple Implementation. Dataset can be downloaded http://www.cs.cornell.edu/People/pabo/movie-review-data/
datasets
###Python###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
@kkweon
kkweon / knn_code_review.ipynb
Created June 10, 2017 20:28
KNN Code Review
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kkweon
kkweon / DQN_PyTorch.py
Created June 8, 2017 22:18
PyTorch DQN implementation
"""
DQN in PyTorch
"""
import argparse
import torch
import torch.nn
import numpy as np
import random
import gym