Category: Data, machine-learning

Join the DZone community and get the full member experience. SVM can be applied on regression problems as well as classification problems, however, here I describe a classification application on a cancer dataset.

The objective is to find the line passing as far as possible from all points – the maximum margin hyperplane

The main idea behind a kernel function is a transform done to the training data to improve its resemblance to a linearly separable set of data.

The model selection section of the scikit-learn library provides the train_test_split() method that enables a seamless division of data into the training data and test data.

Related Articles