Giter Site home page Giter Site logo

swift-ai's Introduction

Swift AI Banner

Swift AI is a high-performance AI and Machine Learning library written entirely in Swift. We currently support iOS and OS X, with support for more platforms coming soon!

Features

Swift AI includes a set of common tools used for machine learning and artificial intelligence research. These tools are designed to be flexible, powerful and suitable for a wide range of applications.

Usage and Examples

We've created example projects to demonstrate the usage and potential applications of Swift AI:

  • iOS:
    • 2D function regression (feed-forward neural network)
    • Handwriting recognition (feed-forward neural network)
    • Evolution simulation (genetic algorithm)
  • OS X:
    • XOR logic gate modeling (feed-forward neural network)
    • 2D function regression (feed-forward neural network)
  • Swift Playground:
    • Graphing - used in conjunction with OS X regression examples

Installation

Grab the files you need, drag them into your project. That was easy!

Why don't we use CocoaPods/Carthage?

Swift is open-source now, and it remains to be seen how these dependency managers will cooperate with other platforms.

A better alternative will probably be the Swift Package Manager.

Compatibility

Swift AI currently depends on Apple's Accelerate framework for vector/matrix calculations and digital signal processing.

In order to provide support for more platforms (Linux, Windows, etc.), alternative BLAS solutions are being considered. A vanilla Swift implementation is one possibility, but SIMD instructions will be preferred for their significant performance boost. Check back for more updates on this soon.

Using Swift AI?

If you're using Swift AI in one of your own projects, let us know! We'll add a link to your profile/website/app right here on the front page.

Contributing

Contributions to the project are welcome. Please review the documentation before submitting a pull request, and strive to maintain consistency with the structure and formatting of existing code. Official guidelines with more details will be provided soon.

Care Enough to Donate?

Take a little, give a little. I don't usually like handouts, but time is a big constraint. More donations = less contract work = more time building great open-source projects!

What good will my money do?

Your donation will help a college student get through school, and give you a warm, fuzzy feeling. Every contribution is appreciated.

Donate

swift-ai's People

Contributors

abargh avatar angu avatar collinhundley avatar danappelxx avatar juliofruta avatar neoneye avatar perlfly avatar vittoriom avatar

Watchers

 avatar

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.