Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

OneclassSupportVectorLearning does not use shrinking heuristics property. #271

Closed
kdbanman opened this issue Jul 27, 2016 · 1 comment
Closed

Comments

@kdbanman
Copy link
Contributor

The OneclassSupportVectorLearning class exposes a Shrinking property, which it does not actually use during optimization.

This code block in the `Learn' method is the offender:

    var s = new FanChenLinQuadraticOptimization(alpha.Length, Q, zeros, ones)
    {
        Tolerance = eps,
        Shrinking = true,    // <--  SHRINKING PROPERTY SHOULD BE USED HERE
        Solution = alpha
    };

    bool success = s.Minimize();
kdbanman added a commit to kdbanman/framework that referenced this issue Jul 27, 2016
kdbanman added a commit to kdbanman/framework that referenced this issue Jul 27, 2016
Fix one class svm to use shrinking heuristics.
cesarsouza added a commit that referenced this issue Aug 25, 2016
Fix one class svm to use shrinking heuristics.
@cesarsouza
Copy link
Member

Fixed on release 3.3.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants