Comments (3)
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.
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.
@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)
- Attribute Error running example code HOT 2
- memory error on medium scale HOT 1
- Instance level predictions HOT 5
- Example Code not Working HOT 1
- the example does not run on my machine HOT 5
- "get_params" of miSVM HOT 1
- Multi label implement HOT 2
- Problem: Rank(A) < p or Rank([P; A; G]) < n HOT 4
- same sign for all instance-level prediction HOT 5
- Different results in python 2.7.8 and python 3.6.8 HOT 1
- Overflow- INT_MAX reached HOT 2
- Class weights HOT 1
- Prediction scores instead of labels HOT 3
- NaN predicted values HOT 2
- Getting a warning for numerical instability and algorithm is unable to optimize
- Help -- ValueError : Rank(A) < p or Rank([P; A; G]) < n
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from misvm.