MachineLearningKit 0.1.8

MachineLearningKit 0.1.8

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Apr 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Guled.


Downloads

Total402
Week9
Month12

Installs

Apps34
Apps WeekApps This Week 3
Test Targets2
powered by Segment

GitHub

Stars86
Watchers9
Forks6
Issues2
Contributors2
Pull Requests0

Code

Files17
LOCLines of Code 1,175


  • By
  • Guled Ahmed

MLKit (a.k.a Machine Learning Kit) 🤖

MLKit is a simple machine learning framework written in Swift. Currently MLKit features machine learning algorithms that deal with the topic of regression, but the framework will expand over time with topics such as classification, clustering, recommender systems, and deep learning. The vision and goal of this framework is to provide developers with a toolkit to create products that can learn from data. MLKit is a side project of mine in order to make it easier for developers to implement machine learning algorithms on the go, and to familiarlize myself with machine learning concepts.

This project is under active development and is not ready for use in commercial or personal projects.

Awesome

MachineLearningKit Reference

Requirements

Installation

New Cocoapods version coming soon, in the meanwhile follow the instructions below:


Contributing

The mission of this project is to give developers the ability to incorporate Machine Learning algorithms into their projects with ease and to enable the creation of advanced projects using the Swift programing language. With this being said, I encourage all developers interested in making Machine Learning accessible to the anyone who works with iOS apps and TVOS apps to contribute to this project.

To contribute an algorithm not currently available within the framework, please create an issue and state what algorithm you have implemented. Make sure that there are unit tests involved where applicable. Also, provide a brief overview of how to use your algorithm. You are also welcome to impelment algorithms within the Roadmap section (below).

To contribute to an already existant algorithm within the framework, please create an issue and state any changes or additions you have made.


Wiki

Example Project

⚠️️ The Flappy Bird Example Project is located in the Example folder. When you run the example you will see the fitness and the decisions that each Flappy Bird is making. The example project has comments to help with understanding how it was made.


Roadmap:

  • [x] Issue #2
  • [ ] KMeans++ Implementation
  • [ ] KMeans Clustering Documentation
  • [ ] Neural Network Documentation
  • [ ] Logistic Regression
  • [ ] Decision Trees

Future Releases:

  • [ ] Convolutional Neural Network
  • [ ] Recurrent Neural Network
  • [ ] Artificial Neural Network using Metal
  • [ ] Game Playing AI (MiniMax, Alpha-Beta Pruning)
  • [ ] Self Organizing Maps

Features (So Far)

  • [x] Matrix and Vector Operations (uses Upsurge framework)
  • [x] Simple Linear Regression (Allows for 1 feature set)
  • [x] Polynomial Regression (Allows for multiple features)
  • [x] Ridge Regression
  • [x] Multi-Layer Feed Forward Neural Network
  • [x] K-Means Clustering
  • [x] Genetic Algorithms
  • [x] Allows for splitting your data into training, validation, and test sets.
  • [x] K-Fold Cross Validation & Ability to test various L2 penalties for Ridge Regression
  • [x] Single Layer Perceptron, Multi-Layer Perceptron, & Adaline ANN Architectures

Frameworks that MLKit uses

  • 🙌 Upsurge (Matrix and Vector Operations)
  • 🙌 CSVReader (CSV Reading) (Used in Unit Testing)

Development Schedule

Week of April 24rd

M T W Th F
TBD

License

MIT License

Copyright © 2017 Guled Ahmed

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.