Gauging the amount of electricity a plant can produce using SVMs
Support Vector Machines (SVMs) have gained popularity over the years. These very powerful models use kernel tricks to model even the most complicated relationships between the dependent and independent variables.
In this recipe, using artificially generated data, we will show the real power of SVMs.
To execute this recipe, you will need
Matplotlib. No other prerequisites are required.
How to do it…
In this recipe, we will test SVM for regression with four different kernels (the
import sys sys.path.append('..') # the rest of the imports import helper as hlp import pandas as pd import numpy as np import sklearn.svm as sv ...