Machine Learning for Java Developers in 45 Minutes

Similar documents
Python Machine Learning

Laboratorio di Intelligenza Artificiale e Robotica

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Lecture 1: Basic Concepts of Machine Learning

Lecture 1: Machine Learning Basics

A Neural Network GUI Tested on Text-To-Phoneme Mapping

(Sub)Gradient Descent

Laboratorio di Intelligenza Artificiale e Robotica

CS Machine Learning

ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY DOWNLOAD EBOOK : ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY PDF

A Simple VQA Model with a Few Tricks and Image Features from Bottom-up Attention

Lecture 10: Reinforcement Learning

Top US Tech Talent for the Top China Tech Company

Learning Methods for Fuzzy Systems

Generative models and adversarial training

Deep search. Enhancing a search bar using machine learning. Ilgün Ilgün & Cedric Reichenbach

Introduction to Ensemble Learning Featuring Successes in the Netflix Prize Competition

Course Outline. Course Grading. Where to go for help. Academic Integrity. EE-589 Introduction to Neural Networks NN 1 EE

Testing A Moving Target: How Do We Test Machine Learning Systems? Peter Varhol Technology Strategy Research, USA

Using focal point learning to improve human machine tacit coordination

Purdue Data Summit Communication of Big Data Analytics. New SAT Predictive Validity Case Study

CSL465/603 - Machine Learning

CS 446: Machine Learning

Seminar - Organic Computing

Test Effort Estimation Using Neural Network

The 9 th International Scientific Conference elearning and software for Education Bucharest, April 25-26, / X

Predicting Student Attrition in MOOCs using Sentiment Analysis and Neural Networks

TD(λ) and Q-Learning Based Ludo Players

System Implementation for SemEval-2017 Task 4 Subtask A Based on Interpolated Deep Neural Networks

Artificial Neural Networks written examination

Probabilistic Latent Semantic Analysis

Reinforcement Learning by Comparing Immediate Reward

Axiom 2013 Team Description Paper

Knowledge-Based - Systems

Action Models and their Induction

Machine Learning and Data Mining. Ensembles of Learners. Prof. Alexander Ihler

A study of speaker adaptation for DNN-based speech synthesis

Model Ensemble for Click Prediction in Bing Search Ads

MASTER OF SCIENCE (M.S.) MAJOR IN COMPUTER SCIENCE

Knowledge based expert systems D H A N A N J A Y K A L B A N D E

Citrine Informatics. The Latest from Citrine. Citrine Informatics. The data analytics platform for the physical world

Evolutive Neural Net Fuzzy Filtering: Basic Description

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

Computers Change the World

An OO Framework for building Intelligence and Learning properties in Software Agents

Exploration. CS : Deep Reinforcement Learning Sergey Levine

Machine Learning from Garden Path Sentences: The Application of Computational Linguistics

Twitter Sentiment Classification on Sanders Data using Hybrid Approach

Probability and Statistics Curriculum Pacing Guide

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

Assignment 1: Predicting Amazon Review Ratings

Analysis of Hybrid Soft and Hard Computing Techniques for Forex Monitoring Systems

Education for an Information Age

Predicting Early Students with High Risk to Drop Out of University using a Neural Network-Based Approach

IAT 888: Metacreation Machines endowed with creative behavior. Philippe Pasquier Office 565 (floor 14)

Knowledge Transfer in Deep Convolutional Neural Nets

Business Analytics and Information Tech COURSE NUMBER: 33:136:494 COURSE TITLE: Data Mining and Business Intelligence

LEGO MINDSTORMS Education EV3 Coding Activities

A Decision Tree Analysis of the Transfer Student Emma Gunu, MS Research Analyst Robert M Roe, PhD Executive Director of Institutional Research and

Learning and Transferring Relational Instance-Based Policies

Multisensor Data Fusion: From Algorithms And Architectural Design To Applications (Devices, Circuits, And Systems)

Artificial Neural Networks

Word Segmentation of Off-line Handwritten Documents

Chapter 2. Intelligent Agents. Outline. Agents and environments. Rationality. PEAS (Performance measure, Environment, Actuators, Sensors)

Designing a Computer to Play Nim: A Mini-Capstone Project in Digital Design I

A Genetic Irrational Belief System

arxiv: v1 [cs.cv] 10 May 2017

A student diagnosing and evaluation system for laboratory-based academic exercises

We are strong in research and particularly noted in software engineering, information security and privacy, and humane gaming.

Training a Neural Network to Answer 8th Grade Science Questions Steven Hewitt, An Ju, Katherine Stasaski

