黒木玄 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 を見て下さい。
2020年10月30日(金)


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

This is the repo for the new search docstring project in #JuliaLang
github.com/Wikunia/Seahaw...
Issues and PRs welcome
タグ: JuliaLang
posted at 00:57:07

#統計 どういう本なのか見ていないので分かりませんが、それとは独立に、「仮説検定が尤度原理とやらを満たさない」という話は、単に「尤度」という用語の使い方が不適切なだけのくだらない問題です。
くだらない問題をあたかも価値ある問題であるかのように扱うのは非常にまずいと思いました。続く twitter.com/qumaiwao/statu...
タグ: 統計
posted at 01:19:41

#統計 話の内容を明瞭にするために、まず以下のリンク先を見てください。
oku.edu.mie-u.ac.jp/~okumura/stat/...
止め方で結果が変わる?
リンク先の解説におけるベイズ統計関係の部分はひとまず無視して下さい(私は間違っていると思う)。
【硬貨を12回投げたところ表が3回出た】という「いつもの設定」の話。
タグ: 統計
posted at 01:19:42










#統計 そうか!なるほど。このスレッドは単に「尤度」という言葉にいつものような反応を機械的にしただけのスレッドのつもりなのですが、以下のリンク先スレッドが関連スレッドになってしまっているのか! twitter.com/genkuroki/stat...
タグ: 統計
posted at 01:26:35


私はたまにツイッターで "尤度" を検索しています。
「犬度ネタ」も健在!(笑)
尤度の定義は「モデル内でデータと同じ数値が発生する確率(密度)」に過ぎず、それを超える意味はない。
尤度は、モデルのデータへの適合度の指標としては使えるが、決して「もっともらしさ」ではない。
タグ:
posted at 01:35:49

#統計 "尤度原理" で検索し直して発見した。
何度も繰り返し述べているように、私は「ベイズ主義」という言い方で何かまともなことを言っているかのように思っている人の考え方は信用できないと思っています。
そしてそういう発言への支持は結構多いという印象有り。
twilog.org/genkuroki/sear... twitter.com/ohkubo_yusaku/...
タグ: 統計
posted at 01:47:10



Universal Curiosity @UniverCurious
Sorry, I couldn't resist. pic.twitter.com/hpB2HUl5iF
タグ:
posted at 02:14:13

#統計 「確率測度は確率の数値の表の一般化に過ぎない」という話は、頻度論云々の話題とは無関係です。
確率の数値の表やその連続版の確率密度函数の扱いが分かっていれば、測度論を知らなくても、普通の統計学ユーザーが困ることはないと思う、という話をしたかっただけ。 twitter.com/katzkagaya/sta...
タグ: 統計
posted at 02:33:35






reut.rs/3owwsut
【本田悦朗・元内閣官房参与は~「新規国債を90兆円発行してもインフレのイの字も起こっていない。財政赤字は忘れて人の命を重視してほしい」と述べた。】
タグ:
posted at 03:03:40

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

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

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

This blogpost by my phd advisor @dgleich has some good advice on building Julia interfaces, and possibly programming in general: dgleich.micro.blog.
タグ:
posted at 04:12:38

I think Julia offers a lot of features and sometimes it's easy to get lost in these. Even though creating fast programs is something I absolutely enjoy, optimizing code is easier than correcting code and thus I often don't overuse Julia features at first code attempts.
タグ:
posted at 04:13:05

Stefan Karpinski @StefanKarpinski
Excellent advice on designing interfaces in #JuliaLang and on writing code in general: start with something simple and concrete; generalize it when you need to. Until there's a reason to generalize, you're very likely to generalize in the wrong way! twitter.com/nassarhuda/sta...
タグ: JuliaLang
posted at 06:49:25



記事を書きました。
ドワンゴさん、これまでありがとう! これからはペコちゃんも応援! 叡王戦の主催社は不二家に交替(松本博文) - Y!ニュース news.yahoo.co.jp/byline/matsumo...
タグ:
posted at 09:23:16

