Swift-AI
swift-numerics
Our great sponsors
Swift-AI | swift-numerics | |
---|---|---|
1 | 5 | |
6,012 | 1,622 | |
0.3% | 1.2% | |
0.0 | 6.1 | |
almost 7 years ago | 8 days ago | |
Swift | Swift | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Swift-AI
-
Are people using Swift for machine learning / differentiable programming outside of Apple?
Before CoreML was released (and also before BNNS), I wrote SwiftAI. The project made heavy use of Accelerate and the algorithms were written from scratch. It was a great project, and I planned to make a lot of additions, but CoreML came out pretty soon afterward and made the project mostly obsolete. Still a great learning experience and there was a fair bit of interest at the time.
swift-numerics
-
Modules in Swift Playgrounds
You'll need to install the Swift Package. If you're on iPad, just press the Add File → Package buttons and then there should be a text box. Then just paste in the URL: https://github.com/apple/swift-numerics
-
How do I write a math function that uses addition and division and is generic across number types like Int and Double?
I don’t know if it applies, but you could try checking out the Numerics package?
-
Are people using Swift for machine learning / differentiable programming outside of Apple?
Apple released a numerics library under Apache 2! This is great news.
-
Does anyone know if Swift's version of Penrose tiling algorithm exists somewhere?
I implemented a Swift version here for fun! The core logic is strictly similar to https://preshing.com/20110831/penrose-tiling-explained/. I used the great Swift Numerics Package for complex numbers. I also added UI logic with SwiftUI to visualize and experiment.
-
The New Open Source Package Swift Algorithims is Finally here
Packages like Swift Algorithms (and Swift Numerics) complement the Swift Evolution process by providing a means to:
What are some alternatives?
CoreML-Models - Largest list of models for Core ML (for iOS 11+)
swift-algorithms - Commonly used sequence and collection algorithms for Swift
AIToolbox - A toolbox of AI modules written in Swift: Graphs/Trees, Support Vector Machines, Neural Networks, PCA, K-Means, Genetic Algorithms
SciPy - SciPy library main repository
BrainCore - The iOS and OS X neural network framework
Matft - Numpy-like library in swift. (Multi-dimensional Array, ndarray, matrix and vector library)
PDFGenerator - A simple generator of PDF written in Swift.
penrose-simple - Penrose tiling, simple command-line case
Tensorflow-iOS
sourcekit-lsp - Language Server Protocol implementation for Swift and C-based languages
SpriteKit+Spring - SpriteKit API reproducing UIView's spring animations with SKAction
EVURLCache - a NSURLCache subclass for handling all web requests that use NSURLRequest