This is the implementation of Hard Margin SVM (Hard Margin Support Vector Machine).
- Class: 2
- Problem: Linearly Separable
- Decision Boundary: Hyperplane
Please build the source file according to the procedure.
$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd ..
The following hierarchical relationships are recommended.
The following is an example for Toy Dataset.
Please set the shell for executable file.
$ vi scripts/toy.sh
If you want to view specific examples of command line arguments, please view "src/main.cpp" or add "--help" to the argument.
#!/bin/bash
DATA='toy'
./HardMargin-SVM \
--dataset ${DATA} \
--nd 2 \
--lr 0.0001
Please execute the following to start the program.
$ sh scripts/toy.sh







