黒木玄 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年12月18日(金)

なんか見つけた
ACTINN: automated identification of cell types in single cell RNA sequencing - PubMed pubmed.ncbi.nlm.nih.gov/31359028/
タグ:
posted at 23:57:37

Ninja DAO | CryptoNi @CryptoNlnjaNFT
この裏に大学関係者のどれだけの努力があったと思ってんだ。決めつけで「コロナで中退や休学が増えた筈」という前提の報道やめろよ。恥ずかしくないのかよ。
タグ:
posted at 23:55:50

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

Ninja DAO | CryptoNi @CryptoNlnjaNFT
「一方、全体の中退者は2万5008人、休学は6万3460人で、昨年の同時期と比べると、ともに6833人、6865人減っていた。」←減ってるやん。これ明らかに決めつけの偏向報道だろ。朝日新聞、これは恥を知るべき。 twitter.com/kankimura/stat...
タグ:
posted at 23:54:24


華麗かつ難解な同素体ワールドを誇るのが、炭素の隣人・ホウ素です。三中心二電子結合という独特の結合を基礎に、正20面体構造を単位とした多数の摩訶不思議な構造を作り上げます。その他、多くの美しい多面体構造の分子を作ることが知られており、全元素中でも特異な存在といえます。 pic.twitter.com/7JU1w4h3EQ
タグ:
posted at 23:34:49

ペテルブルク地方検察 ロシア国内での「デスノート」「ナルト」の禁止を裁判所に求める
sptnkne.ws/EGa5
サンクトペテルブルク地方検察庁は同市コルピンスキー裁判所に、子どもに悪影響を与えるとして複数のアニメを国内で禁止するよう求めた。
タグ:
posted at 23:34:38

いろいろ誤字が多くてすみません。最初のツイートで、英国民航空局となっているのは、英国民間航空局(CAA)です。21世紀になって、海運・航空業界で、旧検査を新しい検査に置き換える動きが加速しており、英国発のCADの他にも、アメリカ空軍発のCCTを、拙著で紹介しています。
タグ:
posted at 23:31:56

#数楽 橋本義武さんの話なので鉄板で面白いと思います。
内容は群と対称性を軸にした代数学の美味しいところの紹介。
テキストも非常に面白いものになるはず。
www.ouj.ac.jp/hp/kamoku/2021...
の専門科目の真ん中あたり twitter.com/tsujimotter/st... pic.twitter.com/S3uXKiPDnN
タグ: 数楽
posted at 23:31:48



#統計 未知の真の分布の左右対称性が大幅に崩れている場合には、正規分布モデルによる母平均の信頼区間の誤差は非常に大きくなります。以下のリンク先では95%信頼区間に母平均が含まれる確率が78%になっている場合を紹介しています。
95%だと思っていたことが78%になるのは怖いでしょう。 twitter.com/genkuroki/stat...
タグ: 統計
posted at 23:07:46


ちなみにテキストは昨年のものとほぼ同じです。余裕があれば測度論とルベーグ積分の初歩から「有界変動関数はほとんどいたるところ微分可能」あたりまで書けたらと思っていたのですが、時間の余裕がとれなかったので、、、
タグ:
posted at 23:00:23

以上、拙著「色の不思議と不思議な社会──2020年代の色覚原論」(川端裕人 筑摩書房)にて紹介したことを講演などで話すうちにいろんな伝え方を工夫しているところ。気になった方はぜひ読んであげてください。amzn.to/3a8wx2x
タグ:
posted at 23:00:01


12/23に行う解析学概論講義のテキストを公開しました。naotoshiraishi.files.wordpress.com/2020/12/2020-a... 非数学科(物理学科)の1年生向けに、εーδ論法や実数の連続性から、一様収束とギブス現象や「連続だが至る所微分不可能な関数」などまで、面白そうなトピックスを見ていけたらと思っています。
タグ:
posted at 22:58:18


それでも「検査表が読めないんだから」というなら、それは「検査表を読めない病」を検出しているということなる。実際、日本の医師はかつて、石原表でスクリーニングされて、確定診断のアノマロスコープで正常と出ても、検査表を読めないのだからと「色素色色覚異常」という病名を作ったことがある
タグ:
posted at 22:56:25

