zealberth / lssvr

Least Squares Support Vector Regression
MIT License
57 stars 21 forks source link

How can i get the coef like SVR in your code(LSSVR) #13

Open xiaohangguo opened 1 year ago

xiaohangguo commented 1 year ago

Hello, when I use LSSVR for regression prediction, I will get a multiple regression coefficient equation. How can I get regression coefficients when using your code?

When i use the SVR i get it with the code :svr.coef_

svr = SVR(kernel='linear', coef0=0, C=0.5)
svr.fit(x,y)
svr.coef_

So,how can i get the coef like SVR in your code(LSSVR)? Thank u