Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.74 KB

README.md

File metadata and controls

71 lines (51 loc) · 1.74 KB

SVDD

This is the implementation of SVDD (Support Vector Data Description).

  • Class: 1
  • Problem: Linearly Non-separable
  • Decision Boundary: Hypersphere + Kernel

Usage

1. Build

Please build the source file according to the procedure.

$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd ..

2. Dataset Setting

The following hierarchical relationships are recommended.

SVDD_dataset

3. Execution

The following is an example for Toy Dataset.

Setting

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'

./SVDD \
    --dataset ${DATA} \
    --nd 2 \
    --nu 0.003 \
    --lr 0.0001 \
    --kernel "rbf" \
    --gamma 5.0

Run

Please execute the following to start the program.

$ sh scripts/toy.sh

Formula

SVDD_dual SVDD_obj SVDD_delta SVDD_update SVDD_class

Algorithm

train test