Skip to content

Instantly share code, notes, and snippets.

View narrowlyapplicable's full-sized avatar
🏯
stay castle

narrowly☔️⭐️ narrowlyapplicable

🏯
stay castle
View GitHub Profile
@narrowlyapplicable
narrowlyapplicable / 8.1.1.add&view-structure.ipynb
Created May 9, 2021 06:05
船津, 柴山『実践 マテリアルズインフォマティクス』より、RDKitの変更により機能しない部分を修正したもの
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@narrowlyapplicable
narrowlyapplicable / LICENSE
Created July 27, 2020 15:21
This license applies to all public gist <https://gist.github.com/narrowlyapplicable>
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
@narrowlyapplicable
narrowlyapplicable / replica-exchange.ipynb
Created July 22, 2020 23:36
PyStanによるレプリカ交換モンテカルロの実装例。基本的に@hankagosa さんの<http://statmodeling.hatenablog.com/entry/stan-parallel-tempering>をベースに実装。
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@narrowlyapplicable
narrowlyapplicable / FactorVAE.ipynb
Last active December 1, 2019 13:26
PyTorch練習用-FactorVAEの実装写経
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@narrowlyapplicable
narrowlyapplicable / tfp-replica_exchange.ipynb
Last active October 5, 2019 14:52
Tensorflow Probability の ReplicaExchangeMC で <http://statmodeling.hatenablog.com/entry/stan-parallel-tempering> を再現しようとした例。局所解を抜け出すことはできず、元記事の結果を再現できなかった。(ただしより簡単な初期値では成功した"tfp-replica_excahnge_easy.ipynb")
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@narrowlyapplicable
narrowlyapplicable / GPy_note.ipynb
Created May 27, 2019 14:43
GPyのGPRegressionにPriorを設定し、MCMCで推定する方法
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@narrowlyapplicable
narrowlyapplicable / GP&TPonSinWave.ipynb
Last active May 28, 2019 12:39
簡単なトイデータによるガウス過程とStudent-t過程の比較。TPの挙動が興味深かったので保存。補足としてGPyのMCMC実行例。[日本語資料が少ない気がするのでお役に立てば。]
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@narrowlyapplicable
narrowlyapplicable / structural-changes-withCRP.ipynb
Last active September 25, 2021 09:37
ディリクレ過程(中華料理店過程)に基づく構造変化推定のPython実装。MLPシリーズ『ノンパラメトリックベイズ』(佐藤)§6の例題を再現している。
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@narrowlyapplicable
narrowlyapplicable / simple-example of lifetime.ipynb
Last active September 1, 2018 07:07
軸受寿命データを用いた簡単な生存時間解析例。データおよびモデルは"Bayesian reliability" <https://www.amazon.co.jp/dp/1441926739/ref=cm_sw_r_tw_dp_U_x_uFIIBbM7MBDZZ> より引用した。
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@narrowlyapplicable
narrowlyapplicable / WAIC&WBIC with pystan-lowiter.ipynb
Created August 27, 2018 12:51
[補足]WAIC&WBIC with pystan - iterを少なく取った場合
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.