黒木玄 Gen Kuroki
- いいね数 389,756/311,170
- フォロー 995 フォロワー 14,556 ツイート 293,980
- 現在地 (^-^)/
- Web https://genkuroki.github.io/documents/
- 自己紹介 私については https://twilog.org/genkuroki と https://genkuroki.github.io と https://github.com/genkuroki と https://github.com/genkuroki/public を見て下さい。
2018年10月01日(月)




プログラムがおいてあるリポジトリには Scala と Stata もあるようだけど、それらのベンチマークは見当たらない。
github.com/JuliaLang/Micr...
タグ:
posted at 23:24:26


あれ?黒木さんからJuliaについて返信頂いていたと思ったら見つからない(しばらく仕事中Twitter触れない…)
1.0以降、1.0のコードが動くとのこと承知しました。
コード資産が使えなくなるのを懸念していたので、またやらない理由がなくなった…やるか…。
タグ:
posted at 22:11:08
勝田から柏への普通電車に乗ってて、タイトバインディング模型のJuliaコードを書いていたがとても捗った。作った模型を可視化(2次元のみ)するやつと、バンド図描くやつができた
タグ:
posted at 22:04:36

tdual(ティーデュアル)@Matri @tdualdir
どの学部が統計学をちゃんと理解してるかみたいな話題になってるけど、まともな奴は必要になったタイミングで自分で勉強してるから学部とか関係ないだろがよぉ!
タグ:
posted at 22:01:05

非公開
タグ:
posted at xx:xx:xx

非公開
タグ:
posted at xx:xx:xx

あ、先日Twitterで見てリストに入れておいた『日英語表現辞典』復刊するんじゃ。素晴らしい。 / “Twitterで紹介された絶版本がバズって中古価格が高騰→気づいた出版社が緊急復刊「この流れ定着してほしい」 - Togett…” htn.to/CYYA88qmGh
タグ:
posted at 20:21:57


#Julia言語
github.com/genkuroki/Calc...
から読める実1変数函数の微積分のノートも
Julia + Jupyter
の組み合わせで作成しました。
色々予定と違う雰囲気の内容になってしまった。
タグ: Julia言語
posted at 17:26:37

#Julia言語
www.cp.cmc.osaka-u.ac.jp/~kikuchi/texts...
のような文書を気軽に作るためにも Julia + Jupyter は役に立ちます。
個人的には今後ユーザーが増えることを期待していますが、どこまで増えるかはまだよくわからない。
nbviewer.jupyter.org/gist/genkuroki...
の1.1節に導入法の解説がある。
twitter.com/kikumaco/statu...
タグ: Julia言語
posted at 17:23:36

非公開
タグ:
posted at xx:xx:xx

非公開
タグ:
posted at xx:xx:xx

PyCon mini Hiroshima 2018 (10月6日)が楽しみすぎて、もうわしのターミナルは i を押すだけで ipython が、j を押すだけで jupyter notebook がサジェストされるようになった。
タグ:
posted at 16:09:48

実際、こっちのほうでは恐ろしい勢いで理数系のマトモな先生が減ってるように思われ、全く笑えない… twitter.com/myfavoritescen...
タグ:
posted at 16:02:22

非公開
タグ:
posted at xx:xx:xx

#Julia言語 私がはまったv0.6からv1.0への移行の仕方は以下のリンク先のスレッドにまとめてあります。
twitter.com/genkuroki/stat...
タグ: Julia言語
posted at 14:50:54

koji hasegawa @myfavoritescene
兄貴の娘が10年ぐらい前に千葉県のそこそこ進学校らしいところに行ったとき、説明会でそこの先生がうちにはまだ物理の先生がいますので安心ですと言ったそうだ。それぐらい補充がないw それで中国に負けるなとか、無理だよねw
タグ:
posted at 14:50:05


#Julia言語 v1.0用に書いたコードはv1.1,v1.2,etc.でも動くことが保証されています。ユーザー側にとってこの点がv1.0になった最大のメリットだと思います。
julialang.org/blog/2018/08/o...
【code you write for Julia 1.0 will continue to work in Julia 1.1, 1.2, etc. 】
twitter.com/niszet0/status...
タグ: Julia言語
posted at 14:43:54

非公開
タグ:
posted at xx:xx:xx

三県調査の結果をどう解釈するかについてのひとつの可能性を
www.cp.cmc.osaka-u.ac.jp/~kikuchi/texts...
にまとめてあります。あまりいろんなことは言えませんが、福島での発見数のすべてが自然発生と考えて三県調査と整合します。これに文句がある人もいるようですが、そんなにおかしなことはしてないよ twitter.com/mo0210/status/...
タグ:
posted at 13:18:36

