transversal delivery pipeline by mike nescot and nick grace

60
Transversal Delivery Pipeline Mike Nescot, Director of DevOps & Cloud Solutions Nick Grace, Director of UX & Web Development JBS International, Inc,

Upload: devopsdays-baltimore

Post on 12-Apr-2017

48 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Transversal Delivery Pipeline

Mike Nescot, Director of DevOps & Cloud SolutionsNick Grace, Director of UX & Web Development

JBS International, Inc,

Page 2: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Data Science● Machine Learning/Deep Learning● Natural Language

Processing/Conversational Agents● Internet of Things ● Virtual Reality/Augmented Reality

Web: Transformations

Page 3: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Intelligent Applications● Bots● Multimodal Systems● Industrial Product Design● Hardware● Health● Public Safety

DevOps: New Opportunities

Page 4: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● A state of development, preparation, or production: “several projects in the pipeline”; also: the system for such processes: “a strong product pipeline”

● A route, channel, or process along which something passes or is provided at a steady rate; means, system, or flow of supply or supplies:“Freighters and cargo planes are a pipeline for overseas goods.”

● Workflow, Lifecycle● Continuous Delivery, Deployment Pipeline● Contrast to silos

Pipeline

Page 5: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Development Test Production

Simple Web Development Pipeline

Page 6: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

DevOps Pipeline

Page 7: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Transverse

Page 8: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Velocity● Infrastructure as Code● Automation● Collaboration● Repeatable Process● Agility

DevOps Principles

Page 9: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Big Data (3 V’s)● Data Driven Decisionmaking (Moneyball)● Predictive Analytics● Algorithms in Control

Rise of Data Science

Page 10: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Data Science Venn Diagram (Drew Conway)

Page 11: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Programming● Data Analysis● Data Visualization

Data Science: Udacity

Page 12: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

CleanStore

DeliveryTransform

Scrape

Scrapy MongoDB Pandas

Matplotlib

Flask

Jupyter

Explore,Analyze, Process

Pandas

D3

Data Science Pipeline

Page 13: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Traditional statistics: statistical distributions (normal distribution/Bell curve, exponential distribution, binomial distribution). Linear and logistic regression to predict the data based on these numerical techniques.

● Machine learning: using the data to build the model itself with the aid of computers

Traditional Stats vs Artificial Intelligence/Machine Learning

Page 14: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Recommendation Systems● Autonomous Vehicles● Physics● Real Estate● Finance

Machine Learning Applications

Page 15: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● “To make progress, every field of science needs to have data commensurate with the complexity of the phenomena it studies”

● Sciences that were data poor are now data rich:○ Sociology: graph databases ○ Neurology: connectomes

Pedro Domingos: The Master Algorithm

Page 16: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Knowledge Engineers vs. Machine Learners● Five Tribes of Machine Learning:

○ Symbolists: Expert Systems○ Connectionists: Backpropagation, Neural

Networks○ Evolutionaries: Genetic Programming○ Bayesians: Bayes theorem, uncertainty○ Analogizers: Similarity, SVM

The Master Algorithm

Page 17: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

ML Algorithms

Page 18: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● More neurons than previous networks● More complex ways of connecting layers

(RNN, CNN)● More computing power to train● Automatic feature extraction

Deep Learning: Deep Neural Networks

Page 19: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Neuron

Page 20: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Artificial Neural Networks

Page 21: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Deep Neural Network

Page 22: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● 2012: AlexNet: Superhuman visual pattern recognition

● 2012: Google Speech Recognition● 2015: Amazon Echo● 2016: AlphaGo● 2016: Google Search

Deep Learning Milestones

Page 23: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Parameters● Layers● Activation functions● Loss functions● Optimization methods● Hyperparameters● Backpropagation

Deep Neural Networks Architecture

Page 24: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Sampling(Datasets)

Data Processing

Model Selection

TrainingValidation

Data CollectionTransformation

(Feature Engineering)

Standard Machine Learning Pipeline

Page 25: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Apache Kafka● Apache Spark● Apache Hadoop● Apache Zookeeper● Apache Mesos● Torch, Caffe, TensorFlow

New Big Data/ML Open Source Technologies

Page 26: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Real-time, Distributed (Streams)● More Data, Bigger Networks● “End to End Deep ML”● Serving Models, Continuous Delivery

New ML Workflow

Page 27: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Real-Time Deep ML Pipeline: PipelineIO

Page 28: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Data Science is Application Development● Ops Teams in Data Science● Continuous Feedback● Use of Stats/ML in DevOps (e.g., Anomaly

Detection)

DevOps and Data Science Converge

Page 29: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Previously: “a software application that runs automated tasks (scripts) over the Internet.”

Now (AI/ML):

● Conversational Interface● Personal Assistant● Digital Agent

Bots

Page 30: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Advances in AI/ML● Advances in NLP● Mobile● Messaging● Social Networking

Rise of Bots

Page 31: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Personality● Name● Purpose (God vs. special purpose)● Interaction

Bots

Page 32: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Context● Generative vs. Retrieval Based● Purpose● Diversity● Tone● Interaction● AI (Language, Image)

Conversational Interface Characteristics

Page 33: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Question Answering● Recommender Systems● Summarization● Human Augmentation● Sentiment Analysis

Bot/NLP Applications

