引導式測驗 · 中等 等級

邏輯迴歸測驗

檢查 sigmoid 和 softmax 機率、交叉熵擬合、對數賠率解釋、決策閾值和正規化選擇。

相關引導路徑邏輯迴歸
問題 1 的 8

儘管有它的名字,邏輯回歸實際上是用來做什麼的?

預覽每個問題8 問題

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

  1. 儘管有它的名字,邏輯回歸實際上是用來做什麼的?
    • 分類
    • 預測連續數字
    • 對未標記資料進行聚類
    • 減少尺寸
  2. sigmoid(邏輯)函數在模型中扮演什麼角色?
    • 它選擇特徵的數量
    • 它將任何值映射到 0 到 1 之間的機率
    • 它消除了異常值
    • 它對資料進行聚類
  3. 邏輯迴歸在訓練過程中最小化哪個損失函數?
    • 均方誤差
    • 慣性
    • 對數損失(交叉熵)
    • 鉸鏈損失
  4. 為什麼邏輯迴歸重視可解釋性?
    • 它不使用數學
    • 它隱藏了其內部邏輯
    • 它總是預測 50%
    • 每個權重顯示一個特徵如何改變結果的對數幾率
  5. 邏輯迴歸通常如何將機率轉換為類別標籤?
    • 它應用一個閾值,通常為 0.5
    • 它總是選擇頭等艙
    • 它平均鄰居
    • 它使用隨機選擇
  6. 邏輯迴歸如何與神經網路連結?
    • 與他們無關
    • 神經網路的最終 sigmoid 或 softmax 層本質上是邏輯回歸
    • 它取代了所有隱藏層
    • 它只能在 GPU 上運行
  7. What does convexity tell us about the binary logistic-regression negative log-likelihood?
    • It guarantees exactly one finite solution for every dataset
    • It makes the model immune to mislabeled examples
    • A finite local minimum is global, but convexity alone does not guarantee uniqueness
    • It means the decision boundary must be nonlinear
  8. What can complete separation imply for unregularized logistic-regression maximum likelihood?
    • The model must misclassify every training example
    • The sigmoid stops mapping scores to probabilities
    • The optimizer automatically adds regularization
    • There may be no finite maximum-likelihood estimate because coefficients can grow without bound