我需要使用支持向量回归进行直线拟合的代码 [英] I need a code for line fitting using support vector regression

查看:69
本文介绍了我需要使用支持向量回归进行直线拟合的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在线性函数f(x)=(w,x)+ b中最小化w
[(,)=点积的符号]
min {1/2 || w || ^ 2 +cΣ(ξ+ξ*)的代码,其中ξ和ξ*是松弛变量.
我是机械工程专业的学生,​​我不太了解编码.请帮助.

I have to minimize w in the linear function f(x)=(w,x)+b
[(,)=notation for dot product]
A code for min {1/2 ||w||^2 + cΣ(ξ+ξ*) where ξ and ξ* are slack variables.
I''m a student of mechanical engineering, I don''t know much about coding.Pls help.

推荐答案

对不起,我们在这里不提供代码.您知道问题所在,应该尝试自己解决.如果您在实施过程中遇到任何问题,我们将很乐意为您提供帮助.

-Saurabh
Sorry we don''t provide code here. You know the problem and should try to solve it on your own. If you encounter any problem while implementing we will be happy to help you.

-Saurabh


这篇关于我需要使用支持向量回归进行直线拟合的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