Page 34: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Parts of Speech Tagging

Quotation speaker identification Character name

clustering

Lemmatization

Dependency parsingNamed entity recognition

Text (Corpus) Tokenization

Pronominal coreference resolution

NLP Pipeline

Page 35: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Speech Synthesis

Processing

Natural Language Generation

Speech Recognition

Natural Language Understanding

Translation

Service Delivery

Conversational Agent Pipeline

Page 36: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Complexity● Context● Ambiguity● Slang● Humor, sarcasm● Dynamics

NLP Challenges

Page 37: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Visual● Auditory● Haptic● Kinesthetic● Proxemic

Multimodal/Multisensory Systems

Page 38: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

InputOutputMerge

Transfer

Translate

Substitute

Visual

Haptic

Auditory

Kinesthetic

Proxemic

Deliver Visual

Haptic

Auditory

Kinesthetic

Proxemic

Multimodal Delivery Pipeline

Page 39: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Home Appliances ● Industrial Equipment ● Medical Devices● Vehicle Components● Soil Sensors

IoT Smart Products

Page 40: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Physical Components: mechanical and electrical parts ● Smart Components: Sensors, microprocessors, data

storage, controls, software, embedded operating system, digital user interface

● Connectivity Components: ports, antennae, protocols, and networks that enable communication between the product and the product cloud, which runs on remote servers and contains the product’s external operating system

Smart Products

Page 41: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Instrumented: Sensors detect conditions and changes in their surroundings. Light, radiation, motion, heat, humidity, vibration, sound, magnetic fields. Data collectors. Actuators, control system or mechanism that acts on environment.

● Intelligent: Embedded microprocessors, knowledge bases, user profile information. Make decisions, optimize outputs, adapt to environment, trigger actions, customize UX.

● Interconnected: Wi-Fi or other, share data and decisions with people or other products. Smart networks.

Smart Products

Page 42: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Product Cloud● Devices● Registry● Messaging ● Data Collection/Analysis● Digital Twin/Shadow

IoT Architecture

Page 43: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Continuous Verification● Collaboration Across Engineering Disciplines● Open Data● Link Product, Market● Extension to V Model (DoD ITS, DoT, Germany)● Focus on Running Systems or Virtual Models● Engineering Data Analytics

IBM: Continuous Engineering

Page 44: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

V Model

Page 45: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Abstract mechanics, electronics, and software entities to create a virtual prototype to test your system before you build. Create executable models that enable early analysis and tests of the functionality, behavior, architecture, structure, performance, reliability, and safety of the system early in the development process.

Virtual Models

Page 46: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Electrical/Electronics Design

Mechanical Design Requirements

Design

Testing

Manufacturing

Software Design

Virtual Model/Digital

Twin

Prototype

SmartProduct

Consumer

Continuous Engineering Pipeline

Page 47: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Virtual Reality (Oculus, Vive)● Augmented Reality (Pokemon

Go, HoloLens, Project Tango)● Mixed Reality

Virtuality Continuum

Page 48: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● 3D-World: Surfaces, Objects, Boundaries.● Virtual Objects:  Shapes, Textures, Position

in the real world.● Motion Tracking● Depth Perception● Area Learning

Augmented Reality

Page 49: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Marker vs Markerless AR● GPS: Pokemon Go● Simultaneous Localization and Mapping (SLAM):

3D Buildings● BIM (Building Information Model) and CAVE

(Computer Augmented Virtual Environment)

Simple AR vs Complex AR

Page 50: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

BIM and CAVE

Page 51: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Virtual Realm

Physical Realm

Mediated Realm

MutimodalSystems

MutimodalSystems

User

VR/AR Pipeline

Page 52: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Connectivity● Web Capabilities: WebVR, WebRTC, Web

Workers, Device access● Device Capabilities: Embedded operating

systems (RTOS, Linux, Docker)● Security● Protocol: HTTP vs. MQTT

IoT and VR/AR: Cloud/Web vs Mobile/Device

Page 53: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Cathy O’Neill: “Weapons of Math Destruction:○ Predictive Policing○ Employment○ Education○ Finance

● Unreproducible research

Data Driven Society: Problems

Page 54: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Platform for Interactive Science● Web IDE● Computational Narratives● Multimedia● Executable Papers● Algorithm Collaboration● Data Journalism● JSON

Jupyter Notebook

Page 55: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Jupyter Notebook

Page 56: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Publish Clone/Fork Validate/Update

Pull RequestResearcher

Researcher

Notebook Pipeline

Page 57: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Precision Medicine Initiative● Wearables: IoT Sensors

○ Blood Pressure○ Pulse○ Sleep○ Calories○ Activity○ Glucose

Health/Medicine

Page 58: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● SDN: Software Defined Networking● WAN: Wide Area Network ● LAN: Local Area Network ● MAN: Metropolitan Area Network● PAN: Personal Area Networks● CAN: Car Area Networks● BAN: Body Area Networks

Delivery Pipelines: Networks

Page 59: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

Ye Sun: BAN and CAN

Page 60: Transversal Delivery Pipeline by Mike Nescot and Nick Grace

● Unified Data Warehouse● Pipeline Options (service vs platform)● Life is just a just a collection of

microservices, we’re all headed towards the final deployment

Transversal Delivery Pipeline