毎年恒例の、楽しい嬉しいな神企画です(ありがとうございます)
どなたでも是非お楽しみください twitter.com/Nihonkiin_pr/s... pic.twitter.com/l9WiGLFRYl
タグ:
posted at 09:51:33

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

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



#Julia言語 dist.rand(n) ではなく、rand(dist, n) と書いているせいで、コードの効率的な再利用を可能にするスタイルで書かれていないかのように考えるのは誤りであることが、Distributions.jl のフレームワークで確率分布を自前で定義してみればすぐにわかります。続く
github.com/JuliaStats/Dis...
タグ: Julia言語
posted at 10:45:55

#Julia言語 Base.getpropertyを上書きすれば(添付画像①)、Distributions.jl を dist.pdf(x) のスタイルで使えるようにできます(笑、常用はお勧めしません)。
gist.github.com/genkuroki/3d29...
② dist = InverseGamma(10, 10)についてのdist.rand(n)や dist.pdf.(x)の使用例。
③ キーワード引数の使用例。 pic.twitter.com/KE38ocZD3E
タグ: Julia言語
posted at 10:53:15

#Julia言語 Base.getpropertyの上書きで、dist.a で何が実行されるかを定義しています。
Base.propertynamesの上書きによって、例えばdist = Normal()してあるとき、
dist. TAB
でタブコンプリションが効くようにもなります(笑)。 pic.twitter.com/f5E2NyvULj
タグ: Julia言語
posted at 10:58:23

🙁 Just discovered that I *can't* assign to🤦♀️in #RStats pic.twitter.com/1E0psACHrt
タグ: RStats
posted at 10:59:45




Mark Kittisopikul ht @markkitti
@gringene_bio @rstatstweet You might need to try #JuliaLang to make that work. pic.twitter.com/BlhObboLHb
タグ: JuliaLang
posted at 11:17:04

「所謂OOP」の「所謂」には「本当はこの用語を使いたくないのだが」というニュアンスが込められている。
コードの再利用を促す適切な設計さえできれば困らないのだから、そろそろ所謂OOPに関するあの独特のスタイルの説明は廃した方が「よりよい社会」に繋がるような気がします。
タグ:
posted at 11:20:04

「数学」でないと承知のものを「算数」で教えるのはやめてくれ、という話がなぜここまで通じないんだろう。 twitter.com/sekibunnteisuu...
タグ:
posted at 11:34:53

「かけ算の順序」問題も最初の頃は、多くの人が(当然)自分の常識や良識に従って判断してしまうせいであまりにも邪悪な問題の存在自体を理解してもらうのに苦労したもんだけど、「🍒」もそんな状態だな。
タグ:
posted at 11:59:01

「なんだかんだ言っても大人だって桁上がりのある計算をするときはさくらんぼ計算をするのだから、子供に教えてなぜ悪い」とか言って横から撃ってくる人は、あの邪悪さを理解していない。(しかも「桁上がりのある計算はさくらんぼでしかありえない」という理解も間違っている)
タグ:
posted at 12:01:04

2020年も盛況の模様。(まあツイッター上で目につく小学校の関係者を見てれば現状が改善されるとはとても思えないし) twitter.com/sekibunnteisuu...
タグ:
posted at 12:10:44


おまえら、もし11月21日・22日に電竜戦があって、地球代表ソフトが決勝A級リーグ最終戦で決定するという事態になったら、地球代表候補は絶対やねうら王でないとイヤだろ?
水匠でもいいのか?水匠に電竜戦の命運を託せるのか?
水匠不参加を惜しむやつは地球規模で考えるんだ twitter.com/yaneuraou/stat...
タグ:
posted at 13:43:24

