A confusion matrix is a fundamental evaluation metric in machine learning, used for assessing the performance of classification algorithms. It is a table that summarizes the number of correct and incorrect predictions made by a model, broken down by class. Statement 1 is correct because the confusion matrix is used for evaluation, and Statement 2 is also correct because it records the predicted vs actual outcomes, providing insights into model performance.
In the adjoining figure, $\triangle CAB$ is a right triangle, right angled at A and $AD \perp BC$. Prove that $\triangle ADB \sim \triangle CDA$. Further, if $BC = 10$ cm and $CD = 2$ cm, find the length of AD.