Skip to content
Advertisement

How to add a traditional classifier(SVM) to my CNN model

here’s my model

JavaScript

i want to make svm classifier as my final classifier in this model so how can i do that? also another question i want to know the predicted class of a certain input so when i use

JavaScript

it only gives me probabilities so how can i solve that too

Advertisement

Answer

You can use neural network as feature extractor and take outputs from last layer into your SVM. Try following:

JavaScript
Advertisement