Skip to content

Instantly share code, notes, and snippets.

@kenchan0130
kenchan0130 / gist:4696188
Last active December 12, 2015 02:08
QiitaHackathon

iOS系の便利ライブラリ

そろそろiOSで開発本腰入れようと思って、便利なライブラリたちを色々挙げてみました。

##フィルタライブラリ:GPUImage 爆速のフィルターライブラリ

##画像選択:ELCImagePickerController UIImagePickerでかつ複数の画像を選択できるライブラリ

@kenchan0130
kenchan0130 / gist:3756017
Created September 20, 2012 13:45
fGarch of garchFit function v.s. tsereis of garch function
library(RFinanceYJ)
library(fGarch)
library(tseries)
topix <- quoteStockXtsData(x="998405.t",since="2001-01-04")
lr.topix <- log(lag(topix$Close)/topix$Close)[-1]
plot(lr.topix)
garch.fit <- garchFit(~garch(1,1),data=lr.topix,trace=F)
garch.fit2 <- garch(lr.topix,order=c(3,1))
garch.fit2$n.likeli
@kenchan0130
kenchan0130 / gist:3678097
Created September 8, 2012 18:03 — forked from millionsmile/gist:3676569
Karate club community detection by Girvan-Newman algorithm
# -*- coding: utf-8 -*-
# Girvan Newman algorithmを使って空手クラブネットワークのコミュニティが分割していく様子を出力
# Zachary's karate club(空手クラブのネットワーク)のデータ取得元URL
# http://www-personal.umich.edu/~mejn/netdata/
import networkx as NX
import networkx.readwrite.gml as NRG
import networkx.algorithms.centrality as NC
import pylab as P