第22章付録:深層学習のための数学
22.9.6. Exercises22.9.6 練習問題
- Consider the dataset with labels given by the XOR of the two elements . What are the probabilities for a Naive Bayes classifier built on this dataset. Does it successfully classify our points? If not, what assumptions are violated?
英語のヒント
二つの要素のXORで与えられるラベルをもつデータセットを考えよ。このデータセットで作ったナイーブベイズ分類器の確率は何か。点をうまく分類できるか。できないなら、どの仮定が破られているか。 - Suppose that we did not use Laplace smoothing when estimating probabilities and a data example arrived at testing time which contained a value never observed in training. What would the model output?
英語のヒント
確率を推定するときにラプラス平滑化を使わず、テスト時に、訓練では一度も観測されなかった値を含むデータの例が来たとする。モデルは何を出力するか。 - The naive Bayes classifier is a specific example of a Bayesian network, where the dependence of random variables are encoded with a graph structure. While the full theory is beyond the scope of this section (see Koller and Friedman (2009) for full details), explain why allowing explicit dependence between the two input variables in the XOR model allows for the creation of a successful classifier.
英語のヒント
ナイーブベイズ分類器は、確率変数の依存関係がグラフ構造で表されるベイジアンネットワークの具体例である。完全な理論はこの節の範囲を超えるが(詳しくはKoller and Friedman(2009)を参照)、XORのモデルで二つの入力変数の間の明示的な依存を許すと、うまくいく分類器を作れる理由を説明せよ。