Apple Create ML vs Kaggle is it really so good?

Programming, Swift
During recent WWDC Apple presented their newest tool called Create ML. As a ML enthusiast i was really impressed on what i’ve seen on dedicated session (703), so i thought it would be worth to investigate how powerful it really is. 1. Create ML in a nutshell (you can skip if you watched WWDC presentation). Create ML is a new framework designed to help developers easily and quickly build machine learning models using Swift and Xcode. As for now it is able to work with 3 types of data: images, text and tabular data. The workflow is really simple, you just need to deliver set of training data, write few lines of code and magic happens, small CoreML model is ready to be used in your app. Apple promises to…
Read More

Genetic Algorithms starter kit for Swift

Programming, Swift
Idea of GA is pretty simple, we are trying to “grow” solution, using natural selection mechanism, similar to one used by nature to create better live beings. Sounds easy? In fact it is easy, especially in Swift. Tip: aim of this post is not to introduce into the GA topic in general, so i can suggest to visit below sources to get some basic knowledge before going further (it will be much easier to understand what’s going on): https://en.wikipedia.org/wiki/Genetic_algorithm https://www.tutorialspoint.com/genetic_algorithms/index.htm Time to show some code. I decided to build some kind of simple starter kit with implementation of the simplest version of genetic algorithm in Swift, it is trying to find out sequence of integers. Code is structured (i believe) in a pretty generic way, so you can fork/copy it and…
Read More