毎日記事の正確さについては私は良く分からないが、橋下徹氏は、自らが学術会議について、米英では「学者団体に税金は投入されていないようだ」「金の面で自立しろ」という誤情報を流した際には「説明不足だった」で訂正を済ませた。毎日への批判と自身の発言の訂正との熱量の落差はどうなのだろう。 pic.twitter.com/mPefVIZZim
タグ:
posted at 13:52:31

今回の毎日の報道や資料について、橋下氏は「ちょっと知識があれば虚偽と分かる」と言う。米英のアカデミーに税金が投入されていることだってちょっと調べればわかることだったのでは。自身もちょっとgoogle検索すればわかるような誤情報を流してしまったのではなかったのか。この熱量の落差に唖然。 pic.twitter.com/21F6ZWn31P
タグ:
posted at 14:03:39

プログラミング言語「Julia」の導入方法です。
Juliaの導入と実行方法〜計算と速度に優れたプログラミング言語を使おう〜 se.miyabikno-jobs.com/julia-introduc...
タグ:
posted at 14:04:40

そもそも「説明不足」と「事実誤認」は全く異なる。もし「仕事を発注して税金を投入する」と認識していて、それを「税金は投入されていない」とか「学問の自由や独立を叫ぶ前に、金の面で自立しろ」と表現したなら、言論人としての識見に関わる。事実誤認ならそう表明して訂正すればいいだけなのに。
タグ:
posted at 14:08:59

いまから指し将棋始めてみようかなって人、マグネットの小さい盤駒よりプラ駒+ねこまど盤のほうがおすすめです マグネットの盤駒、確かに携行性は高いけど棋譜並べとか相当しんどい 布盤でもいいけど指したときの感触はねこまど盤のほうが小気味いいです
タグ:
posted at 14:50:48

折り畳み式なので折り目の部分が気になる人はいるかもしれない。指したときにパチンとなるくらいのいい硬さがありつつコンパクトに携帯できて軽い(そして趣味のいいカラバリがある)のがねこまど盤の強みなので、別に柔らかくていいよって人はソフトとか布を使うといいです
タグ:
posted at 14:54:56




#さくらんぼ計算 は、繰り上がりの足し算を“理解しやすくするための方法のうちのひとつ”でしかないのに、使う必要のない子にまで“絶対やれ”と強要している教員が散見される。
このツイートにも、親切めいて地獄へ誘導するリプがいくつもついていて頭痛がしてくる。
#超算数 twitter.com/lalala_zola/st...
posted at 15:48:59

あと #さくらんぼ計算 とお友達?の #えだまめ計算 もあります。
#超算数 twitter.com/vecchio_ciao/s...
posted at 15:54:59


#統計 エヌさんの言う通りだと思う。
よく引用されている『統計的有意性と P 値に関する ASA 声明』(2016、日本語訳2017)では「P 値の計算の背後にある仮定」にP値が依存していることへの注意がしっかり書いてあります。
モデル抜きにP値が定義できるはずがない。続く
www.biometrics.gr.jp/news/all/ASA.pdf twitter.com/nnunununun/sta...
タグ: 統計
posted at 16:51:21

#統計 これもエヌさんに同感で、コインを投げる回数を固定している場合と、コインを投げる回数が任意に長くなる場合では、確率の計算結果が違うのは当たり前。
これを理解していないようだと、そもそも大学受験レベルでまずい。
あらゆる統計分析の結果は分析に用いたモデルに依存する。当たり前。 twitter.com/nnunununun/sta...
タグ: 統計
posted at 16:59:16

#統計 これもエヌさんに同感。
「尤度原理」に関する話題がまともな話だと主張する人には、尤度の定義の説明から始めて欲しいと思う。
その辺を自分の言葉で明瞭に説明できないとしたら論外。
誰か偉い人が価値ある話題だと言っていたというようなことはまともであることの証拠にはならない。 twitter.com/nnunununun/sta...
タグ: 統計
posted at 17:07:09