これを見て石原表の検査だけでは正確なことがわからない、きーっ、となるのは一つの立場。でも、これまで、弁別の悪い人も大量に正常としてきたのだから、結局、それほど気にするものでもなかったということでは? と捉えるのがぼくは健全だと思っている。
タグ:
posted at 22:54:06


ちなみに表の黒丸が正常(アノマロとCADが一致)、横軸は赤-緑軸の弁別能力で「正常」の平均が1としてある。で、従来の石原表の検査で4表以下の「誤答」だと、そのまま正常とされたけれど、かなり弁別が悪い人も混じっている。8表以上「誤答」する、それだけ「異常」とされる人の分布と大きく重なる
タグ:
posted at 22:52:03


2017年のBMJに掲載されたBarbur& Rodriguez-Carmona 論文には英国民航空局が採用した新色覚検査CADの評価が出ていて、古くからの確定診断法とよく一致することが分かっている。で、CADとアノマロの一致を「正常」とした上で、石原表とのマッチングを見ると、石原表がいかに雑だったかがよく分かる。 pic.twitter.com/9Ke8RR19Fq
タグ:
posted at 22:49:32




添字が 1 から始まって、等しくない演算子が != で、Pythonに似ているのがよいのなら、高校情報もJulia にしよう #julialang twitter.com/CinderellaJapa...
タグ: julialang
posted at 22:36:42









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

@OokuboTact 小島順氏は以下のように主張していますね。
【我々は 同じ × という記号で,順序依存的な “倍” すなわち” 同数総和” の作用と,順序中立的な,長方形配列による”二数の積”という二項演算,この双方を表現している。】
まともに取り合う必要性は感じませんよね。
タグ:
posted at 21:36:09

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


Ninja DAO | CryptoNi @CryptoNlnjaNFT
なるほど。PCとスマホだと感覚が違う、かも。 twitter.com/kotoito/status...
タグ:
posted at 21:10:54


添付するとなるとPCから勢が多そう。PCからだと相手もPCで受けそうな気分になって、SNS感なくなり、「夜中に失礼」とかなくなるんじゃないかな。逆に、自分がスマホからメール送るときは相手もスマホにいく気分になるとか。
と思ったけど単に背に腹はかえられぬ案件が8割方かも。 twitter.com/kankimura/stat...
タグ:
posted at 21:09:10



仕事で必要な研修費用を給料から差し引くのって違法では。逆に、研修の受講を強制契約させる仕組みなら消費者保護の観点から問題があるというか押し売りですよね平たく言えば。 twitter.com/suizou/status/...
タグ:
posted at 20:37:24

#Julia言語 私のちょっと古めのパソコンでも、Juliaならば
N = 10^4
シングルスレッド→ 0.174 sec
8スレッド並列→ 0.047 sec
でした。よくあるπのモンテカルロ計算では
N = 10^9
シングルスレッド→ 3.4 sec
8スレッド並列→ 0.8 sec
ソースコード↓
gist.github.com/genkuroki/7f4c... twitter.com/akiraokumura/s... pic.twitter.com/bPisbXBjki
タグ: Julia言語
posted at 20:29:17

Jupyter Notebook Viewer
此れ良いな。Juliaの高速チュートリアル nbviewer.jupyter.org/github/bicycle...
タグ:
posted at 20:26:28

tsujimotter 日曜数学者 @tsujimotter
ほんとに(素数)+1だよなこれ……
今まで考えたこともなかった……なんで?なんで?? pic.twitter.com/aPJKKDQoZP
タグ:
posted at 20:24:16

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

「企業内の有線LANなどの通話の内容を盗聴する場合には有線電気通信法第9条に」
「企業内の無線LANなどの通話の内容を盗聴する場合には……電波法第59条に」
違反し、それぞれ違法な行為として処罰の対象となります。
という日本語では。 twitter.com/winefeel/statu...
タグ:
posted at 20:17:44

