Support Vector Machine (SVM) Math: Building & Applying SVM Models in Python

Math    |    Intermediate
  • 10 videos | 1h 34m 21s
  • Includes Assessment
  • Earns a Badge
Rating 5.0 of 4 users Rating 5.0 of 4 users (4)
Support vector machines (SVMs) are a popular tool for machine learning enthusiasts at any level. They offer speed and accuracy, are computationally uncomplicated, and work well with small datasets. In this course, learn how to implement a soft-margin SVM classifier using gradient descent in the Python programming language and the LIBSVM library to build a support vector classifier and regressor. For your first task, generate synthetic data that can be linearly separated by an SVM binary classifier, implement the classifier by applying gradient descent, and train and evaluate the model. Moving on, learn how to use a pre-built SVM classifier supplied by the LIBSVM module. Then use LIBSVM to train a support vector regressor, evaluate it, and use it for predictions. Upon completion, you'll know how to work with custom SVM classifiers and pre-built SVM classification and regression models.


  • Discover the key concepts covered in this course
    Use scikit-learn to generate blob data that is linearly separable
    Separate a dataset into training and test sets
    Code the steps to apply gradient descent to find the optimum hyperplane
    Load a dataset from a csv file into a pandas dataframe and analyze it in preparation for binary classification
  • Generate a heatmap to visualize the correlations between features in a dataset
    Build and evaluate an svm classifier and recognize the importance of scaling the inputs to such a model
    Use boxplots, a pair plot, and a heatmap to analyze a dataset in preparation for training a regression model
    Build and evaluate an svm regressor from the libsvm library
    Summarize the key concepts covered in this course


  • 2m 48s
  • 10m 59s
  • Locked
    3.  Preparing Data for an SVM Classifier
    9m 2s
  • Locked
    4.  Training and Evaluating an SVM Model
    11m 43s
  • Locked
    5.  Analyzing a Dataset for a Binary Classifier
    11m 52s
  • Locked
    6.  Visualizing the Relationships between Features
    7m 52s
  • Locked
    7.  Training and Evaluating the LIBSVM Classifier
    12m 48s
  • Locked
    8.  Analyzing the Data for Support Vector Regression
    12m 8s
  • Locked
    9.  Building a Support Vector Regressor
    12m 50s
  • Locked
    10.  Course Summary
    2m 19s


Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.


Rating 4.7 of 46 users Rating 4.7 of 46 users (46)
Rating 4.5 of 2 users Rating 4.5 of 2 users (2)
Rating 4.2 of 32 users Rating 4.2 of 32 users (32)