Skip to content

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

Notifications You must be signed in to change notification settings

KevinCoble/swift-libsvm

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages