Git Product home page Git Product logo

Comments (6)

GoXian avatar GoXian commented on July 18, 2024

你好,
我使用的是One-classSvm,核函数是RBF,编码语言是C++。我发现对比nu为0.1、0.2、0.3、0.4、0.5,训练集的准确率会逐渐减小。但是当我想要训练集准确率更加大时,将nu设置成 0.05 甚至更小也没有什么变化。

from libsvm.

cjlin1 avatar cjlin1 commented on July 18, 2024

So looks like you would like to fit data for getting higher training accuracy? You cannot just lower nu to achieve that. You also need to adjust the kernel parameter gamma of the Gaussian kernel.

from libsvm.

GoXian avatar GoXian commented on July 18, 2024

所以看起来你想拟合数据以获得更高的训练准确性?你不能仅仅降低 nu 来实现这一目标。您还需要调整高斯核的核参数 gamma。

感谢您的回复,请问你有什么针对 OCSVM 的 RBF 核函数进行调整 nu 和 gamma 的方法吗?
目前我使用的是较小的nu值,gamma值从大到小逐渐遍历(幸运的是我数据量很小),直到在 CrossValidation 中训练集达到了一定的准确率时,就得到了gamma值。想听听您的意见。

from libsvm.

GoXian avatar GoXian commented on July 18, 2024

所以看起来你想拟合数据以获得更高的训练准确性?你不能仅仅降低 nu 来实现这一目标。您还需要调整高斯核的核参数 gamma。

感谢您的回复,请问你有什么针对 OCSVM 的 RBF 核函数进行调整 nu 和 gamma 的方法吗? 目前我使用的是较小的nu值,gamma值从大到小逐渐遍历(幸运的是我数据量很小),直到在 CrossValidation 中训练集达到了一定的准确率时,就得到了gamma值。想听听您的意见。

我看了一些人给的方法,”网格搜索“,但是我现在对我之前的 CrossValidation 中训练集达到一定准确率这个做法,产生了质疑。

from libsvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.