Hiromitsu Takagi @HiromitsuTakagi
この総務省の悪文が原因か。 twitter.com/winefeel/statu...
タグ:
posted at 20:13:47

Hiromitsu Takagi @HiromitsuTakagi
電波法の通信の秘密と取り違えている者も散見される。 twitter.com/mmtz/status/13...
タグ:
posted at 20:11:12

tsujimotter 日曜数学者 @tsujimotter
春から始まる放送大学の「正多面体と素数」という講義、めっちゃ面白そう!初めて放送大学受けたいと思った!
『正多面体に対し、その頂点・辺・面の個数はすべて (素数)+1 であり……。これは偶然だろうか?その謎を解くために、数学の世界の旅に出かけることにしよう。』
www.ouj.ac.jp/hp/kamoku/2021...
タグ:
posted at 20:08:10

永寿総合病院からクラウドファンディングの報告書が届いて、4000万円以上が集まったこと、678人の全職員へ5万円支給できたことなどがきっちり丁寧に書かれていて感動したんだけど、READYFORのシステム利用料が約925万円でなんか言葉がない。
タグ:
posted at 20:06:48

Francesc Verdugo @francescverdugo
The new release of the Gridap.jl #opensource #FiniteElement project is finally out 🚀Write down the weak form as you would do on a paper and Gridap.jl will generate an efficient assembly loop for you 🔧 Powered by the amazing @JuliaLanguage 💻
Check out some examples 👇
posted at 20:00:29

記事を書きました。
早指し豪腕・糸谷哲郎八段、慎重に時間を使って広瀬章人八段に勝利 棋王戦挑決第1局(松本博文) - Y!ニュース news.yahoo.co.jp/byline/matsumo...
タグ:
posted at 19:48:05

甲状腺検査についての僕の考えはこのnoteに書いてありますので、ご一読ください。無症状者への甲状腺エコーが有害無益であることはウェルチの著書「過剰診断」にも書かれているので、一読をお勧めします(ちゃんと日本語訳されています)
note.com/kikumaco/n/nb3... twitter.com/t_kark/status/...
タグ:
posted at 19:46:40

OKUMURA, Akira(奥村 曉) @AkiraOkumura
Python の for が遅いのはもちろん知っているのだが、「ほら、10000 回かける 10000 回の計算とかでもコンピュータならすぐでしょ?」という流れを作るのに失敗。
タグ:
posted at 19:46:35


OKUMURA, Akira(奥村 曉) @AkiraOkumura
ものっすごい単純なこと(講義用)を for と if で Python にやらせると遅すぎてびっくりした。N**2 の格子点が単位円の中に入っているかを計算して、円周率を概算するだけなんだけど。N = 10000 だとCling で瞬間、Python で数分。ここまで遅かったっけ。 pic.twitter.com/rx1WS1lKZr
タグ:
posted at 19:44:18

pandasで10秒くらいかかる処理、juliaのDataframeで回すとミリ秒で終わっててワロスwwwww
数値処理だけに限らず、データフレーム処理も普通に爆速やん。
ワイの環境が24コアなのもあるけど、それにしてもjuliaの速度速すぎてpythonがアホらしく見える。
fastapiが今後10年現役だと言ったな、あれは嘘だ
タグ:
posted at 19:38:59

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


CmdStanR 0.3.0リリース!ついにchain内並列化が簡単に使えるようになったみたい。
github.com/stan-dev/cmdst...
こんな感じで実行するみたい。
mod <- cmdstan_model("model.stan")
fit <- mod$sample_mpi(data = data, chains = 1, mpi_args = list("n" = 4), output_dir = ".", validate_csv = FALSE)
タグ:
posted at 18:07:02

Wholesome OS debate. I love Linux more but macOS is cool too. pic.twitter.com/nBGPJocG9q
タグ:
posted at 17:41:53

自民党安藤裕議員の仰るように、各業種の困窮した状況を官邸、与野党議員のSNSに投稿したり、地元選挙区の国会議員の事務所に電話、メールを送る等、訴える事は重要に思う。 twitter.com/andouhiroshi/s...
タグ:
posted at 17:35:26

