Machine Learning Study Guide

CT115-3-M Data Analytics in Cyber Security

Study Path

Follow these steps for effective exam preparation

Key Formulas

Mean (Average)
\[ \bar{x} = \frac{\sum_{i=1}^{n} x_i}{n} \]
Sum of all values divided by count
Variance
\[ \sigma^2 = \frac{\sum_{i=1}^{n}(x_i - \bar{x})^2}{n} \]
Average of squared differences from mean
Standard Deviation
\[ \sigma = \sqrt{\sigma^2} \]
Square root of variance
Accuracy
\[ Accuracy = \frac{TP + TN}{TP + TN + FP + FN} \]
Proportion of correct predictions
Precision
\[ Precision = \frac{TP}{TP + FP} \]
Of positive predictions, how many correct?
Recall (Sensitivity)
\[ Recall = \frac{TP}{TP + FN} \]
Of actual positives, how many found?

Quick Access

Professor's Advice

Understand concepts, don't memorize. No complex calculations required - focus on definitions and knowing when to use each metric.