Beruflich Dokumente
Kultur Dokumente
• AFOL
• Works at E-sites Breda
• Stock market enthusiast
Titanic
The change of survival
Challenge accepted
Could you take in account siblings?
Sure…
Oh and the number of parents, children aboard…
Of course!
Could you add a “simple if” for age as well?
Great! We are almost there!
But…
“Field of study that gives computers the
ability to learn without being explicitly
programmed”
Traditional
Machine learning
programming
• Optimal hyperplane
• Linear classifier
• Maximum margin
• Classification
Linearly separable dataset
Non-linear decision boundary
The kernel trick
A whole new dimension
The kernel trick
Choosing a kernel
• No kernel or linear kernel
• Gaussian kernel
• Polynomial kernel
• Signmoid kernel
• Radial basis function kernel
• …
Choosing a kernel
Rule of thumb
• N much bigger than M
=> linear kernel
• N small, M intermediate
=> gaussian kernel
• N = number of features
• M = number of training examples
Spam detection
Feature selection
• Cross-validation
Alice in Wonderland
Down the rabbit hole
Features
• Word length
• Char frequency
Basic example
Result
• Thank you for contacting us. This is an automated response confirming the receipt of your
ticket. Our team will get back to you as soon as possible. When replying, please make sure
that the ticket ID is kept in the subject so that we can track your replies.
• Hierbij bevestigen wij de ontvangst en verwerking van uw e-mail met ticketnummer PCL-
98124-735. Uw vraag wordt opgepakt door één van onze engineers. Wij streven ernaar
4 1 1 Futrelle, Mrs. Jacques Heath (Lily May Peel) female 35 1 0 113803 53.1 C123 S
• Feature numbering
• Training data <> real world
• Overfitting
• Feature selection
• Multiclass classification
Next step?
Learn R, Python,…
Resources
• https://www.csie.ntu.edu.tw/~cjlin/libsvm/
• http://php.net/manual/en/book.svm.php
• https://www.kaggle.com/
• http://scikit-learn.org/stable/
• https://packagist.org/packages/sjoerdmaessen/machinelearning
@sjoerdmaessen
linkedin.com/in/sjoerdmaessen