引導式測驗 · 中等 等級

樸素貝葉斯分類器測驗

检查朴素贝叶斯如何结合类先验和特征可能性,以及其变体如何处理计数、二进制特征和连续数据。

相關引導路徑樸素貝葉斯分類器
問題 1 的 8

樸素貝葉斯分類器的核心「樸素」假設是什麼?

預覽每個問題8 問題

當您參加測驗時,就會出現答案和解釋。

  1. 樸素貝葉斯分類器的核心「樸素」假設是什麼?
    • 給定類別,特徵是有條件獨立的
    • 類別的可能性相同
    • 所有特徵都是連續且常態分佈的
    • 資料集完美平衡
  2. 樸素貝葉斯是基於哪個定理?
    • 中心極限定理
    • Bayes’ theorem
    • 大數定律
    • The Cauchy-Schwarz inequality
  3. 為什麼實現通常對對數機率求和而不是乘以原始機率?
    • 使模型非線性
    • 將訓練速度加快到單次傳遞
    • 避免因乘以許多小數而導致數值下溢
    • 強制功能獨立性
  4. 拉普拉斯(加一)平滑解決什麼問題?
    • 它平衡了班級規模
    • 它規範化連續特徵
    • 它刪除了相關特徵
    • 它可以防止看不見的特徵強制機率為零
  5. 對於文件中的字數特徵,哪一種樸素貝葉斯變體最自然?
    • 多項式樸素貝葉斯
    • 高斯樸素貝葉斯
    • 伯努利樸素貝葉斯
    • 線性樸素貝葉斯
  6. Why might Naive Bayes be useful as a lightweight baseline?
    • 它保證任何數據集的最佳準確性
    • 它速度快、可解釋,並且在數據很少的情況下也能很好地工作
    • 它自動學習功能交互
    • 它不需要訓練數據
  7. What distribution does Gaussian Naive Bayes assume for each feature within a class?
    • A uniform distribution over every possible value
    • A multinomial distribution over word counts
    • A Gaussian (normal) distribution
    • A distribution that is always exactly zero
  8. Which feature representation fits Bernoulli Naive Bayes most naturally?
    • The number of times each word occurs
    • A continuous pixel intensity modeled by a normal curve
    • A sequence of audio frames
    • Whether each word is present or absent in a document