#統計 『統計的有意性と P 値に関する ASA 声明』 www.biometrics.gr.jp/news/all/ASA.pdf より。
P値はその計算に使った数学的モデルに依存するので、モデルの設定中の仮定の違いに気を付けなければいけないのは当たり前の話。
例:「コインを投げる回数の固定」と「表の出た回数の固定」では仮定が違う。 pic.twitter.com/Ncqjl6LnHk
タグ: 統計
posted at 17:11:37

#超算数 #さくらんぼ計算
twitter.com/lalala_zola/st...
>答えを書く→さくらんぼを書くの順番でやってる。
twitter.com/NEKoKAJi/statu...
>後さくらんぼに書く数字に引っ張られて計算ミスが多発してる。
posted at 17:17:28

#超算数 #さくらんぼ計算
twitter.com/michikusa_heya...
>さくらんぼ計算を説明すると、どうしてもたし算の中にひき算が入り、ひき算の中にはたし算が入る。
>わざと混乱させようとしているのか?としか言いようがないぐらいひどい教え方だ。
posted at 17:17:28




TSUJINO SATOKI @TSUJINO_SATOKI
Easy coding in matrix calculation
#julialang pic.twitter.com/WPDRCmZCex
タグ: julialang
posted at 17:30:19



台風19号の高解像度動画(オリジナルのファイルはweather-models.info/news/himawari-...)。
回転がとんでもなく速い… pic.twitter.com/nyOxKwwPXh
タグ:
posted at 17:58:20




1次元Euler方程式のSod衝撃波管問題をRoeのFDS (Flux Difference Splitting) で解きました。コードはJuliaで書いています。
見ているみなさんは同じような問題ばかりで飽きてきたかもしれませんが、私はまだまだいけます! pic.twitter.com/Za5fanB9cO
タグ:
posted at 18:22:51

MATLABで組まれたのを暗黒魔術によってCのようなC++のような悪魔のコードからJuliaでコア部分を再実装。トライアンドエラーどうせ繰り返すんだから、それをまたC++に持ってくの嫌やよ… twitter.com/Dsuke_KATO/sta...
タグ:
posted at 18:42:55

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

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


1次元移流方程式をTHINC法(Tangent of Hyperbola for INterface Capturing)で解きました。以前のコードをJuliaに書き直しました。キレキレです。 pic.twitter.com/TR3XQYTb1m
タグ:
posted at 19:22:16

1次元移流方程式でTHINC法と風上差分を比較しています。THINCが青で風上差分が赤です。THINCはキレキレです。 twitter.com/sasaburo/statu... pic.twitter.com/UEpBD1sGJz
タグ:
posted at 19:24:25

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

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

How to debug small functions and big projects in #JuliaLang ?
Debugger.jl vs Infiltrator.jl
opensourc.es/blog/basics-de...
タグ: JuliaLang
posted at 20:43:12

New post: CUDA.jl 2.1 - www.juliabloggers.com/cuda-jl-2-1/ #julialang
タグ: julialang
posted at 20:49:02

