🌈 搜索
📅  最后修改于: 2022-03-11 14:55:53.348000             🧑  作者: Mango
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]])