LDA creates predictions by calculating the likelihood that a fresh set of inputs falls into each of the classes. The output class is the one with the highest probability, and a forecast is produced.