1年〜1年8ヶ月無収入9割減収
融資は固定費✖️3ヶ月
これは当然借金だ
後は自助でと言われる
これは我々の責任では無い
政府の対応の遅れ・判断の甘さに起因
台湾は政府の万全の対策で感染の影響は皆無
政府組織は公助の為に有り、国会議員は正に公助により運営、生活が成立している
国民は限界だ
タグ:
posted at 17:24:10

Juliaがどんな言語なのか10分くらいでざっと分かる素晴らしいまとめを発見!
Jupyterでも動かせるんですね
github.com/bicycle1885/Ju...
タグ:
posted at 17:15:57

World and Science @WorldAndScience
Tour of Jupiter's moons - The internal structure of Ganymede
(Credit: kelvinsong) pic.twitter.com/cxFbvQPxdd
タグ:
posted at 16:30:09


タテ÷ナナメのことをサインと呼ぶことにしたからタテはナナメ×サインだねとかが通じない高校生って、この3公式がすべて独立で、テントウムシ書いて使い分けるものって指導の犠牲者よなー twitter.com/genkuroki/stat...
タグ:
posted at 16:04:15

高校数学から行列が消えて以来から、盲学校で行列を学ぶ機会がなくなって、つまり点字タイプライターで行列を書くときの略記法なんかはもう学校では教われないんだな。
タグ:
posted at 15:49:38

#統計 関連
仮説「表の出る確率は0.5以上」に関する片側検定と、以下のリンク先の表の出る確率の推測は別の話題になります。 twitter.com/genkuroki/stat...
タグ: 統計
posted at 15:44:23

現在の支援では無理
国民は納税し昨年の収入を税務署は把握している粗利補償を願う
現在音楽業界は無収入〜9割減収
公演は1年-8ヶ月前から準備
支払いは公演後2-4ヶ月
感染収束しても14-16ヶ月収入は無い
融資では救えない
舞台や音楽の関係者が菅首相に継続的な要請 www3.nhk.or.jp/news/html/2020...
タグ:
posted at 15:43:02

#統計 そのスケールで期待予測誤差E[PE]はn→∞で1に収束します。1はモデルのパラメータの個数。
最大期待予測誤差を1に抑えるには事前分布としてJeffreys事前分布を採用すれば良さそうということをグラフは示しています。
警告:特異モデルでJeffreys事前分布は予測誤差を悪化させる。 pic.twitter.com/Wg8xSCXtJu
タグ: 統計
posted at 15:38:31

#統計 補足:予測誤差 PE はKullback-Leibler情報量で定義していますが、添付のグラフの右側の縦軸のスケールは2n倍した値になっています。
KL情報量の2n倍を予測誤差PEの定義としています。
2n倍するとχ²分布のスケールになる点が便利です。
私はこのスケールを多用しています。 pic.twitter.com/sDE6k48q1B
タグ: 統計
posted at 15:32:03










Mark Kittisopikul ht @markkitti
We've got to come up with a better name than #ImageJulia for a #JuliaLang image processing platform.
That reminds me that I need to publish the Napari.jl package. twitter.com/herrsaalfeld/s...
タグ: ImageJulia JuliaLang
posted at 14:47:54

#統計 再掲: データの分布がn=12の二項分布の場合
a>0のa→0の極限が最尤法に対応しています。
期待予測誤差のヒートマップ(添付画像左側)を見ると、aが0付近ではq=0.1, 0.9付近で期待リスクが高めになっています。事前分布を使うとそれを緩めることができるわけです。 pic.twitter.com/9asJumM13s
タグ: 統計
posted at 14:25:46

凄いな。
#掛算 順序強制教育擁護派の認知の歪みと理解力の欠如を示す典型的なサンプルじゃないの、これ。 twitter.com/ramenmanteache...
タグ: 掛算
posted at 14:19:58


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

🤯wow what a cool language. Let's take this for a spin....
#julialang #AdventOfCode twitter.com/Jas_Hughes/sta... pic.twitter.com/z7aa5qOaIe
posted at 13:41:31

