Support Vector Machine (SVM) is a machine learning algorithm that falls into the category of supervised learning. SVM works by constructing an optimal hyperplane that separates two classes in a feature space. This hyperplane is chosen in such a way that it has a maximum margin, which is the largest distance between data points from both classes. In addition to the hyperplane, hyperparameters ar…