15th Feb 2017 - TRUG
Michal Poczwardowski
[email protected]
dmp @ 3cityIT slack
Slide 2
Slide 2 text
f
Machine learning - field of study that gives
computers the ability to learn without being
explicitly programmed.
Arthur Samuel, 1959
Slide 3
Slide 3 text
gathered data determines output
supervised vs unsupervised
Slide 4
Slide 4 text
● Recommendations
● Expert systems
● Spam filters
● Classifications
● Google Search
Slide 5
Slide 5 text
● Decision Tree - ID3
● Jaccard Index
● K-means clustering
● Naive Bayes
● Artificial Neural Networks
● + more more more
Slide 6
Slide 6 text
?
● Complicated written using unknown
symbols might be discouraging
● Use prepared tools / libraries
Slide 7
Slide 7 text
?
● lack of stuff
● speed (historical)
● old gems / not so many resources
● ML and AI experts mosty use Java and Python, Ruby hasn't got much
love - most of them come from Universities and more scientific studies -
Ruby is just not used in such environments
1: a = ["likes:jeans", "likes:blue"]
2: b = ["likes:jeans", "likes:women", "likes:red"]
3: c = ["likes:women", "likes:red"]
4:
5: # Determines how similar a pair of sets are
6: Jaccard.coefficient(a, b)
7: #=> 0.25
8:
9: Jaccard.coefficient(a, c)
10: #=> 0.0
11:
12: Jaccard.coefficient(b, c)
13: #=> 0.6666666666666666
14:
15: # According to the input data, b and c have the most similar likes.