際際滷

際際滷Share a Scribd company logo
Very Very Very Simple Machine Learning
in Swift
Sai Li @ Swift Taipei

2018/04/03
About Me
? former 嗤o親室 RD

? now: student
Languages
http://readata.org/r-vs-python/
http://mobileadvertisingwatch.com/dishing-on-apples-swift-despite-the-name-adoption-is-slow-moving-21868
?
AI & Machine Learning
?
http://www.4ward.it/en/intelligenza-arti?ciale-machine-learning-deep-2/
https://www.otexts.org/1583
https://www.kdnuggets.com/2017/04/must-know-evaluate-binary-classi?er.html
http://mlpy.sourceforge.net/docs/3.1/lin_class.html
http://www.big-data.tips/neural-network
https://online.science.psu.edu/bisc004_activewd001/node/1907
From Neuron to Perceptron
w1*x1 + w2*x2 + ´ + bias = y
x y
hidden layer
Neuron Network
w
y = wx + bias
(y = ax + b)
w -> a
bias ->b
input output
bias
error
Live Demo
y = wx + b
https://github.com/taipingeric/PLA_in_Swift
Machine Learning in Swift
Machine Learning in Swift
Machine Learning in Swift
AI & Machine Learning & Deep Learning
http://www.4ward.it/en/intelligenza-arti?ciale-machine-learning-deep-2/
Deep Learning
Pros. & Cons
? Pros.

? Running fast

? Apple?

? Cons.

? Frameworks

? Numpy

? matplotlib

? pandas

? Tensor?ow
https://pandas.pydata.org/
http://www.numpy.org/
https://matplotlib.org/users/pyplot_tutorial.html
Machine Learning in Swift
CoreML
Very Very Very Hard but possible
CSteve Jobs
One more thing
https://hackernoon.com/diy-prisma-fast-style-transfer-app-with-coreml-and-tensor?ow-817c3b90dacd
Q & A

More Related Content

Machine Learning in Swift