並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 30 件 / 30件

新着順 人気順

bayesの検索結果1 - 30 件 / 30件

  • Naïve Bayes for Machine Learning – From Zero to Hero

    Before I dive into the topic, let us ask a question – what is machine learning all about and why has it suddenly become a buzzword? Machine learning fundamentally is the “art of prediction”. It is all about predicting the future, based on the past. The reason it is a buzzword is actually not about data, technology, computing power or any of that stuff. It’s just about human psychology! Yes, we hum

      Naïve Bayes for Machine Learning – From Zero to Hero
    • Think Bayes 2 — Think Bayes

      Think Bayes 2# by Allen B. Downey Think Bayes is an introduction to Bayesian statistics using computational methods. Print and electronic versions of this book are available from Bookhop.org, Amazon, and O’Reilly Media. For each chapter, there is a Jupyter notebook, below, where you can read the text, run the examples, and work on the exercises. You can read the free version of the book by followi

      • Likelihood and the Bayes procedure

        In this paper the likelihood function is considered to be the primary source of the objectivity of a Bayesian method. The necessity of using the expected behavior of the likelihood function for the choice of the prior distribution is emphasized. Numerical examples, including seasonal adjustment of time series, are given to illustrate the practical utility of the common-sense approach to Bayesian s

          Likelihood and the Bayes procedure
        • Bayes Rules! An Introduction to Applied Bayesian Modeling

          Bayes Rules! An Introduction to Applied Bayesian Modeling Alicia A. Johnson, Miles Q. Ott, Mine Dogucu 2021-12-01 News In addition to this online version, Bayes Rules! is now available in print by CRC Press. The book is 20% off with the discount code BRD20. For other information and resources related to the book, check out https://bayes-rules.github.io/.

          • A practical tutorial on Variational Bayes

            This tutorial gives a quick introduction to Variational Bayes (VB), also called Variational Inference or Variational Approximation, from a practical point of view. The paper covers a range of commonly used VB methods and an attempt is made to keep the materials accessible to the wide community of data analysis practitioners. The aim is that the reader can quickly derive and implement their first V

            • Think Bayes 2 — Think Bayes

              Think Bayes 2# by Allen B. Downey Think Bayes is an introduction to Bayesian statistics using computational methods. Print and electronic versions of this book are available from Bookhop.org, Amazon, and O’Reilly Media. For each chapter, there is a Jupyter notebook, below, where you can read the text, run the examples, and work on the exercises. You can read the free version of the book by followi

              • 自然言語処理を用いたAmazonレビューの分類(Naive Bayes編) - Qiita

                本記事ではAmazonレビューを元に、それが高評価か低評価か判断するタスクを取り扱います。 使うモデルはNaive BayesとBERTで今回はNaive Bayesを取り上げます。 BERTはこの記事をご覧ください。 Naive Bayesとは 今回は多項モデルではなく、ベルヌーイモデルを扱います。 ナイーブベイズはベイズの定理を応用した統計的手法です。 例としてある文章dがITというカテゴリーに含まれるかどうか考えてみることにします。 Naive Bayesではある文章dが与えられたときカテゴリITである確率を考えます。 各カテゴリに対して確率を計算し、最も確率が高いカテゴリに分類するというわけです。 これを事後確率といい次の式で表せます。 $$ P(IT|d) = \frac{P(IT)P(d|IT)}{P(d)} \propto P(IT)P(d|IT) $$ P(d) はどのカテ

                  自然言語処理を用いたAmazonレビューの分類(Naive Bayes編) - Qiita
                • Bayes1

                  ベイズ統計学についての入門的な資料です 第二回の資料はこれです https://www.slideshare.net/MANA55/bayes2Leer menos

                    Bayes1
                  • Bayes theoremとHMMとViterbi Algorithm 備忘録 - Qiita

                    概要 よく参考にさせていただいている元Google brainのYouTuberの動画がすごくわかりやすかったので、Wikipediaの例に置き換えて書き残す。 前半はHMM(Hidden Markov Model)をBayes theorem視点から理解し、後半はその行動(observation)が連なったときに使用するcomputational costの低いViterbi algorithmについて理解する。 また最後にpomegranateの使い方も少し残す。 ここで扱うWikipediaの例とは - Hidden state: rainy, sunny - Observation: walk, shop, clean のよくあるHMMである。 またパケージは旧来のHMMlearnではなく、より高機能なpomegranateを使用する。 実施期間: 2021年12月 環境:Ubun

                      Bayes theoremとHMMとViterbi Algorithm 備忘録 - Qiita
                    • How Good is the Bayes Posterior in Deep Neural Networks Really?

                      During the past five years the Bayesian deep learning community has developed increasingly accurate and efficient approximate inference procedures that allow for Bayesian inference in deep neural networks. However, despite this algorithmic progress and the promise of improved uncertainty quantification and sample efficiency there are---as of early 2020---no publicized deployments of Bayesian neura

                      • SQ-VAE: Variational Bayes on Discrete Representation with Self-annealed Stochastic Quantization

                        One noted issue of vector-quantized variational autoencoder (VQ-VAE) is that the learned discrete representation uses only a fraction of the full capacity of the codebook, also known as codebook collapse. We hypothesize that the training scheme of VQ-VAE, which involves some carefully designed heuristics, underlies this issue. In this paper, we propose a new training scheme that extends the standa

                        • Nonparametric Bayes Tutorial

                          This tutorial took place at the 2016 Machine Learning Summer School (MLSS) at the University of Cádiz in Cádiz, Spain. See this link for the latest versions and videos of this tutorial. Monday, May 16 Part I: 9:00–10:30 AM Part II: 10:45–11:45 AM Part III: 12:00–1:30 PM Instructor: Professor Tamara Broderick Email: Description Nonparametric Bayesian methods make use of infinite-dimensional mathema

                          • マーキュリー2世 on Twitter: "神経科学はp値に頼って効果があることのエビデンスを求めてきたが、これからは効果がないことのエビデンスを示すのにベイズを使うことを推奨。ベイジアンt検定/ANOVAでの例をシンプルなチュートリアル形式で示す。Using Bayes… https://t.co/cVLswJViEl"

                            神経科学はp値に頼って効果があることのエビデンスを求めてきたが、これからは効果がないことのエビデンスを示すのにベイズを使うことを推奨。ベイジアンt検定/ANOVAでの例をシンプルなチュートリアル形式で示す。Using Bayes… https://t.co/cVLswJViEl

                              マーキュリー2世 on Twitter: "神経科学はp値に頼って効果があることのエビデンスを求めてきたが、これからは効果がないことのエビデンスを示すのにベイズを使うことを推奨。ベイジアンt検定/ANOVAでの例をシンプルなチュートリアル形式で示す。Using Bayes… https://t.co/cVLswJViEl"
                            • Variational Bayes and The Mean-Field Approximation

                              This post is going to cover Variational Bayesian methods and, in particular, the most common one, the mean-field approximation. This is a topic that I've been trying to understand for a while now but didn't quite have all the background that I needed. After picking up the main ideas from variational calculus and getting more fluent in manipulating probability statements like in my EM post, this va

                              • Logistic Regression from Bayes' Theorem — Count Bayesie

                                In this post we'll take a helpful look at the relationship between Bayes' Theroem and logistic regression. Despite being a very commonly used tool in statistics, machine learning and data science, I've found people frequently get confused about the details of how logistic regression actually works. By showing you how you can derive logistic regression from Bayes' theorem you should have a much eas

                                  Logistic Regression from Bayes' Theorem — Count Bayesie
                                • 単純ベイズ分類器(Naive Bayes Classifier ) とは - 解説OctOpt 技術ブログ

                                  はじめに ベイズ定理を利用した分類機を、ナイーブベイズ分類器とよびます。スパムフィルターとして使われており、聞いたことがある人も少なくないと思います。ベイズ分類器は実装が簡単な上に、出力値が確率であるため扱いやすく、ポピュラーな学習モデルです。 当サイトでは長い理論説明はせず、必要最低限の数式をで説明していこうと思います。 具体的なベイズ定理 男性のタバコを吸う人が肺癌になる確率 を求めます。タバコを吸ったら肺がんになるという確率は普通はわかり得ません。ただこの確率が、世の中の肺がん率、喫煙率、肺癌患者の喫煙率が解れば、ベイズ推定で求めることができるのです。 ベイズ式は以下のように表されます。 Pr( A | B ) = Pr( B | A ) * Pr( A ) / Pr( B ) それぞれは次のとおり定義します。 Pr( A ) = 肺癌率 Pr( B ) = 喫煙率 Pr( A |

                                  • 読了: Little(2011) Calibrated Bayesアプローチからみた欠損データ分析 | 読書日記

                                    Little, R. (2011) Calibrated Bayes, for Statistics in General, and Missing Data in Particular (with comments and a rejoinder). Statistical Science, 26(2), 162-186. 統計学者Little先生があちこちで提案している Calibrated Bayes アプローチについて調べていて、その一環として読んだ奴。 良く引用されるLittle(2011)は2012年にメモをとりながら読んでいたのだが、私には話が大きすぎ、いまいち雲をつかむような感じでよく分からなかった。この論文は「欠損データ」と問題が狭く指定されているので、もう少しわかりやすいかと思ったのだが… この論文には2人の論者によるコメント、そして著者の返答がついている。そちらも合わ

                                    • 小学生でも解けるベイズの定理の問題(ベイズの定理を使わない解法)How to Solve Bayes' Theorem Problems without Bayes' Theorem - Qiita

                                      小学生でも解けるベイズの定理の問題(ベイズの定理を使わない解法)How to Solve Bayes' Theorem Problems without Bayes' TheoremPythonstatisticsAIprobabilitybayesian ベイズ則の定理 P(X=x|Y=y)P(Y=y)=P(Y=y|X=x)P(X=x) ベイズの定理といえば、確率では有名な定理だが、これを小学生は解くことが出来るだろうか?最近、ベイズの定理を使わずベイズの定理を解く方法を考えた。以前はベイズの定理を使わず、解こうなんて事は考えなかったが、たまたま考えてみることになった。そうすると5分以内で解法を思いついた。 (問題)ある街の子どもたちは毎日1/4の確率で飴玉をもらうことができ,飴玉をもらうと1/2の確率で笑顔になるという。その街の,笑顔な子どもが飴玉をもらっている確率を求めよ。(ただし,

                                        小学生でも解けるベイズの定理の問題(ベイズの定理を使わない解法)How to Solve Bayes' Theorem Problems without Bayes' Theorem - Qiita
                                      • 実務を彩るNaive-Bayes ~自社HP判定モデル~ - Qiita

                                        こんにちは、スクラムサインの大塚です。私はスクラムサインのインターン生として、Naive-Bayesを用いたクラス分類アルゴリズムを実装していました。今回はNaive-Bayesの解説と、実務で実際にどのようにそれを利用したかをまとめて紹介いたします。 目次 ・まず、Naive-Bayesとはそもそも何か? 1.ベイズの定理 2.Naive-Bayesの数式モデル 3.NaiveなBayesの意味とは? ・Pythonを用いた実装方法 1. データの用意 2. データの前処理 3. 学習 4. 予測 5. 精度の評価 ・まとめ まず、Naive-Bayesとはそもそも何か? Naive-Bayesとは、ベイズの定理をもとにした、教師あり学習アルゴリズムのことです。 特に分類タスク向けのアルゴリズムで、文書データに対してよい結果を出すことが知られています。 このNaive-Bayesについて

                                          実務を彩るNaive-Bayes ~自社HP判定モデル~ - Qiita
                                        • 事前確率分布の推定とBayes推論

                                          Online ISSN : 1884-1236 Print ISSN : 0022-7668 ISSN-L : 0022-7668

                                          • Variational Bayes 入門 – MIIDAS Science Blog

                                            こんにちは。 本日は変分ベイズやります。ちなみに呼び方はいくつかありまして、変文ベイズ、変分推論、Variational Approximation(変分近似)など。 変分とは? そもそも変分ってなに!って感じですよね。実はこれ微分方程式とか汎関数とかが関わってます。 例えば点推定である最尤法はスコア関数(対数尤度)を微分して解を求めますよね。変分法はこれを拡張した概念です。 つまり、関数の関数の微分が変分です。 変分とは汎関数の微分です。詳しくは調べていただくとすぐわかりますが例えば最短曲線など求めるときはオイラーラグランジュ方程式と変分法を用いたりします。 変分ベイズとは? 事後分布を求める手法の一つです。MCMCと同じ感じ?と思った方もおられると思います。はい、MCMCも事後分布を求める手法です。 mcmc入門-gibbs-sampling ではもういきなりですがVBとMCMCどっち

                                            • Bayes推定 | CCT-recruit

                                              はじめに 先の投稿でBayes推定に触れた。今回は、回帰問題を例に取り、最尤推定・MAP推定・Bayes推定を統一的に解説したい。 尤度・事後分布・事前分布 最初に先の解説の一部を再掲載する。 いま、が観測されているとする。が説明変数、が目的変数である。このとき、潜在変数を導入し、同時確率分布を考える。この分布にBayesの定理を適用すると次式を得る。 (1) ただし、式変形の途中で、を用いた。式(1)の左辺にあるを事後分布、右辺の分子にあるを尤度、を事前分布、右辺分母にあるをモデルエビデンスと呼ぶ。いま、事後分布の依存性に注目すると、式(1)の右辺分母は定数と見なすことができる。したがって (2) と書くことができる。尤度と事前分布に、をパラメータとして持つ適当な関数を仮定し回帰問題を解くことになる。 最尤推定 最尤推定では式(2)の右辺にある尤度を潜在変数について最大化することにより回

                                              • ナイーブベイズ( Naive Bayes)とは?確率に基づいて分類する手法!!

                                                学習データ6件から検証データのカテゴリを推定する方法は、 学習データには野球のデータが3件、サッカーのデータ3件があり、単純に考えると検証データのカテゴリが「野球」である確率は50%(3/6)です。 この方法だと、検証データの内容によらずカテゴリに分類される確率は変わらないので、ナイーブベイズでは文章中に含まれる単語をもとにカテゴリの推定をします。 検証データに含まれる「失点」という単語に着目すると、野球のデータの中に「失点」という単語が含まれる確率は66%(2/3)で、サッカーのデータの中に「失点」という単語が含まれる確率は33%(1/3)です。

                                                  ナイーブベイズ( Naive Bayes)とは?確率に基づいて分類する手法!!
                                                • 波束の収縮という概念と量子論的Bayesの原理

                                                  Online ISSN : 1884-1236 Print ISSN : 0022-7668 ISSN-L : 0022-7668

                                                  • Beginners guide to Naïve Bayes algorithm (Part 1) - Qiita

                                                    The Naïve Bayes algorithm is one of the fundamental things to study when studying statistics of artificial intelligence. Here I'm going to explain naive Bayes. Probability vs likelihood. Generally, in machine learning, we know that past incidents (data points) are widely used to predict the future. It is not only mattering what happened in the past but also how probable it will be replicated in th

                                                      Beginners guide to Naïve Bayes algorithm (Part 1) - Qiita
                                                    • Bayes推論について

                                                      Online ISSN : 1884-1236 Print ISSN : 0022-7668 ISSN-L : 0022-7668

                                                      • RとStanでBayes A/Bテスト - Qiita

                                                        背景・目的 サイト改善などで一般に用いられるABテストにおいて、2群の反応率(CVRなど)の差の有無をχ2乗検定などの統計的仮説検定で判断する場合、サンプルサイズが十分でないとタイプ2エラーになり、誤った評価をする可能性がある 詳しくは、以前の記事(Power Analysisとサンプルサイズの決め方)に記載している そのため、ABテストを正しく行うにためは差があった場合に正しく検出できるだけのサンプルサイズを確保する必要がある しかし、実際にはサンプルを集めるのにコストがかかる/サービス規模の都合上、サンプルが集まりづらい、などの自乗で十分なサンプルサイズがない場合も多い また、χ2二乗検定では、有意差の有無しかわからず、差異の程度やどれくらいの確率で差があるか等がわからないという欠点もある 上記の2点を克服する方法としては、ベイズ統計学の枠組みで比率の差を扱う「ベイズABテスト」が有効

                                                          RとStanでBayes A/Bテスト - Qiita
                                                        • Beginners guide to Naïve Bayes algorithm (Part 2) - Qiita

                                                          Continue from the last article... What is Naïve Bayes? It is named Naïve since it is Naïve. Because it pretends that the appearance of a particular feature in a class is irrelevant to any other feature's appearance. Let us take an example. Fruit can judge as orange if the fruit colouration is orange, the shape is round, and the diameter is 2.5 inches. All those characteristics independently contri

                                                            Beginners guide to Naïve Bayes algorithm (Part 2) - Qiita
                                                          • Santiago Alonso Diaz on Twitter: "Vienen tests para detectar coronavirus pero antes de pánicos o alegrías vale la pena recordar a nuestro amigo Bayes… https://t.co/QPphHO8UIa"

                                                            Vienen tests para detectar coronavirus pero antes de pánicos o alegrías vale la pena recordar a nuestro amigo Bayes… https://t.co/QPphHO8UIa

                                                              Santiago Alonso Diaz on Twitter: "Vienen tests para detectar coronavirus pero antes de pánicos o alegrías vale la pena recordar a nuestro amigo Bayes… https://t.co/QPphHO8UIa"
                                                            • 『A. Gelman "Philosophy and the practice of Bayes"』

                                                              先日、生態学や動物行動学系と科学哲学の研究者・大学院生が統計数理研究所に集まってセミナーを開催しました。 私はA. Gelmanによる表題の論文に関して内容を紹介しました。 以下に論文へのリンクと、セミナー時に配布したレジュメを添付します。 https://onlinelibrary.wiley.com/doi/full/10.1111/j.2044-8317.2011.02037.x https://www.dropbox.com/s/qurwsw9ixfw7ln9/Philosophy%20and%20the%20practice%20of%20Bayesian%20statistics.docx.pdf?dl=0 ごく簡潔にGelmanの主張を紹介すると、 1. ベイズ統計学は、科学哲学の”ベイズ主義”の影響をうけて長らく以下のように解釈されてきた: ・ベイズ統計は、データを使って事

                                                                『A. Gelman "Philosophy and the practice of Bayes"』
                                                              1