Giter Site home page Giter Site logo

jackhunt / pegasossvm Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 793 KB

A CPU and GPU based inplementation of the Primal Estimated Subgradient Solver for Support Vector Machines.

License: BSD 3-Clause "New" or "Revised" License

CMake 5.72% C++ 75.28% Cuda 19.00%
machine-learning machine-learning-algorithms support-vector-machine

pegasossvm's Introduction

pegasosSVM

A CPU and GPU based implementation of the Primal Estimated Subgradient Solver for Support Vector Machines.

About this software.

This software has been written in an ad-hoc manner for my own research purposes. As such, it may not be as complete as some other, well established packages. However, if you wish to use this software and require additional features, or have a suggestion for improvement, do feel free to contact me and I shall see what I can do w.r.t my schedule.

This software is provided under a BSD license.

What does this implementation provide?

This implementation provides classes for CPU and GPU Primal optimisation of binary Support Vector Machine's. The CPU implementation is parallelised with OpenMP, the GPU implementation, by CUDA.

It should be noted that the CPU implementation is provided primarily for demonstration purposes, and that highly optimised CPU SVM libraries are available.

What expansions shall be made in the future?

  • Non binary classification
  • Regression
  • GPU Mini Batches(see below)

Mini Batches

Mini batch support is built in to the CPU implementation, however it has proven to be somewhat more complicated to do this efficiently in the CUDA implementation(due to irregular memory accesses). However, this effect can be achieved by passing in subsets of your data to the algorithm). However, the data must be contiguous in memory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.