Mit dem Guide verknüpftes Quiz · Mittel Ebene
KL-Divergenz-Quiz
Berechnen Sie die KL-Divergenz in Bits und begründen Sie Asymmetrie, Unterstützungsfehlanpassungen, Kreuzentropie und Referenzverteilungsrichtung.
Frage 1 von 8
Welche Verteilung gewichtet in D_KL(p||q) die Log-Ratio-Terme?
Sehen Sie sich jede Frage in der Vorschau an8 Fragen
Während Sie am Quiz teilnehmen, werden Antworten und Erklärungen angezeigt.
- Welche Verteilung gewichtet in D_KL(p||q) die Log-Ratio-Terme?
- p
- q
- Their unweighted average
- The distribution with larger entropy
- Warum ist die KL-Divergenz kein gewöhnlicher symmetrischer Abstand?
- It can only be negative
- Swapping p and q generally changes the value
- It has no logarithms
- It is always exactly one
- Was passiert für p(x)>0 und q(x)=0 mit dem entsprechenden Vorwärts-KL-Beitrag?
- It is always one bit
- Es wird Null
- Es divergiert bis ins Unendliche
- It is omitted regardless of p
- Warum kann im Beispiel der fairen versus voreingenommenen Münze ein Summand negativ sein, während der gesamte KL nicht negativ bleibt?
- The log base makes negative terms invalid
- Every term is required to be positive
- The formula takes an absolute value after summing
- Individual log ratios can be negative, though the weighted total is nonnegative
- Welche Einheit ergibt sich aus der Verwendung von Logarithmen zur Basis zwei?
- Nats
- Bits
- Meters
- Percent points
- How does cross-entropy relate to entropy and forward KL?
- It is always zero when q differs
- It equals D_KL(Q||P) minus entropy
- H(P,Q) = H(P) + D_KL(P||Q)
- It is the reciprocal of KL
- In SciPy's entropy(pk, qk), what does supplying qk request?
- A test of whether probabilities are independent
- Only Shannon entropy of qk
- A symmetric distance between both arrays
- Relative entropy using pk relative to qk
- Which statement about continuous KL is accurate?
- It integrates a log density ratio under P and is infinite if P puts positive mass where Q has zero density
- It sums point probabilities at every real-valued outcome
- It is always finite whenever both distributions have densities
- It has no support condition for the compared distributions