Skip to content

Instantly share code, notes, and snippets.

View naturale0's full-sized avatar

Sihyung Park naturale0

View GitHub Profile
@naturale0
naturale0 / citation prediction.ipynb
Last active October 29, 2016 08:41
citation prediction
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@naturale0
naturale0 / KoPre2017.py
Last active April 27, 2017 17:33
2017 대한민국 대선 여론조사 - 네이버 여론조사를 크롤링, 그래프로 간단히 시각화하는 Python class
#coding=utf-8
import re
import requests
import StringIO
import matplotlib as mpl
import matplotlib.pyplot as plt
import matplotlib.font_manager as fm
import pandas as pd
import numpy as np
from bs4 import BeautifulSoup
@naturale0
naturale0 / 2017 대선 지지층 분석.ipynb
Last active April 28, 2017 02:44
2017 대선 지지층 분석
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@naturale0
naturale0 / 2017 대선 후보 지지율 예측.ipynb
Last active May 3, 2017 15:28
시계열 분석을 통한 2017 대선 후보 지지율 예측
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@naturale0
naturale0 / stock_cralwer.py
Created May 6, 2017 14:44
네이버 금융에서 일별 종가를 읽어오는 클래스 (http://estenpark.tistory.com/353 참고 - 이걸 그대로 클래스로 구현함)
## http://estenpark.tistory.com/353 참고 (거의 그대로 가져옴)
import urllib
import time
import sys
from urllib import urlopen
from bs4 import BeautifulSoup
class NaverStockCrawler(object):
"""네이버 금융에서 일별 종가를 읽어오는 클래스"""
@naturale0
naturale0 / 2017 대선 후보 지지율 예측 (회귀).ipynb
Last active May 6, 2017 15:55
회귀 분석을 통한 2017 대선 지지율 예측
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@naturale0
naturale0 / MyGeno.py
Last active May 20, 2017 10:47
Python class which reads and interprets 23andMe raw genotype data. Support searching your genotype and related traits at SNPedia.
import pandas as pd
import requests
import json
import sys
import os
from bs4 import BeautifulSoup
from collections import OrderedDict
class Geno(object):
"""class to reads and interprets 23andMe raw genotype data."""
@naturale0
naturale0 / DxOCrawler.py
Last active November 18, 2020 02:14
Crawl DxOMark Mobile (smartphones camera benchmark) data: https://de-novo.org/2017/12/29/efa로-내게-맞는-스마트폰-카메라-찾기/
import re
import requests
import datetime as dt
from bs4 import BeautifulSoup
# Crawl DxOMark Mobile data
class DxOCrawler():
def __init__(self):
self.baseurl = "https://www.dxomark.com/category/mobile-reviews/page"
self.links = []
@naturale0
naturale0 / MCP_simulation.ipynb
Last active May 19, 2023 05:08
python class for converting p-values to adjusted p-values (or q-values) for multiple comparison correction.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@naturale0
naturale0 / Understanding_ANN_1.ipynb
Last active October 22, 2020 12:14
Implementation of linear (Softmax) classifier with python 2.7.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.