Docsity

Estimating Prediction on Data Mining, Schemes and Mind Maps of Technology

Partial preview of the text

Download Estimating Prediction on Data Mining and more Schemes and Mind Maps Technology in PDF only on Docsity!

Estimating the

predictive accuracy of

a Classifier

Why

Estimate

Predictive

Accuracy?

  • (^) Ensure the model generalizes well to unseen data.
  • (^) Avoid overfitting or underfitting.
  • (^) Benchmark classifier performance.

Separate Training and Test Sets What is the correct ratio in splitting the dataset?

  • (^) If you consider including validation set, use the split of:
    • (^) Training set is 70%
    • (^) Validation set is 20%
    • (^) Test set is 10%

Separate Training and Test Sets What is the correct ratio in splitting the dataset?

  • (^) If you don’t consider including validation set, use the split of:
    • (^) Training set is 80%
    • (^) Test set is 20%

k-Fold Cross Validation

N-Fold Cross Validation

  • (^) Special case of k-Fold where k = N (number of data points).
  • (^) Also called Leave-One-Out Cross Validation (LOOCV).
  • (^) Train the model on N-1 samples and test on the remaining one.
  • (^) Pros: Best utilization of data.
  • (^) Cons: Computationally expensive.

Confusion Matrix

  • (^) A table summarizing the classification results.
  • (^) Rows: Actual class, Columns: Predicted class.
  • (^) Key terms:
    • (^) True Positives (TP): Correct positive predictions.
    • (^) True Negatives (TN): Correct negative predictions.
    • (^) False Positives (FP): Incorrect positive predictions.
    • (^) False Negatives (FN): Incorrect negative predictions.

Confusion Matrix

  • (^) Metrics derived:
    • (^) Accuracy
    • (^) Precision
    • (^) Recall
    • (^) F1-score.

Confusion Matrix

Conclusion

  • (^) Use separate sets to detect overfitting.
  • (^) Cross-validation ensures robust performance estimation.
  • (^) Confusion matrix provides detailed insights into predictions.