I hereby claim:
- I am theeluwin on github.
- I am theeluwin (https://keybase.io/theeluwin) on keybase.
- I have a public key whose fingerprint is 88A8 0956 F830 EF66 35DB 224E DA6B FD1D 9471 C7F1
To claim this, I am signing this object:
| @charset "utf-8"; | |
| @import url("http://fonts.googleapis.com/earlyaccess/notosanskr.css"); | |
| * { | |
| font-family: "Noto Sans KR", "Helvetica Neue", sans-serif; | |
| } | |
| body { | |
| padding-top: 70px; | |
| } |
| cd ~ | |
| mkdir ~/static | |
| mkdir ~/media | |
| mkdir ~/misc | |
| mkdir ~/log | |
| touch ~/log/access.log | |
| touch ~/log/error.log | |
| touch ~/log/uwsgi.log |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function, unicode_literals, division | |
| import sys | |
| import time | |
| def main(duration=600): |
| # -*- coding: utf-8 -*- | |
| from __future__ import division, print_function, unicode_literals | |
| import re | |
| from collections import Counter | |
| from konlpy.tag import Mecab | |
| tagger = Mecab() |
| pip freeze --local | grep -v "^\-e" | cut -d = -f 1 | xargs pip install -U |
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| from korean import hangul | |
| def pull(text): | |
| exploded = [list(hangul.split_char(c)) if hangul.is_hangul(c) else c for c in text] | |
| for i in range(len(exploded)): |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from __future__ import division, print_function, unicode_literals | |
| __author__ = "theeluwin" | |
| __email__ = "[email protected]" | |
| import numpy as np |
| # -*- coding: utf-8 -*- | |
| import numpy as np | |
| import tensorflow as tf | |
| from yellowfin import YFOptimizer | |
| from tensorflow.examples.tutorials.mnist import input_data | |
| def linear(X, fanout, scope=None): |
| from collections import Counter | |
| def F1(precision, recall): | |
| denominator = precision + recall | |
| if not denominator: | |
| return 0 | |
| return 2 * precision * recall / denominator | |