Attribute information

For each entry in the dataset, the following is provided:

  • Triaxial acceleration from the accelerometer and the approximate acceleration of the body
  • Triaxial angular velocity from the gyroscope
  • Time and frequency domain variables with 561-feature vector
  • Various labels of activity
  • An identifier of the subject who was observed

By referring to the following steps, you will learn how to build a multi-class classification using SVMs:

  1.  Let's quickly import all the necessary libraries that you will need in order to implement an SVM with multi-class classification:
In [1]: import numpy as np...     import pandas as pd...     import matplotlib.pyplot as plt ...     %matplotlib inline...     from sklearn.utils import shuffle... from sklearn.svm ...

Get Machine Learning for OpenCV 4 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.