1 1
Pivotal Confidential–Internal Use Only
1 Pivotal ConfidentialInternal Use Only Implementing a highly - - PowerPoint PPT Presentation
1 1 Pivotal ConfidentialInternal Use Only Implementing a highly scalable Stock prediction system with Apache Geode, Spring XD and Spark MLib (incubating) Fred Melo William Markito @fredmelo_br @william_markito 2 About us Fred Melo
1 1
Pivotal Confidential–Internal Use Only
2
William Markito
@william_markito
Fred Melo
@fredmelo_br
"Smart System"
Smart System
Learns with HISTORICAL TRENDS
Live data becomes historical
Real-Time
Evaluates LIVE DATA
Historical
Trading Data “According to historical trends, there’s an 80% chance this stock prices might go down within the next few minutes" "How were the technical indicator readings when the latest price drops happened? "
Data Temperature
Hot Cold
1- Live data is ingested into the grid 3 - Results are pushed immediately to deployed applications 4 - “Hot" data ages, becoming part of the historical dataset 5 - Re-training triggered, ML model updated.
Spring XD
2 - Trained ML model compares new data to historical patterns
Spring XD
Machine Learning model
Data Temperature
Hot Warm
1- Live data is ingested into the grid 3 - Results are pushed immediately to deployed applications
Machine Learning model
2 - Trained ML model compares new data to historical patterns
5 - Re-training triggered, ML model updated.
Spring XD
Simplified Model
Spring XD
Transform Sink
SpringXD
Machine Learning
Enrich Filter Split
Dashboard
Indicators
1 2
Predict
3
Real data Simulator
/Stocks /TechIndicators /Predictions
Transform Sink
SpringXD
Machine Learning
Enrich Filter Split
Dashboard
Indicators
1 2
Predict
3
Real data Simulator
/Stocks /TechIndicators /Predictions
Transform Sink
SpringXD
Machine Learning
Enrich Filter Split
Dashboard
Indicators
1 2
Predict
3
Real data Simulator
/Stocks /TechIndicators /Predictions
Transform Sink
SpringXD
Enrich Filter Split
1 2
Predict
3
Transform Sink
SpringXD
Machine Learning
Enrich Filter Split
Dashboard
Indicators
1 2
Predict
3
Real data Simulator
/Stocks /TechIndicators /Predictions
medium avg (x+1) relative strength (x) medium avg (x) price(x)
Machine Learning Model (e.g. Linear Regression)
medium avg (x+1) relative strength (x) medium avg (x) price(x)
Machine Learning Model (e.g. Linear Regression)
Error
22
William Markito
@william_markito
Fred Melo
@fredmelo_br
23 1
Pivotal Confidential–Internal Use Only