You’ve fit your machine learning pipeline…now what? As a data scientist, taking a model to production is the single largest barrier to making an impact. As an engineer, how do you integrate machine learning into production applications? This talk will explore how we generalize the data science workflow through three stages: data collection, machine learning, and machine learning pipeline deployment.
First, we’ll talk through how we leverage Spark Structured Streaming to generate consistent and up-to-date data that is available at training and scoring time. Next, we’ll discuss how we built repeatable, scalable, data agnostic machine learning pipelines that consider a host of algorithms, objective functions, feature selection and extraction methods to scale the impact of our data scientists. Finally, we’ll show you how to utilize MLeap to serialize these fitted Spark ML pipelines so they can be evaluated real-time, in tens of milliseconds.
Automating and Productionizing Machine Learning Pipelines for Real-Time Scoring with david crespi and Jared Piedt
1. Automating and Productionizing
Machine Learning Pipelines for
Real-Time Scoring
D a v i d C r e s p i , D a t a S c i e n t i s t
J a r e d P i e d t , S o f t w a r e E n g i n e e r
2. 2
What we do
• Digital consumer choice
platform
• Connect online
customers with products
and services across high-
growth industries:
• Home services
• Financial services
• Healthcare
16. 16
New Data Architecture
D a t a P i p e l i n e
Amazon
S3
B u s i n e s s
L o g i c
Training
Data
Scoring
Data
17. 17
Projections
{
i d : 4
…
} {
i d : 3
…
}
{
i d : 2
…
} {
i d : 1
…
}
{
i d :
…
}
Reducer
18. 18
Credit Card Recommendation
User Id Keyword Page View
Count
Card Shown Clicked
a best travel
cards
2 Travel 1
b credit cards 3 Cash Back 0
c top credit cards 1 Cash Back 1
d credit cards 1 Travel 0
23. 23
Credit Card Recommendation
User Id Keyword Page View
Count
Card Shown Clicked
a best travel
cards
2 Travel 1
b credit cards 3 Cash Back 0
c top credit cards 1 Cash Back 1
d credit cards 1 Travel 0
z airline miles
card
1 Travel 1