资源算法svmpy

svmpy

2020-01-14 | |  28 |   0 |   0

SVMPy

By Andrew Tulloch (http://tullo.ch)

Introduction

This is a basic implementation of a soft-margin kernel SVM solver in Python using numpy and cvxopt.

See http://tullo.ch/articles/svm-py/ for a description of the algorithm used and the general theory behind SVMs.

Demonstration

Run bin/svm-py-demo --help.

∴ bin/svm-py-demo --help
usage: svm-py-demo [-h] [--num-samples NUM_SAMPLES]
                   [--num-features NUM_FEATURES] [-g GRID_SIZE] [-f
                   FILENAME]

optional arguments:
  -h, --help            show this help message and exit
  --num-samples NUM_SAMPLES
  --num-features NUM_FEATURES
  -g GRID_SIZE, --grid-size GRID_SIZE
  -f FILENAME, --filename FILENAME

For example,

bin/svm-py-demo --num-samples=100 --num-features=2 --grid-size=500 --filename=svm500.pdf

yields the image

687474703a2f2f692e696d6775722e636f6d2f7979306f55566b2e706e67.png

Bitdeli badge

上一篇: svm-r-markdown-templates

下一篇:captcha-svm

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...