Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sklearn support vector machine

from sklearn import svm
X = [[0, 0], [2, 2]]
y = [0.5, 2.5]
regr = svm.SVR()
regr.fit(X, y)

regr.predict([[1, 1]])
 
PREVIOUS NEXT
Tagged: #sklearn #support #vector #machine
ADD COMMENT
Topic
Name
6+2 =