GithubHelp home page GithubHelp logo

MissSVM result about misvm HOT 3 CLOSED

callamuyu avatar callamuyu commented on August 23, 2024
MissSVM result

from misvm.

Comments (3)

garydoranjr avatar garydoranjr commented on August 23, 2024

Hello @callamuyu, are you comparing your own results to the original paper? On which datasets? It could be the folds you used, the parameter values select, or some other factor that's causing a difference.

from misvm.

 avatar commented on August 23, 2024

I'm seeing the same thing, the example.py reports an accuracy of 40% on MissSVM. Even more oddly, adjusting the number of iterations has little effect, but setting the iterations to 0 actually makes it 80% accurate.

from misvm.

garydoranjr avatar garydoranjr commented on August 23, 2024

@doktorschrott I didn't realize that @callamuyu was referring to the values output by the example code. I tracked this down, and the reason seems to be that this algorithm is particularly sensitive to the input features being normalized (approximately mean zero and standard deviation of 1). Having approximately mean-centered data seems to be the more important requirement.

Using 0 iterations was probably using the initialized solution, which happened to be better than what the algorithm was doing with the unnormalized data (predicting the negative class for all bags).

Thank you for pointing out this behavior in the example. Of course, this example does not do proper cross-validation (only a single train-test split with fixed parameters), so it is not intended to be a rigorous experiment, only a demonstration of how to call the code. On the other hand, it is confusing to have these algorithm do so poorly in the example, so I've updated it to include this additional normalization step. Now the performance on this train/test split is closer to the result reported in the original paper. It is still not optimal because only a linear kernel is being used an parameters are not being optimized, but it is much better than it was before.

from misvm.

Related Issues (17)

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.