Questionário vinculado ao guia · Médio Nível

Questionário de coeficiente de correlação de Matthews

Teste o raciocínio de matriz de confusão, cálculos de MCC e armadilhas de desequilíbrio de classe com exemplos de filtros de spam e detecção de defeitos.

Caminhos de guia relacionadosCoeficiente de Correlação de Matthews
Pergunta 1 de 8

Um filtro rotula todas as 1.000 mensagens como legítimas quando 990 são realmente legítimas. Por que sua precisão de 99% é evidência insuficiente de detecção útil de spam?

Visualize cada pergunta8 perguntas

As respostas e explicações aparecem conforme você responde ao teste.

  1. Um filtro rotula todas as 1.000 mensagens como legítimas quando 990 são realmente legítimas. Por que sua precisão de 99% é evidência insuficiente de detecção útil de spam?
    • Every majority-class error receives more weight than a spam error
    • Accuracy alone establishes that both classes have high recall
    • The filter has detected none of the ten spam messages
    • An MCC of 0.99 follows directly from this accuracy
  2. Qual valor resulta da matriz de confusão de brinquedos do guia com 40 verdadeiros positivos, 40 verdadeiros negativos e 10 de cada erro?
    • MCC of 0.6
    • MCC of 0.8
    • MCC of 0.4
    • MCC of 1.0
  3. Um relatório interpreta um MCC de 0,6 como “60% dos casos estavam corretos”. Como essa interpretação deveria ser corrigida?
    • It means 60% of positive cases were found
    • It means 60% of predicted positives were correct
    • It means the model is calibrated at 60% confidence
    • MCC is a correlation measure, not the percentage classified correctly
  4. Para dados binários contendo ambas as classes, um classificador inverte todos os rótulos perfeitamente. Qual valor da MCC descreve esse relacionamento?
    • 0
    • -1
    • 0,5
    • 1
  5. Uma fábrica avalia os defeitos perdidos de forma diferente das inspeções desnecessárias. Que provas adicionais são necessárias juntamente com a MCC?
    • A single pooled count of all mistakes, without their types
    • Only the accuracy at the current operating threshold
    • The error counts and their operational costs
    • Only a probability-calibration plot, without error counts
  6. Which inputs are appropriate for scikit-learn's matthews_corrcoef in the workflow described?
    • Observed labels and predicted labels
    • Observed labels and unthresholded probability estimates
    • Predicted probabilities and their rounded copies
    • Training labels and labels from unrelated evaluation cases
  7. Why does predicting a single class for every case require care when interpreting the binary MCC formula?
    • The score must equal the majority-class accuracy
    • The absent predicted class can be ignored without affecting the formula
    • Perfect recall for the chosen class makes the denominator one
    • One denominator factor becomes zero
  8. When extending an MCC report to three classes, which approach matches the guide?
    • Compute three binary MCC values and take their unweighted mean
    • Use a multiclass MCC implementation and inspect the confusion matrix
    • Merge the two rarest classes before interpreting the original task
    • Use overall accuracy as the multiclass definition of MCC