Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swift-libsvm

Port of LIBSVM code to Apple's swift language

All SVM code is from the public domain LIBSVM repository See https://www.csie.ntu.edu.tw/~cjlin/libsvm/ for more information

LIBSVM features not supported: Sparse matrix input (but this allows the Accelerate library to be used), Pre-computed kernels, kernel caching, 'shrinking',

Most other features are supported. Features/options are set by setting attributes on the SVMModel class

The data is provided by a 'DataSet' class I created for a machine learning library. The SVMTests.swift file shows examples of data set creation, training, and subsequent classification of data. It also has (commented out) examples of storing/retrieving SVM models to disk files

About

Port of the LIBSVM code to Apple's Swift language. Use for SVM (support vector machine) classification and regression

Resources

Stars

14 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages