We prove a large deviation principle for kernel-type empirical distributions. We introduce a metric in the space of distributions on R<sup>dsup> so as to give a simple proof of the principle of large deviation. As an application, we show a smoothed version of the Dvoretzky–Kiefer–Wolfowitz inequality.