In computer data storage, partial-response maximum-likelihood (PRML) is a method for converting a weak analog signal from the head of a magnetic disk or tape drive into a digital signal. PRML attempts to correctly interpret even small changes in the analog signal, whereas peak detection relies on fixed thresholds. Because PRML can correctly decode a weaker signal, it allows higher density of data recording. In computer data storage, partial-response maximum-likelihood (PRML) is a method for converting a weak analog signal from the head of a magnetic disk or tape drive into a digital signal. PRML attempts to correctly interpret even small changes in the analog signal, whereas peak detection relies on fixed thresholds. Because PRML can correctly decode a weaker signal, it allows higher density of data recording.