www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
How machine learning is used in www.coach-bot.de processing text - - PowerPoint PPT Presentation
How machine learning is used in www.coach-bot.de processing text - - PowerPoint PPT Presentation
Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306 How machine learning is used in www.coach-bot.de processing text Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306 www.coach-bot.de Image credit: Wikipedia User:
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
https://acculturated.com/wp-content/uploads/2015/12/c3po.jpg, http://geekandsundry.com/wp-content/uploads/2015/05/Ex-Machina-Download-Wallpapers.jpg, http://ferdyonfilms.com/2001%20hal%20dying.jpg Image credit: Wikipedia User: William Tung, CC BY-SA 2.0, via Wikimedia Commons.
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
OCR solved using Neural Nets
www.coach-bot.de Fabian Reich www.coach-bot.de
Solve new kinds of problems using ML
www.coach-bot.de Fabian Reich www.coach-bot.de
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Sentiment Analysis
“I love the movie” = 1 “I hate the movie” = 0
www.coach-bot.de Fabian Reich www.coach-bot.de
Machine Learning Process
Research Phase Proof of Concept Phase
Data Sets, Papers, Methods, etc. 1. Data Analysis 2. Cleaning 3. Preprocessing 4. Building Models
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Research Phase
Data Sets: 1. Movie Review 2. ... Papers: 1. Sentiment P1 2. … Algorithms: 1.
www.coach-bot.de Fabian Reich www.coach-bot.de
Machine Learning Process
Research Phase Proof of Concept Phase
Data Sets, Papers, Methods, etc. 1. Data Analysis 2. Cleaning 3. Preprocessing 4. Building Models
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Data Analysis
Data Analysis: 1. Movie Review Data 2. ...
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Examples
“I love movies.” = 1 “The movie was ok.” = 1 “I hated the movie.” = 0
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Data Analysis
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Preprocessing
1 4 7 11 15 2 5 8 12 19 3 12 7 8 2 7 5 78 82 83 1 8 5 4 15 19 2 83
Faro
https://cdn-images-1.medium.com/max/1600/1*NKVm-AoDLc0KdN-Ls7Ts_g.png
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
One hot encoding
Vocabulary: “Building Chat Bots” Building -> {1, 0, 0} Chat -> {0, 1, 0} Bots -> {0, 0, 1}
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
One hot encoding
“Building Bots” -> {1, 0, 1} “Chat Bots” -> {0, 1, 1}
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Building Models - Logistic Regression
Binary classification using logarithmic line
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Building Models - Logistic Regression
Sex Height Male 180 Female 169 Male 160
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Building Models - Logistic Regression
140 160 180 Male Female 1 3 5 High Low #“Love”
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
YAY! We have our (first) model
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Compare Baseline
Log Regression: 0.88128 SVM: 0.8974
www.coach-bot.de Fabian Reich www.coach-bot.de
Solve new kinds of problems using Machine Learning
www.coach-bot.de Fabian Reich www.coach-bot.de
www.coach-bot.de Fabian Reich www.coach-bot.de fr@coach-bot.de +49 1578 0373306
Additional Infos:
- The Great A.I. Awakening
https://mobile.nytimes.com/2016/12/14/magazine/the-great-ai-awake ning.html
- Natural Language Processing with Deep Learning
https://www.youtube.com/watch?v=OQQ-W_63UgQ
- Speech and Language Processing (Daniel Jurafsky, James H. Martin)