Machine learning and discovery with Kubernetes
William Benton • @willb • willb@redhat.com
Machine learning and discovery with Kubernetes William Benton - - PowerPoint PPT Presentation
Machine learning and discovery with Kubernetes William Benton @willb willb@redhat.com What do machine learning workflows look like? @willb #SEMLA19 @willb #SEMLA19 @willb #SEMLA19 @willb #SEMLA19 @willb #SEMLA19 @willb #SEMLA19
Machine learning and discovery with Kubernetes
William Benton • @willb • willb@redhat.com
What do machine learning workflows look like?
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
data collection and cleaning codifying problem and metrics
@willb #SEMLA19
feature engineering model training and tuning data collection and cleaning
@willb #SEMLA19
feature engineering model training and tuning data collection and cleaning
@willb #SEMLA19
feature engineering model training and tuning model validation
@willb #SEMLA19
feature engineering model training and tuning model validation
@willb #SEMLA19
model validation model deployment monitoring and validation
@willb #SEMLA19
model validation model deployment monitoring and validation
@willb #SEMLA19
feature engineering model training and tuning model validation model deployment monitoring and validation data collection and cleaning codifying problem and metrics@willb #SEMLA19
feature engineering model training and tuning model validation model deployment monitoring and validation data collection and cleaning codifying problem and metricsdefining types and interfaces prototyping
@willb #SEMLA19
feature engineering model training and tuning model validation model deployment monitoring and validation data collection and cleaning codifying problem and metricsunit, behavioral, and integration testing formal verification
@willb #SEMLA19
feature engineering model training and tuning model validation model deployment monitoring and validation data collection and cleaning codifying problem and metricsdeployment monitoring
@willb #SEMLA19
@willb #SEMLA19
What’s a container?
@willb #SEMLA19
%
@willb #SEMLA19
% pip install numpy
@willb #SEMLA19 pip install numpy /usr/bin/pip executable arguments virtual memory file handles / root filesystem environment LANG=en_US USER=willb ... process table network routes
@willb #SEMLA19 pip install numpy /usr/bin/pip executable arguments virtual memory file handles / root filesystem environment LANG=en_US USER=willb ... process table network routes
@willb #SEMLA19 pip install numpy /usr/bin/pip executable arguments virtual memory file handles / root filesystem environment LANG=en_US USER=willb ... process table network routes
@willb #SEMLA19 pip install numpy /usr/bin/pip executable arguments virtual memory file handles / root filesystem environment LANG=en_US USER=willb ... process table network routes
@willb #SEMLA19 pip install numpy /usr/bin/pip executable arguments virtual memory file handles / root filesystem environment LANG=en_US USER=willb ... process table network routes
@willb #SEMLA19
pip install numpy /usr/bin/pip
executable arguments virtual memory file handles /var/lib/envs/main root filesystem environment
LANG=en_US USER=willb ...
process table network routes
@willb #SEMLA19
pip install numpy /usr/bin/pip
executable arguments virtual memory file handles /var/lib/envs/main root filesystem environment
LANG=en_US USER=willb ...
process table network routes
MAXIMUM km / h
@willb #SEMLA19
Immutable images
base image configuration and installation recipes user application code
979229b9 33721112 e8cae4f6 2bb6ab16 a8296f7e a6afd91e 6b8cad3e
@willb #SEMLA19
Stateless microservices
@willb #SEMLA19
Stateless microservices
@willb #SEMLA19
Stateless microservices
@willb #SEMLA19
Stateless microservices
@willb #SEMLA19
Stateless microservices
@willb #SEMLA19
Stateless microservices
@willb #SEMLA19
Stateless microservices
@willb #SEMLA19
Stateless microservices
@willb #SEMLA19
Declarative app configuration
@willb #SEMLA19
Integration and deployment
OK!
@willb #SEMLA19
Integration and deployment
OK!
base image configuration and installation recipes application code
@willb #SEMLA19
Integration and deployment
OK!
base image configuration and installation recipes application code
@willb #SEMLA19
Integration and deployment
base image configuration and installation recipes application code
What containers offer data scientists
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
O K ! O K !
@willb #SEMLA19
No friction: mybinder.org
@willb #SEMLA19
More flexible: source-to-image
%
@willb #SEMLA19
More flexible: source-to-image
%
https://github.com/openshift/source-to-image
builder image application image
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
mA
@willb #SEMLA19
mA
@willb #SEMLA19
mA
distribution of input data? distribution of predictions? distribution of acyclic paths taken through scoring code? (joint)
@willb #SEMLA19
Where from here?
@willb #SEMLA19
data scientists application developers data engineers
federate train models events databases file, object storage management web and mobile reporting developer UI transform transform transform archive
@willb #SEMLA19
data scientists application developers data engineers
federate train models events databases file, object storage management web and mobile reporting developer UI transform transform transform archive
machine learning engineers
@willb #SEMLA19
radanalytics.io
@willb #SEMLA19
@willb #SEMLA19
Kubeflow
What did we talk about today?
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
@willb #SEMLA19
willb@redhat.com • @willb https://chapeau.freevariable.com