Skip to content

Instantly share code, notes, and snippets.

View kazoo04's full-sized avatar

Kazuya Gokita kazoo04

  • Garm Inc.
  • Tokyo
View GitHub Profile
@tosaka2
tosaka2 / dnn_tts_survey.md
Last active December 23, 2020 17:45
DNNを用いたTTS手法の調査

TTSについて

以下の図がよくまとまっている。[1]
TTSの図

モデルによって音声合成の中でどこまでの仕事を担当しているかが異なる。  


DNNを用いないボコーダー

@grapswiz
grapswiz / main.md
Last active September 14, 2020 08:47
My Best 30 Boardgames

My Best 30 Boardgames

  1. Orleans
  2. Millennium Blades
  3. nokosu dice
  4. Carcassonne
  5. Super Motherload
  6. Valley Of The Kings
  7. Santorini 2016
  8. Junk Art
  9. Dominion
@nkt1546789
nkt1546789 / puclassifier.py
Last active May 12, 2022 15:13
Learning Classifiers from positive and unlabeled data by sample weighting proposed by Elkan and Noto 2008.
import numpy as np
from sklearn.linear_model import SGDClassifier
from sklearn.cross_validation import StratifiedKFold
from sklearn.grid_search import GridSearchCV
class PUClassifier(object):
def __init__(self, trad_clf=None, n_folds=2):
self.trad_clf = trad_clf
self.n_folds = n_folds
@nkt1546789
nkt1546789 / pu_demo.py
Last active June 19, 2019 15:41
A demo code for PU classification proposed by Elkan and Noto 2008
import numpy as np
import matplotlib.pyplot as plt
from numpy import random
import seaborn as sns
from sklearn import metrics
from puwrapper import PUWrapper
from sklearn.linear_model import LogisticRegression,LogisticRegressionCV
sns.set_style("white")
random.seed(0)
'''
Implementation of Fastfood (Le, Sarlos, and Smola, ICML 2013).
Primarily by @esc (Valentin Haenel) and felixmaximilian
from https://github.com/scikit-learn/scikit-learn/pull/3665.
Modified by @dougalsutherland.
FHT implementation was "inspired by" https://github.com/nbarbey/fht.
'''
@k3kaimu
k3kaimu / gist:c850931bc8d9dd98693d
Last active August 29, 2015 14:17
awebviewの紹介

awebviewはHTMLでGUIが書けるAwesomiumのラッパー

Awesomiumとは

Awesomiumとは、Chromiumの機能のうち、Web画面のレンダリングやイベント処理などをC++から直接扱えるライブラリです。 このライブラリを使うと、たとえばゲーム画面にウェブブラウザを設置できたり、HTML+Javascript+CSSを用いてGUIアプリケーションを構築可能です。 非オープンソースなライブラリであり、非商用であれば無償で利用することができますが、商用製品に組み込む場合は有償のようです。

awebviewとは

@erutaso
erutaso / tsurasa.rb
Last active August 29, 2015 13:57
kazooNのNをインクリメントしていく
$c
def turasa(status)
if status.text.include?("@murakamiginko tsurasa") then
text = status.text.sub("@murakamiginko tsurasa","")
$c += 1
@rest_client.update_profile(:name => "kazoo#{$c.to_i}")
@kazoo04
kazoo04 / teraari.rb
Created October 24, 2013 05:04 — forked from sasamijp/teraari.rb
# -*- encoding: utf-8 -*-
for n in 0...gets.to_i
print "「てら#{"あり" * n}w」"
end
@penguin2716
penguin2716 / mikutter_jins_pc.rb
Created March 19, 2013 09:08
JINS PCに対応するためのmikutterプラグイン
#-*- coding: utf-8 -*-
Plugin.create :jins_pc do
filter_message_background_color do | mp, color |
# 青成分を50%カット
[mp, [color[0],color[1],(color[2] * 0.5).to_i]]
end
end
@siritori
siritori / binaty_tree.als
Created February 19, 2012 16:19
二分探索木をAlloyで定義してみた
open util/ordering[Node]
sig Node {
lhs : lone Node,
rhs : lone Node
}
fact {
// 葉をたどればすべての要素が取得できるrootがただひとつ存在する
one root : Node | Node = root.*(lhs+rhs)
// 任意の節において成り立つ