In one-hot encoding, the categorical parameters will prepare separate columns for Dog, Cat, Sheep, Horse, and Lion labels. So, wherever there is a Dog, the values will be [10000], Cat [01000], Sheep [00100], Lion [00001], and Horse [00010]. Once this process is complete and the data is now in numerical form, the data can be fed to your machine learning model for understanding.