Sample 3 Flashcards
For an N class classification problem, how many SVMs are required to implement and how many to consult when classifying a sample using each method:
1-1
1 all
Binary decision tree
Binary code
1-1: implement - N(N-1)/2 - consult - N(N-1)/2
1 vs All: implement - N - consult - N
Binary Decision Tree: Implement - N - 1 - consult ceiling(log_2(N))
Binary code: Implement - ceiling(log_2(N)) - consult - ceiling(log_2(N))
Techniques to pretty overfitting on CNN
Dropout
Early stopping
Batch normalisation
Class preserving data augmentation
Hard and soft classifiers for SVMs
Hard: sgn(z) =
-1 if z < 0
+1 if z >= 0
Soft: h(z) =
-1 if z < -1
z if -1 <= z <= 1
+1 if z > 1
Where z is discriminant & varies but for linear linearly separable case is wTx + w0
Condition to check if point for linear SVM is classified correctly
Let yi( wTxi + w0) be our key quantity k
If k >= 1, sample is correctly classified
If 0 <= k <1, sample is correctly classified but within band
If k < 0, sample is misclassified