New post: Debugging in Julia - Two different ways - www.juliabloggers.com/debugging-in-j... #julialang
タグ: julialang
posted at 20:49:05
ごまふあざらし(GomahuAzaras @MathSorcerer
github.com/CliMA/Oceanani...
こういうのありますね。 twitter.com/kenjikun__/sta...
タグ:
posted at 21:11:48

それにしても,自分が喋ってる録画も見たくないし,録音も聞きたくないね.なんで自分が喋ってる時に感じるより段違いに下手くそに聞こえる,あるいは自分が喋ってるときは上手く喋れてると勘違いしてしまうんかね.
タグ:
posted at 21:18:01

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

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

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

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



#超算数 56頁【二通りがある。】と続く。以下画像。2×3=6について、【
(1)「三二が六と呼ぶ場合」。
この呼び方は、最も正しいものである。なぜなれば、2は被乗数、3は乗数であるから、掛けられる数が後に呼ばれるのは当然の理である。
】と述べているんですが、理とはなにか分かっていないですね。 pic.twitter.com/80jiCEPdVX
タグ: 超算数
posted at 21:38:57

#Julia言語
Infiltrator.jl github.com/JuliaDebug/Inf... が結構絶賛されている。
ただし、ヒストリーが記録されていなくて、↑キーで戻れないこと github.com/JuliaDebug/Inf... が惜しいとされている。実際に使ってみましたが、確かにその点が惜しいと思いました。
twitter.com/opensourcesblo...
タグ: Julia言語
posted at 22:16:28


Debugging in Julia – Two different ways www.juliabloggers.com/debugging-in-j... #juliabloggers
タグ: juliabloggers
posted at 22:17:22

JET.jl, an experimental type checker for Julia, is starting to take a shape and now it revealed actual erroneous code in Julia's standard library (not a toy, unrealistic code) :)
In other word I fixed the problem while I'm not familiar with code at all :P
github.com/JuliaLang/juli...
タグ:
posted at 22:25:14

#Julia言語 CSV.jlで何か問題があるのだろうか? 最初の1回目の実行での遅延は仕方がない。
github.com/JuliaData/CSV.jl twitter.com/citrus_tg/stat...
タグ: Julia言語
posted at 22:28:10

JET.jl (Julia用の型エラープロファイラ) を使ってJuliaの標準ライブラリ内のエラーを見つけてfixしました :)
なんかうまくいきそうな気がする...
github.com/JuliaLang/juli... twitter.com/kdwkshh/status...
タグ:
posted at 22:30:17

#超算数 68年前の文献。大昔から、算数教育に関わっている人達が、子供のことをよく考えずに、自分の頭の中にある馬鹿げた考え方を押し付けることを優先している様子は非常に印象的。
そういう態度を日本は100年以上放置し続けてしまい、そういうまずい人達に算数の教科書を書く力を与えてしまった。 twitter.com/temmusu_n/stat...
タグ: 超算数
posted at 22:33:18


#Julia言語
まじ、すげえ。
32-bit systemを使っている人は少数派だし、ものすごく細かいバグなので、普通の方法では見付からずに、ずっと放置されていた可能性が高いと思う。
github.com/JuliaLang/juli...
twitter.com/kdwkshh/status...
タグ: Julia言語
posted at 22:47:47

@genkuroki ありがとうございます。巨大データのため、1行ずつメモリに載せたかったのです。CSVだと全データを一度に載せるしかないと勝手に勘違いしてました。失礼しました。
タグ:
posted at 22:51:11

斉藤ひでみ・現職教師(西村祐二) @kimamanigo0815
僕が実名出してツイートしている事を知って「イケナイ事をしている」と感じてた生徒がいるようだけど、イケナイ発信は匿名でも許されないし、そうでなければ実名でも大丈夫。
もちろん実名を推奨する訳ではなくて、僕だって出来るなら控えたい所。
でもリスクを負ってもやらなきゃならん事があるんです
タグ:
posted at 22:56:27

斉藤ひでみ・現職教師(西村祐二) @kimamanigo0815
教師としては個人情報や秘密の漏洩、信用失墜行為に触れなければ大丈夫。
教師以前に人として、誹謗中傷の類は論外です。
逆にこれに触れるなら、匿名でもアウトです(この辺り、教師を名乗るアカウントでかなりまずい人もいます)。
僕は実名出して約一年、処分はおろか注意された事もありません。
タグ:
posted at 23:01:38

斉藤ひでみ・現職教師(西村祐二) @kimamanigo0815
「教師たるもの24時間教師」という価値観が尾を引いてか、ツイートで個人の考えを表現する事すらイケナイ事のように思ってしまう同僚もいます
が教師も勤務外では私人であり一市民。
一市民として表現の自由が認められなくなったら…そんな国に住みたくない…
※信用失墜禁止等は私生活にも及びます
タグ:
posted at 23:12:27