1. A method comprising: generating synthetic data related to known defect patterns on surfaces of magnetic media using parameterized rules; training a classifier model with the synthetic data so that the classifier model learns how to detect and identify defect patterns on magnetic media; validating performance of the classifier model by using real detect pattern data; and deploying the classifier model for use in identifying defective patterns from data collected from magnetic media test specimens.