{"title":"\u4e2d\u83ef\u6599\u7406\u5e97\u904e\u7a0b (CRP: Chinese Restaurant Process) \u306eJulia 1.0\u5b9f\u88c5","provider_name":"Hatena Blog","blog_url":"https://eqseqs.hatenablog.com/","blog_title":"\uff08\u65e7\uff09\u53cd\u9762\u6559\u5e2b\u3042\u308a\u5b66\u7fd2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Feqseqs.hatenablog.com%2Fentry%2F2018%2F10%2F07%2F001556\" title=\"\u4e2d\u83ef\u6599\u7406\u5e97\u904e\u7a0b (CRP: Chinese Restaurant Process) \u306eJulia 1.0\u5b9f\u88c5 - \uff08\u65e7\uff09\u53cd\u9762\u6559\u5e2b\u3042\u308a\u5b66\u7fd2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://eqseqs.hatenablog.com/entry/2018/10/07/001556","height":"190","author_name":"eqseqs","categories":["Julia","\u78ba\u7387\u7d71\u8a08"],"published":"2018-10-07 00:15:56","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/e/eqseqs/20181007/20181007001127.png","description":"\u89b3\u6e2c\u30c7\u30fc\u30bf$x_1,\\cdots,x_N \\sim \\mathcal N(x; \\mu, \\Lambda^{-1})$\u306b\u3064\u3044\u3066\uff0c \u30af\u30e9\u30b9\u30bf$s_1,\\cdots,s_N \\sim \\mathrm{C}\\mathrm{R}\\mathrm{P} (\\alpha)$\u3092\u751f\u6210\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\uff0e \u89b3\u6e2c\u30c7\u30fc\u30bf\u304c\u4e2d\u83ef\u6599\u7406\u5e97\u306e\u5ba2\uff0c\u30af\u30e9\u30b9\u30bf\u756a\u53f7\u304c\u30c6\u30fc\u30d6\u30eb\u756a\u53f7\u306b\u5bfe\u5fdc\u3059\u308b\uff0e Julia\u306f\u76f4\u611f\u7684\u306b\u66f8\u3051\u3066\u4e2d\u3005\u697d\u3057\u3044\uff0e using Distributions using Plots using LinearAlgebra function sample_CRP(X::Matrix{Float64}, alpha::Float\u2026","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/eqseqs/","width":"100%","type":"rich","version":"1.0"}