One vs one few doubts about labels #2957
Unanswered
UlrichVonRekkenin
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You only have two classes right? So If I understand what you are saying though you are compressing images to PNGs and then taking the bytes of the PNG and using those as features? That will definitely not work well. You have to somehow put the images into a feature space where the classes are linearly separable. How best to do that is highly dependent on your problem space. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I have a bunch of image into two folders (1855 for the first kind and 1920 for second one). There are the jpeg 24*24.
png
throughcv::imencode()
and save to theusing sample_type = dlib::matrix<double, 668, 1>;
by loop:using label_type = double;
Training classifier for 10 vs. 100
aka labels passed to trainer.cross validation: [0, 1855, 0, 1920]
The doubts are:
decisionFunction.get_binary_decision_functions()
is 1Beta Was this translation helpful? Give feedback.
All reactions