OokuboTact 大久保中二病中年 @OokuboTact
#超算数
掛け算の交換法則は証明できる。
しかし小学校では式を作る時に、交換法則を禁止しているから矛盾が生まれているんだけど pic.twitter.com/i5vLybEYpW
タグ: 超算数
posted at 13:35:18




#統計 この計算はちょっと自信がないのですが(バグを発見したら教えて下さい)、負の二項分布モデル(ちょうどk=3回表が出るまで試行し続ける場合)では、a=0.37の場合がよさそうだというような計算結果が得られました。
しかし、右側のグラフを見ると、a=0.5の場合と最大予測誤差はそう変わらない。 pic.twitter.com/zF7yCB2WpU
タグ: 統計
posted at 13:21:25

#統計 続き。最適な事前分布として Beta(a, a) の形のものを探しました。n=12, k=3の場合を扱う。真の分布での表の出る確率はq=0.005:0.005:1を動かした。
二項分布モデル(試行回数n=12を固定)の場合には、qを動かしたときの期待予測誤差の最大値を最も小さくするaの値は0.51だと計算できました。 pic.twitter.com/62lcQVl1FM
タグ: 統計
posted at 13:21:24

#統計 リンク先スレッドでは仮説「表が出る確率は0.5以上」という仮説について「止め方の違い」を扱いました。
今度は、「表の出る確率の推定」について「止め方の違い」を扱ってみました。
gist.github.com/genkuroki/20c0...
twitter.com/genkuroki/stat... pic.twitter.com/CoDbz6LARY
タグ: 統計
posted at 13:21:23

かけ順とかハジキも結局、理解にマイナスだったことを死んでも認めたくない人らが抵抗してるわけじゃん、カラフルでわかりやすい黒板芸術で食ってる人が色覚異常の存在や教育への関与を認めないってのもすごーく分かるんだよ
タグ:
posted at 12:57:10

今回はグラフィカルモデルに限定しましたが、フローチャートでもネットワーク図でもなんでも書けるのが素敵ですね……Overleafのおかげで環境構築を頑張らなくてもいいし
タグ:
posted at 12:37:27

ベイズ塾 Advent Calendar 2020 の 18 日目の記事を書きました
ベイジアンモデリングで使うようなグラフィカルモデルをもっと柔軟にきれいに書きたいな〜というお話です
TikZ でグラフィカルモデルを書こう! tellnnn.netlify.app/post/others/ti...
タグ:
posted at 12:08:00

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

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

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

@nekomath271828 こんにちは。Julia初心者です。最初「素数」を「素敵」と読み違えてほっこりしていましたが、興味深かったので気を取り直して自分の勉強にやってみました。(おそらく)同じ結果を得られたようなので、プロットしてみました。100年ごとに分けると、12世紀(1100年代)に6回と多かったみたいですね。 pic.twitter.com/K2eLFL9lrK
タグ:
posted at 10:00:51

加藤公一, 가토우 기미카즈(はむかず) @hamukazu
「なんで本名出してTwitterしてるの?」って質問してくる人は「匿名でやるのがあたりまえ、本名出すのは変な人」という認識なんだと思うけど、こっちとしては本名出すのが当然って感じでインターネット以前(ニフティサーブとか)からやってるんだよなあ。
タグ:
posted at 09:55:50

People asked, and so I answer.
So how do you plot 4 dimensional data? Easy as a 🍰! Ask me again when you want 5-D or 6-D 😆
Still powered by #JuliaLang pic.twitter.com/PKDoiEDqdg
タグ: JuliaLang
posted at 09:54:15


@kamo_hiroyasu そもそも採点するとき高校の教科書や参考書に載ってるかどうかなど調べてるゆとりなんかありません.数学的に妥当かどうか見るだけで精一杯.限られた時間内で猛烈に忙しい作業です.
タグ:
posted at 09:40:14

デマの被害者かと一瞬思いましたが、「特性方程式を使う部分は証明に書かず、天下りに定数を与えて良い」(これは本当)を誤解した可能性にも思い至りました。 twitter.com/kwang_k0510/st...
タグ:
posted at 09:38:30