Experiments with SMS Translation and Stochastic Gradient Descent in Spanish Text Author Profiling

Challenges in Deep Reinforcement Learning. Sergey Levine UC Berkeley

November 17, 2017 ARIZONA STATE UNIVERSITY. ADDENDUM 3 RFP Digital Integrated Enrollment Support for Students

Emergency Management Games and Test Case Utility:

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Specification and Evaluation of Machine Translation Toy Systems - Criteria for laboratory assignments

The Enterprise Knowledge Portal: The Concept

Human Emotion Recognition From Speech

arxiv: v2 [cs.ro] 3 Mar 2017

Courses in English. Application Development Technology. Artificial Intelligence. 2017/18 Spring Semester. Database access

Intelligent Agents. Chapter 2. Chapter 2 1

Natural Language Processing. George Konidaris

A New Perspective on Combining GMM and DNN Frameworks for Speaker Adaptation

Time series prediction

Softprop: Softmax Neural Network Backpropagation Learning

HIERARCHICAL DEEP LEARNING ARCHITECTURE FOR 10K OBJECTS CLASSIFICATION

WE GAVE A LAWYER BASIC MATH SKILLS, AND YOU WON T BELIEVE WHAT HAPPENED NEXT

A Review: Speech Recognition with Deep Learning Methods

Notes on The Sciences of the Artificial Adapted from a shorter document written for course (Deciding What to Design) 1

Learning Structural Correspondences Across Different Linguistic Domains with Synchronous Neural Language Models

Agents and environments. Intelligent Agents. Reminders. Vacuum-cleaner world. Outline. A vacuum-cleaner agent. Chapter 2 Actuators

Speeding Up Reinforcement Learning with Behavior Transfer

Calibration of Confidence Measures in Speech Recognition

Learning From the Past with Experiment Databases

AGS THE GREAT REVIEW GAME FOR PRE-ALGEBRA (CD) CORRELATED TO CALIFORNIA CONTENT STANDARDS

San José State University Department of Marketing and Decision Sciences BUS 90-06/ Business Statistics Spring 2017 January 26 to May 16, 2017

Master s Programme in Computer, Communication and Information Sciences, Study guide , ELEC Majors

12- A whirlwind tour of statistics

On the Combined Behavior of Autonomous Resource Management Agents

GACE Computer Science Assessment Test at a Glance

Transcription:

Machine Learning for Java Developers in 45 Minutes Why, How and Whoa! Session CON2977 WEDNESDAY Oct 4, 2017 8:30am - 9:15am PT

Speakers Zoran Severac @neuroph AI Researcher Univ of Belgrade, Serbia JC, NetBeans Dream Team Frank Greco @frankgreco Chair NYJavaSIG - NY Java User Group JC, Cloud/Mobile Architect

Goal To explain what Machine Learning is, why it s important and show Java Developers how to create your own ML apps

What is Machine Learning (ML) A Type (Subclass) of Artificial Intelligence (AI) A System that Learns and Improves its Predictions For Example: Gmail - flag this as spam or not spam Not Just Big Data 2.0 Big Data is about Traditional Data Analytics and Visualization Tools >50% Big Data Projects fail - focus is on data gathering/prep/architecture, not on analysis ML is more Dynamic than just Data Analytics Machines can find Patterns and create ML models much faster than Humans

What Problem does ML Solve? Chess has simple rules. 64 Squares 16 Attackers/Defenders per side Well-defined moves Rules are easy to describe. Straightforward to program. Chess Chihuahua or Muffin? Visual Recognition (an ML example) Requires deeper thought Potentially subjective Rules are very hard to describe. Much harder to program. Early AI/ML systems failed partially due to hard-coded rules.

Many Applications are Hard to Code Many applications are not explicitly programmable Machines can automate the correlations and model building... Face recognition Handwriting translation Autonomous Driving http://vision.ics.uci.edu/images/fun/img_1183_augmented_reality_faces1.jpg

We are Familiar with Deterministic Solutions Output Input Same Input gives us the Same Output Same Input gives us the Same Output Same Input gives us the Same Output

But We re Not Used to Non-Deterministic Solutions Input Input Input Input Input Input Input Imput Input Input Input Inputt Lots of Noisy Datasets Sensors, voice, images, video Many variables with noisy data ModelA ModelB Output1 Output2 ModelC ModelD Output3 Probabilistic Outputs Uncertainty, noisy data, randomness, statistical, different contexts, etc.

Problem Definition Determine Target Metrics Basic WorkFlow of ML-Infused App Data Scientists Data Prep Parse/Filter the Data Data Engineers Train Model Observe Patterns / Learn Test Model Deploy Predict

