Skip to content

Instantly share code, notes, and snippets.

これはそーだいなる Advent Calendar 2025 14日目の記事です。 @jewel_x12が書いています。

まとめ

  • そーだいさんには格闘ゲーム周りでお世話になっているよ
  • そーだいさんのおかげでゲームが楽しいよ
  • そーだいさんは観察眼がすごいと思うよ

そーだいさんとの関係

@MasamichiIdeue
MasamichiIdeue / Makefile
Created November 25, 2016 09:36
スラックしてる奴らはだいたいダメ
MACHEREL_API_KEY=
.PHONY: run slacksitetarachikuru
run:
watch -n60 -t $(MAKE) slacksitetarachikuru
slacksitetarachikuru:
@sh slacksitetarachikuru.sh $(MACHEREL_API_KEY)

5.4.6

  • ヘッセ行列の応用例ではヘッセ行列 H 自体ではなく H とあるベクトル v の積を使うことが多い
  • ヘッセ行列の評価には O(W^2) の計算量と記憶容量が必要(5.4.5 より)
  • v^T H の要素数は W 個
    • ヘッセ行列を計算せずに評価するアプローチを探せたら速い
  • v^T H = v^T ∇(∇E) で、∇E は誤差逆伝播で見つかる
    • v^T ∇ の計算を R{} とし、誤差逆伝播で必要な方程式に適用していく

5.5 ニューラルネットワークの正則化

@MasamichiIdeue
MasamichiIdeue / 4_4_laplace_approximation.ipynb
Created December 8, 2015 09:39
4_4_laplace_approximation.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MasamichiIdeue
MasamichiIdeue / hpbn_11.md
Created August 14, 2014 05:05
hpbn_11.md

11章 HTTP 1.x


  • 11.1 キープアライブ接続の利点
  • 11.2 HTTP パイプライン
  • 11.3 複数のTCP接続を使用する
  • 11.4 ドメインシャーディング
  • 11.5 プロトコルオーバーヘッドの計測と制御
  • 11.6 ファイル結合とスプライト
@MasamichiIdeue
MasamichiIdeue / fizzbuzz.php
Last active August 29, 2015 14:05
fizzbuzz.php
<?php
function fizzbuzz($n)
{
if ( !is_int($n) || !($n >= 0) ) return [];
switch ($n) {
case 1:
return [1];
break;
case 2:
return [1, 2];
@MasamichiIdeue
MasamichiIdeue / socketio_sample.hs
Last active August 29, 2015 14:05
Scoket.IO server samples
data Person = Person Text.Text Int
-- パース時に name (Text), age (Int) が存在しなければ失敗する
instance Aeson.FromJSON Person where
parseJSON (Object v) = Person <$> v .: "name"
<*> v .: "age"
instance Aeson.ToJSON Person where
toJSON (Person name age) = Aeson.object [ "name" .= name,
"age" .= age ]