大学入試に関しては、「☆☆を使うと減点」はデマと考えて支障ありません。大学入試の採点をするのは大学教員であって高校教員でも予備校講師でもありません。 twitter.com/lowncrl/status...
タグ:
posted at 09:28:26

学習に限らず学校生活全般で全く同じことが起こっています。
「掛け順」や「さくらんぼ」「〇〇式指導法」などを強制して「先生の言う通り、やった通りのやり方以外は不正解」を積み重ねた結果、「言われたこと以外はやらない」ことが最善であると学習してしまっている子どもが多くなっています。 twitter.com/isa_kent/statu...
タグ:
posted at 09:16:03

あまど@Timers inc. CTO @amado_tech
じゃーどうやって話も知らずごっこ遊びをしてるのかというと、一部の子供は親に見せてもらってるので、彼ら彼女らの証言が伝聞のように伝わって「鬼滅はこんな話でこんな悪者が出てこんな戦いをする」という既成事実が子供達の間で作られているのだ。
社会学的に非常に興味深い現象だと思う。
タグ:
posted at 08:31:55

あまど@Timers inc. CTO @amado_tech
小さな子供のいない人はあまり知らないと思うんだけど、鬼滅の刃は幼稚園〜小学校低学年でもほとんどみんな知ってるレベルで大人気なのに戦闘はグロいから親は大半の親は子供に見せていない。
つまり「みんなごっこ遊びするぐらい大好きなのに誰も内容を知らない」という異常事態になってる。
タグ:
posted at 08:03:01

#統計
以下のリンク先の例は、
妥当なモデル化をできたかどうかは
事後分布を見ただけでは何も分からないこと
を意味しています。ソフトが表示した事後分布の要約を見るだけだと非常にまずいです。
未知の真の分布を想定した議論を学ばないと危ない。
自分で数値実験すれば色々わかります。 twitter.com/genkuroki/stat...
タグ: 統計
posted at 02:32:22




#統計
添付画像は、真の分布を指数分布とし、分析用モデルを正規分布族としたときの、平坦事前分布の事後分布のプロットです。データは真の分布の乱数で生成。
分析用モデルが真の分布と全然違うのに、n=160の事後分布はいい感じに台が小さくなっています(添付画像3)。
nbviewer.jupyter.org/gist/genkuroki... pic.twitter.com/nOEh6QJQGq
タグ: 統計
posted at 02:14:33







#統計 統計学を「頻度論」と「ベイズ」のように主義で分類すること自体が有害な上に、主義の違いによって、定数と確率変数のどちらになるかが決まると考えることが極めて有害。
その代わりになりそうな考え方を書いておきました(試案です)↓ pic.twitter.com/EcK32QZC24
タグ: 統計
posted at 01:47:11



#超算数 以下のリンク先のスレッドおよびそこからリンクされている別のスレッド群は、自分ちの子の割合教育についてどうしようか考えている保護者の人達にとって極めて有益だと思います。
理解すれば教科書にある割合に関する非常にまずい教え方から子供を守ることができるようになると思います。 twitter.com/temmusu_n/stat...
タグ: 超算数
posted at 00:35:33

#統計 「表が出る確率はθ以上である」という仮説を扱う場合には、「2種類の実験の止め方に対応する片側検定のexactなP値」と「ベイズ統計における事前分布(←モデル内の確率分布であることに注意)で測った仮説成立確率」の対応が非常に易しいです。
添付画像はそのために必要な数学の復習。 pic.twitter.com/jlofhYIAvq
タグ: 統計
posted at 00:17:06

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


世良公則さん、いいですね。
ほんの数年前までには、池上彰さんが言っていることがおかしいと安易に言ってはいけない雰囲気があった(私は言っていたが)。
世良公則が国民の借金問題に言及「人々は池上彰氏が発する『国民負担説』を信じている」(東スポWeb)
#Yahooニュース
news.yahoo.co.jp/articles/ea211...
タグ: Yahooニュース
posted at 00:06:20