Comments (3)
@mcu1988 Will you please describe the problem you see in the implementation? Thank you. :)
from cnn-svm.
from Deep Learning using Linear Support Vector Machines (2013)
Multiple SVM is described in this picture. Output of Multiple SVM is defined in (9). There is no need to convert output margins of each binary SVM to 1 and -1. When more than one svm outputs a positive margin value, these positive margin are converted to 1 by using output = tf.identity(tf.sign(output), name='prediction'). correct_prediction = tf.equal(tf.argmax(output, 1), tf.argmax(y_input, 1)) may return a false value.
from cnn-svm.
The conversion to {+1, -1} is as per the SVM model design written by Vapnik and Cortes in their paper.
from cnn-svm.
Related Issues (16)
- Not able to create diretcory HOT 3
- Some questions about the code of the svm prediction part HOT 8
- 【Question】 How to import my own (training, testing) pictures HOT 6
- chore: implement cnn in tf2
- chore: implement cnn-svm in tf2
- chore: implement data handling functions
- chore: implement training function for cnn
- chore: implement cnn in pytorch
- chore: implement cnn-svm in pytorch HOT 1
- Can't run the training on the model for CNNSVM HOT 6
- About intrusion detection code
- pt_cnn_svm
- 【question】test_data HOT 1
- You are supposed to provide codes loading custo-made data HOT 1
- ModuleNotFoundError: No module named 'tensorflow.examples'
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 cnn-svm.