Writing Smarter Applications with Machine Learning

13
Writing Smart Programs Anoop Thomas Mathew twitter: atmb4u Profoundis Inc.

Transcript of Writing Smarter Applications with Machine Learning

Page 1: Writing Smarter Applications with Machine Learning

Writing Smart Programs

Anoop Thomas Mathew twitter: atmb4uProfoundis Inc.

Page 2: Writing Smarter Applications with Machine Learning

Historythen:

low level → high level

now:

code driven → data driven

Page 3: Writing Smarter Applications with Machine Learning

What is Smarteveryone makes mistakes

○ looking at past to avoid future mistakes

everyone misses what comes next

○ predicting what to expect

clusters of items do exist

○ automatically group things based on similarity

Page 4: Writing Smarter Applications with Machine Learning

Jargon BusterDataset

Data Cleaning

Dimension

Model

Training

Parameters

Dimensionality Reduction

Accuracy

Overfitting

Underfitting

Testing

Domain

Page 5: Writing Smarter Applications with Machine Learning

Parameter OptimizationHeuristic / Statistical / Machine Learning

- “know parameters well”

Eg: stock market prediction disaster; no. of lawyers vs. no. of suicides

Page 6: Writing Smarter Applications with Machine Learning

Supervised vs Unsupervised

we know what we want

vs.

find what’s interesting

NB: training data, accuracy, semi-supervised

Page 7: Writing Smarter Applications with Machine Learning

Classification / Regression / Clustering★ rain prediction★ digit recognition★ customer segmentation★ time-series prediction★ spam filtering

Algorithm Examples

★ K-means★ SVR★ SVC★ Naive Bayes★ Random Forest Decision Tree

Page 8: Writing Smarter Applications with Machine Learning
Page 9: Writing Smarter Applications with Machine Learning

The ML Process

plan → collect → execute → test

time: 50% 30% 5-10% 15-20%

Page 10: Writing Smarter Applications with Machine Learning

DEMO 1SHOPPING PREDICT(https://github.com/atmb4u/smarter-apps-2016)

Page 11: Writing Smarter Applications with Machine Learning

DEMO 2Support Vector Machine(https://github.com/atmb4u/smarter-apps-2016)

Page 12: Writing Smarter Applications with Machine Learning

Dummy Tasks

★ user auto-login redirect★ predict if a user will convert to paid

Page 13: Writing Smarter Applications with Machine Learning

Thank YouFollow me on twitter:@atmb4u