非公開
タグ:
posted at xx:xx:xx

台風第24号チャーミーの動きを気象衛星から.沖縄の南海上で停滞し,その後北上.偏西風に乗った途端に加速して北東進,日本列島を縦断している様子がわかります. pic.twitter.com/hEMvL4jOsG
タグ:
posted at 12:18:50

tdual(ティーデュアル)@Matri @tdualdir
これからこういうのはたくさん出てきそう。 st-hakky.hatenablog.com/entry/2018/09/...
タグ:
posted at 12:00:19

@mo0210 @itoi_shigesato @t2o_yama @kikumaco 自分達の思い込みと結論が合致しない時、
結論を出す手法が間違ってる!
と、誰しもが言うもんだ。
タグ:
posted at 11:48:52



Ryoichi @ シリコンバレーの資格 @ryo1kato
Julia による離散イベントシミュレーションツール。
SimPyのJuliaクローンらしい。
SimPyはかなり遅いから、どれくらい速くなるか試してみよっと。
github.com/BenLauwens/Sim...
タグ:
posted at 10:51:44


おしどりの件で、また甲状腺癌について「因果関係がないと言うなら他県でも検査すればすぐに分かるのに、それをしないのは都合が悪いからだ」論者がわらわら出てきているが、そんな人体実験みたいな対照実験が倫理的に許されるでもと思っているのか。福島でやっているのだって倫理的な問題は大きいのに
タグ:
posted at 10:49:51


そういえば、juliaのソースからのビルドが終わっていた
これでスマホでjuliaが使える
ただ、IJuliaを入れようとすると何故かコケる…(permission deniedとのことだけど、~/.local/share/jupyter/kernels/の所有者は問題なさそうなので原因がよくわからない) pic.twitter.com/Hce3M2mOD5
タグ:
posted at 10:23:22

#数楽 単に
1/1^s+1/2^s+…+1/N^s
を計算してプロットすることを実際にやっている:
u1roh.hatenadiary.jp/entry/2013/01/...
【ここでは数列の1000項まで計算することにしました。】
リンク先でプロットの実物を見ればわかるように、「解析接続」という用語にびびって何もしないのはもったいないことは明瞭。
タグ: 数楽
posted at 10:17:59

中央事務の教務の話では、東北大学理学部の午後は休講にせず、予定どおりに講義を行うとのこと。まもなくホームページでもアナウンスがあるそうだ。
www.sci.tohoku.ac.jp
タグ:
posted at 10:17:15

加藤公一, 가토우 기미카즈(はむかず) @hamukazu
また「機械学習のエッセンス」の宣伝ですが、あれSVMの実装頑張りすぎでは?という指摘がありますが、あれは普段の自分の仕事の内容を遠回りに示してます。仕事で何を実装してるかは社外秘なので、あたり触りないアルゴリズムでこのくらい頑張ってますという示唆です。
bit.ly/mlessence
タグ:
posted at 10:13:33

おしどりマコのように放射線の基礎知識もないのに突っ込んでいくとただのデマになるので、高校程度の基礎知識は重要ですよ。「いちから聞きたい放射線のほんとう」の内容くらい理解していれば、デマを飛ばさないと思います
タグ:
posted at 09:59:38


これ何が怖いかというと、物理屋の次元解析におけるナチュラルネスの感覚もときに信用できないという点。普通は無次元にして解析すれば、転移などの変化を起こすパラメタのオーダーはO(1)と期待してしまうのだけど、この例ではその直観が成り立たない。
タグ:
posted at 09:19:53

#数楽 #Julia言語 もう一度強調!0< Re s <1 で Im s が大きくすると、
1^{-s}+2^{-s}+…+N^{-s}
を計算するだけで、ζ(s)の零点が Re s = 1/2 の上に並ぶっぽい感じになっていることが見えます!
添付画像の上段はζ(s)の正確なプロットで、下段は1^{-s}+2^{-s}+…+1000^{-s}のプロットです。 pic.twitter.com/mY0bVNYMjn
posted at 09:18:57

#数楽 #Julia言語 発散部分(N+1)^{1-s}/(1-s)はsの虚部が大きくなると小さくなるので、sの虚部が大きければ、ζ(s)の様子が
1^{-s}+2^{-s}+…+N^{-s}
を計算するだけである程度見えることが期待される!安直の極致!結果は添付画像の通り。虚部が大きなところでリーマン予想の様子が見えます! pic.twitter.com/oTBk8VulJv
posted at 09:16:05