Recommendations ML is already heavily used Fraud detection Targeted ads Customer support patterns Smart oil rig Hacker detection

Use Cases for Visual Recognition alone Ensure positioning of assembly products Track logos on social media Travel and retail suggestions Visual compliance or deterioration

Google's CEO, Sundar Pichai - his company is betting big on advances in artificial intelligence (AI) and machine learning in the coming years. https://goo.gl/f36ine Tim Cook from Apple - "Today, machine learning drives improvement in countless features across our products. https://goo.gl/zetmiv CEO Satya Nadella at Microsoft s Ignite conference talked about his vision for how deep learning and AI will transform the company. https://goo.gl/xuip4h

But Didn t We Try This Already? Yes But AI had overly broad scope Intelligent agents, first-order logic, knowledge ontologies, probabilistic reasoning, learning theory, NLP, robotics, Quiz When was the first AI conference? 1972? 1985? 1955? 1999? 2001?

Punch cards weren t even invented in 1955!

What Happened? Cool research but funding was erratic due to lofty goals and missed milestones. A boil the ocean approach Computing resources weren t yet capable Now they are...

Machine Learning A type of AI that allows a machine to learn from experience/data Deep Learning A type of ML that uses powerful computing resources and advanced neural networks to more-accurately solve non-linear, highly-dimensional problems with large amounts of data (eg, vis rec) Artificial Intelligence A type of algorithm(s) that allows a machine to emulate aspects of intelligent human behavior

Software vs. Humans Jeopardy 2011 Chess 1997 Go 2016

Software vs. Humans https://research.fb.com/wp-content/uploads/2016/11/deepface-closing-the-gap-to-human-level-performance-in-face-verification.pdf?

Software vs. Humans It doesn t stop there http://www.eetimes.com/author.asp?section_id=36&doc_id=1331264&

New Approaches to Hardware Addresses Dark Silicon At least 15x-30x faster than GPU/CPUs for ML applications https://drive.google.com/file/d/0bx4hafxddq2emzrncy1vsuxtcek/view Why Project Panama (Java API for Native Libs) is Extremely Important!

Who Are the Big Players with Engines/Services?

Popular Java Toolkits (small subset) Oryx 2 VisRec JSR #381¹

How Should a Java Developer Get Started?

Basic Terminology Machine learning gives "computers the ability to learn without being explicitly programmed. https://en.wikipedia.org/wiki/machine_learning Data set - set of data that represent specific problem we re trying to solve Model - A data structure that consists of various parameters and methods that transform inputs into outputs. Includes some kind of training procedure. Training, learning procedure, adjusts model parameters based on the data set in order to solve/learn specific problem (learn data set) Performance measure - metric that is used to tell how good model has learned the data.

Types of Machine Learning Supervised Unsupervised Reinforcement

Supervised Learning Learns from examples that provide inputs and target/desired outputs It can learn input-output mapping Learning is based on iteratively feeding inputs into model, and minimising the error between the actual and target output (cost function)

Linear Regression Find the line that best fits the relationship between the input variables (x) and the output variables (y) Assumes linear dependency between variables (a simple straight line) y = slope * x+ intercept Example: Estimate number of bugs depending on development time, number of developers, number of meetings, number of managers in the team, deadline etc. For better results remove correlated data and noise Used for regression problems What if dependency is not linear? Image from https://en.wikipedia.org/wiki/linear_regression

Logistic Regression/Binary Classification Same as Linear Regression, just fits a data to the logistic function: y=1/(1+e^-x)) Used for binary classification problems (spam/not spam) https://en.wikipedia.org/wiki/logistic_regression But what if we don t assume a type of dependency?

Evolution of Neural Networks Adaline - Linear Regression Perceptron - Logistic Regression Multi Layer Perceptron and Backpropagation - Complex Unknown Function Convolutional Neural Networks and Deep Learning

Neural network / Deep Learning Multi Layer Perceptron - a directed graph in which each unit performs logistic regression. Learns using Back Propagation algorithm which is also an error function minimization. Can be used for both Classification and Regression problems Number of layers/neurons Activation Function (Sigmoid, Tanh, ReLU) Error Function (MSE, CE)

Questions and Comments? Pending JSR #381 - VisRec https://jcp.org/en/jsr/detail?id=381 Github Repo - https://github.com/sevarac/visualrecognitionapi Wiki - https://github.com/sevarac/visualrecognitionapi/wiki Mailing list - https://groups.io/g/visrec/

http://www.tcs.com/sitecollectiondocuments/white%20papers/machine-learning-analytics-in-manufacturing-0714-1.pdf