![]() |
|
#1
|
|||
|
|||
![]()
I don't understand the question correctly here. For one-vs-one should we pick 2 digits (e.g. 1 and 2) and make them +1 and -1 and rest of the data ignore and try the classification and repeat the exercise for 1,2 1,3 1,4 etc. That would be 10C2 combination. Also for one-vs-all should we do the same but instead of ignoring all the data should we make them all -1?
Then how do we classify 4-vs-all etc.? Really appreciate some help here. |
#2
|
||||
|
||||
![]() Quote:
![]() ![]() One-versus-all: One class gets ![]() ![]() Both methods can be used as building blocks in a bigger system that distinguishes more digits from each other.
__________________
Where everyone thinks alike, no one thinks very much |
#3
|
|||
|
|||
![]()
Thank you professor for such quick response. I think now I understand correctly e.g. in Q 5 1 vs 5 classifier we should make all records of digit 1 as say +1 and all records of digit 5 as -1 and remove all other records from the training set and train our model. Is that right understanding?
|
#4
|
||||
|
||||
![]() Quote:
__________________
Where everyone thinks alike, no one thinks very much |
#5
|
|||
|
|||
![]() |
#6
|
||||
|
||||
![]() Quote:
![]()
__________________
Where everyone thinks alike, no one thinks very much |
#7
|
|||
|
|||
![]()
I was also confused by the wording:
"Then how do we classify 4-vs-all etc.? Really appreciate some help here." I took it to mean four digits versus all, rather than the digit 4 versus all the rest...( ie we 've just talked about one versus all and one versus one...) [to explain my confusion - a divide and conquer strategy would make sense to me eg first classify into "straight" digits vs curved ..] |
#8
|
|||
|
|||
![]() Quote:
![]() |
#9
|
|||
|
|||
![]()
The problems will specify which digits to label.
For example, problem 5 regards to "1 versus 5" classifier. |
#10
|
|||
|
|||
![]()
Ah!
So am I right in finally understanding that in Q2 and Q3 we have a boolean output corresponding to a single digit? And later questions are about detecting whether a digit is a "1" or a "5", given that it is one of these? Amazingly, when I read these questions I got stuck on the idea it was about some sort of generalisation of "one versus the rest". For example, I imagined there would be 45 hypotheses for "2 versus all", each corresponding to a pair of digits! ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|