#数楽 #Julia言語 すなわち、0<Re s≤1における 1^{-s}+2^{-s}+…+N^{-s} からその発散部分 (N+1)^{1-s}/(1-s) を引き去ってから、N→∞とすると、ζ(s)に収束する。
これもまたコンピューターで簡単に実装できます。次のリンク先にJulia言語による例があります。
nbviewer.jupyter.org/gist/genkuroki... pic.twitter.com/eXZcuVzyZ9
posted at 09:10:30

「はたらく細胞」の画像の一部が教育機関向けに無償利用可能になったので、早速授業で使う
hataraku-saibou.com/special/conten... pic.twitter.com/jKfyRdhTSC
タグ:
posted at 08:52:01

#数楽 #Julia言語
nbviewer.jupyter.org/gist/genkuroki...
交代ゼータ函数のオイラー変換
を書いたときにはfunction-like objectの使い方を理解していなかったので、closureを使ってオイラー変換を実装しています。
twitter.com/genkuroki/stat...
posted at 08:02:06

#数楽 上では急減少函数によるカットオフの極限で
1^{-s}-2^{-s}+3^{-s}-4^{-s}+…
の解析接続を構成できることを説明しています。Euler変換による解析接続もこれにかなり近いです。Euler変換がどのようなカットオフを行なっているように見えるかについては
nbviewer.jupyter.org/gist/genkuroki...
を参照。
タグ: 数楽
posted at 07:54:53


#数楽 tsujimotterさんは以上とは別の方法でζ(s)の解析接続の数値計算を行っています。
tsujimotter.hatenablog.com/entry/riemann-...
解析接続の方法は交代級数
1^{-s} - 2^{-s} + 3^{-s} - 4^{-s} + …
のEuler変換。これのEuler変換は複素平面全体で収束する。詳しくは
gist.github.com/genkuroki/4a8f...
を参照。
タグ: 数楽
posted at 07:44:23

#数楽 #Julia言語 のSpecialFunctionsパッケージでRiemannのゼータ函数は、Re s≧1/2ではEuler-Maclaurinの和公式を使って計算し、Re s<1/2ではsが0に近いときはTaylor展開で、それ以外の場合にはζ(s)の函数等式を使って計算しています。リンク先でソースを読める。
github.com/JuliaMath/Spec...
posted at 07:29:41

非公開
タグ:
posted at xx:xx:xx

#数楽 この方法もコンピュータで実装するのは易しいです。 #Julia言語 のようなモダンな言語なら数行で書けます。
nbviewer.jupyter.org/github/genkuro...
1つ目の添付画像はそのようにして計算した 0<Re s<1 でのζ(s)の絶対値の対数のプロットです。2つ目はRe s=1/2上の様子。近似計算がうまく行っている。 pic.twitter.com/V4IyywHCid
posted at 07:08:52





#仙台市
2018年10月01日
06時37分頃
警報注意報が発表されました
<宮城県 仙台市東部>
暴風警報、波浪警報
・・・
(杜の都防災メールより)
/ せんだい火事ドコ?まっぷ anzn.net/sp/?p=04100F&i...
#宮城県
posted at 06:38:56

大雨特別警報・警報・注意報
大雨特別警報・警報・注意報が発表されました。
2018年10月01日06時37分
仙台管区気象台発表
【気・・・
~土砂災害警戒メールより
⇒ みやぎ安全安心情報 anzn.net/sp/?p=04S&i=38...
#宮城県
タグ: 宮城県
posted at 06:38:20

しんかい(山川賢一)ぼっと@彼女公認 @shinkaibot99
そっか、「経済成長を可能にするのは労働者の努力である」という世界観を共有している人たちがいて、そのうち右派は、「経済成長のために労働者をもっと頑張らせよう」、左派は「これ以上の酷使をやめさせるために経済成長は諦めよう」となるわけか。彼らの世界観がそもそもおかしいと
タグ:
posted at 02:48:22

> Julia言語と Plots + GR で複素関数のgifアニメーションを作る - Optie研 optie.hatenablog.com/entry/2018/03/...
#julialang
タグ: julialang
posted at 00:45:45

@cometscome_phys Plots.jl が無難なところでしょうか。ただ、自分のパッケージ内で using Plots すると読み込みが遅くなるので、Requires.jl を使って可視化はオプション扱いにしたほうがいいかもしれません。
タグ:
posted at 00:37:56





