SlideShare a Scribd company logo
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
Model & ServePrep & Train
Databricks
HDInsight
Data Lake Analytics
Custom
apps
Sensors
and devices
Store
Blobs
Data Lake
Ingest
Data Factory
(Data movement, pipelines & orchestration)
Machine
Learning
Cosmos DB
SQL Data
Warehouse
Analysis Services
Event Hub
IoT Hub
SQL Database
Analytical dashboards
Predictive apps
Operational reports
Intelligence
B I G D ATA & A D VA N C E D A N A LY T I C S AT A G L A N C E
Business
apps
10
01
SQLKafka
A fast, easy and collaborative Apache® Spark™ based analytics platform optimized for Azure
Best of Databricks Best of Microsoft
Designed in collaboration with the founders of Apache Spark
One-click set up; streamlined workflows
Interactive workspace that enables collaboration between data scientists, data engineers, and business analysts.
Native integration with Azure services (Power BI, SQL DW, Cosmos DB, Blob Storage)
Enterprise-grade Azure security (Active Directory integration, compliance, enterprise -grade SLAs)
A Z U R E D A T A B R I C K S
Microsoft Azure
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
RAPID
EXPERIMENTATI
ON
DATA
VISUALIZATION
CROSS-TEAM
COLLABORATION
EASY SHARING
OF INSIGHTS
 Infrastructure management
 Data exploration and visualization at scale
 Time to value - From model iterations to intelligence
 Integrating with various ML tools to stitch a solution together
 Operationalize ML models to integrate them into applications
Optimized Databricks Runtime Engine
DATABRICKS I/O SERVERLESS
Collaborative Workspace
Cloud storage
Data warehouses
Hadoop storage
IoT / streaming data
Rest APIs
Machine learning models
BI tools
Data exports
Data warehouses
Azure Databricks
Enhance Productivity
Deploy Production Jobs & Workflows
APACHE SPARK
MULTI-STAGE PIPELINES
DATA ENGINEER
JOB SCHEDULER NOTIFICATION & LOGS
DATA SCIENTIST BUSINESS ANALYST
Build on secure & trusted cloud Scale without limits
A Z U R E D A T A B R I C K S
 Easy to create and manage compute clusters that auto-scale
 Rapid development using the integrated workspace that
facilitates cross-team collaboration
 Interactive exploration with notebooks and dashboards
 Seamless integration with ML eco-system libraries and tools
 Deep Learning support with GPUs (coming soon in next release)
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
Spark
SparkSQL Streaming MLlib GraphX
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks





The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
Train model 1
Evaluate
Datasource 1
Datasource 2
Datasource 2
Extract featuresExtract features
Feature transform 1
Feature transform 2
Feature transform 3
Train model 2
Ensemble
Simple construction, tuning, and testing for ML workflows
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
model = est2.fit(est1.fit(
 tf2.transform(tf1.transform(data)))
 .transform(
 tf2.transform(tf1.transform(data)))
 )
model = Pipeline(stages=[tf1, tf2, est1, es2]).fit(data)
28
Cross Validation
Model
Training
Feature
Extraction
regularization
parameter:
{0.0, 0.1, ...}
29
Cross Validation
...
Best Model
Model #1
Training
Model #2
Training
Feature
Extraction
Model #3
Training
Microsoft Confidential
Advanced Analytics: Pipeline
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
Data Science Software Engineering
Prototype (Python/R)
Create model
Re-implement model for
production (Java)
Deploy model
3
Data Science Software Engineering
Prototype (Python/R)
Create Pipeline
• Extract raw features
• Transform features
• Select key features
• Fit multiple models
• Combine results to
make prediction
• Extra implementation work
• Different code paths
• Synchronization overhead
Re-implement Pipeline
for production (Java)
Deploy Pipeline
3
Data Science Software Engineering
Prototype (Python/R)
Create Pipeline
Persist model or Pipeline:
model.save(“path://...”)
Load Pipeline (Scala/Java)
Model.load(“path://…”)
Deploy in production
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
Output
{
“id”:5923937,
“prediction”: 1.0
}
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
 Classification
 Logistic regression w/ elastic net
 Naive Bayes
 Streaming logistic regression
 Linear SVMs
 Decision trees
 Random forests
 Gradient-boosted trees
 Multilayer perceptron
 One-vs-rest
 Regression
 Least squares w/ elastic net
 Isotonic regression
 Decision trees
 Random forests
 Gradient-boosted trees
 Streaming linear methods
 Recommendation
 Alternating Least Squares
 Frequent itemsets
 FP-growth
 Prefix span
Clustering
• Gaussian mixture models
• K-Means
• Streaming K-Means
• Latent Dirichlet Allocation
• Power Iteration Clustering
Statistics
• Pearson correlation
• Spearman correlation
• Online summarization
• Chi-squared test
• Kernel density estimation
Linear algebra
• Local dense & sparse vectors & matrices
• Distributed matrices
• Block-partitioned matrix
• Row matrix
• Indexed row matrix
• Coordinate matrix
• Matrix decompositions
Model import/export
Pipelines
Feature extraction & selection
• Binarizer
• Bucketizer
• Chi-Squared selection
• CountVectorizer
• Discrete cosine transform
• ElementwiseProduct
• Hashing term frequency
• Inverse document frequency
• MinMaxScaler
• Ngram
• Normalizer
• One-Hot Encoder
• PCA
• PolynomialExpansion
• RFormula
• SQLTransformer
• Standard scaler
• StopWordsRemover
• StringIndexer
• Tokenizer
• StringIndexer
• VectorAssembler
• VectorIndexer
• VectorSlicer
• Word2Vec
And more…
4
• Classification
• Regression
• Recommendation
• Clustering
• Frequent itemsets
4
• Model
import/export
• Pipelines
• DataFrames
• Cross validation
• Feature
extraction &
selection
• Statistics
• Linear algebra
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
 Use Azure Databricks for scaling out ML task
 Leverage well-known model architectures
 MLLib Pipeline API simplifies ML workflows
 Leverage pre-trained models for common tasks
DeepImageFeaturizer.transform
10minutes
6hours
from import
DeepImageFeaturizer
.transform
from import
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
5
JFK
IAD
LAX
SFO
SEA
DFW
src dest delay tripid
SFO SEA 45 105892
3
id city state
SEA Seattle WA
vertex (node)
edge
vertex
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
JFK
IAD
LAX
SFO
SEA
DFW src dest delay tripid
SFO SEA 45 105892
3
LAX JFK 52 410022
4
id city state
SEA Seattle WA
SFO San Francisco CA
JFK New York NY
vertices DataFrame
edges
DataFrame
vertex
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
es)
JFK
IAD
LAX
SFO
SEA
DFW
(b)
(a)
(c)
Search for structural
patterns within a graph.
val paths: DataFrame =
g.find(“(a)-[e1]->(b);
(b)-[e2]->(c);
!(c)-[]->(a)”)
Then filter using vertex
& edge data.
paths.filter(“e1.delay > 20”)
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
Save & load the DataFrames.
vertices = sqlContext.read.parquet(...)
edges = sqlContext.read.parquet(...)
g = GraphFrame(vertices, edges)
g.vertices.write.parquet(...)
g.edges.write.parquet(...)
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks
The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks

More Related Content

PPTX
Introduction to Azure Databricks
PDF
Spark as a Service with Azure Databricks
PPTX
A developer's introduction to big data processing with Azure Databricks
PPTX
Global AI Bootcamp Madrid - Azure Databricks
PPTX
Modern data warehouse
PPTX
Develop scalable analytical solutions with Azure Data Factory & Azure SQL Dat...
PDF
Cortana Analytics Workshop: Azure Data Lake
PPTX
Azure data bricks by Eugene Polonichko
Introduction to Azure Databricks
Spark as a Service with Azure Databricks
A developer's introduction to big data processing with Azure Databricks
Global AI Bootcamp Madrid - Azure Databricks
Modern data warehouse
Develop scalable analytical solutions with Azure Data Factory & Azure SQL Dat...
Cortana Analytics Workshop: Azure Data Lake
Azure data bricks by Eugene Polonichko

What's hot (20)

PPTX
Building Advanced Analytics Pipelines with Azure Databricks
PDF
Dipping Your Toes: Azure Data Lake for DBAs
PDF
Big Data Adavnced Analytics on Microsoft Azure
PDF
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
PDF
Microsoft Build 2020: Data Science Recap
PDF
201905 Azure Databricks for Machine Learning
PPTX
Azure Lowlands: An intro to Azure Data Lake
PPTX
Why Power BI is the right tool for you
PPTX
Azure Data Lake Intro (SQLBits 2016)
PDF
Einstieg in Machine Learning für Datenbankentwickler
PPTX
Running cost effective big data workloads with Azure Synapse and Azure Data L...
PPTX
Ai & Data Analytics 2018 - Azure Databricks for data scientist
PPTX
RDX Insights Presentation - Microsoft Business Intelligence
PDF
Designing a modern data warehouse in azure
PPTX
An intro to Azure Data Lake
PDF
Microsoft Ignite AU 2017 - Orchestrating Big Data Pipelines with Azure Data F...
PPTX
Microsoft cloud big data strategy
PDF
DataOps for the Modern Data Warehouse on Microsoft Azure @ NDCOslo 2020 - Lac...
PPTX
Running cost effective big data workloads with Azure Synapse and ADLS (MS Ign...
PDF
Data Lakes with Azure Databricks
Building Advanced Analytics Pipelines with Azure Databricks
Dipping Your Toes: Azure Data Lake for DBAs
Big Data Adavnced Analytics on Microsoft Azure
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Microsoft Build 2020: Data Science Recap
201905 Azure Databricks for Machine Learning
Azure Lowlands: An intro to Azure Data Lake
Why Power BI is the right tool for you
Azure Data Lake Intro (SQLBits 2016)
Einstieg in Machine Learning für Datenbankentwickler
Running cost effective big data workloads with Azure Synapse and Azure Data L...
Ai & Data Analytics 2018 - Azure Databricks for data scientist
RDX Insights Presentation - Microsoft Business Intelligence
Designing a modern data warehouse in azure
An intro to Azure Data Lake
Microsoft Ignite AU 2017 - Orchestrating Big Data Pipelines with Azure Data F...
Microsoft cloud big data strategy
DataOps for the Modern Data Warehouse on Microsoft Azure @ NDCOslo 2020 - Lac...
Running cost effective big data workloads with Azure Synapse and ADLS (MS Ign...
Data Lakes with Azure Databricks
Ad

Similar to The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks (20)

PPTX
Deep Learning Technical Pitch Deck
PDF
Machine learning at scale challenges and solutions
PPTX
TechEvent Databricks on Azure
PPTX
Azure Databricks - An Introduction (by Kris Bock)
PPTX
Data analytics on Azure
PPTX
Big Data Analytics with Storm, Spark and GraphLab
PDF
Advanced Data Science on Spark-(Reza Zadeh, Stanford)
PPTX
A practical guidance of the enterprise machine learning
PPTX
Hadoop for the Data Scientist: Spark in Cloudera 5.5
PPTX
Practical Distributed Machine Learning Pipelines on Hadoop
PPTX
AI for Good at Microsoft
PPTX
AI Class Topic 4: Text Analytics, Sentiment Analysis and Apache Spark
PDF
201908 Overview of Automated ML
PDF
Scaling Analytics with Apache Spark
PDF
Dev Ops Training
PPTX
Overview Microsoft's ML & AI tools
PPTX
UTAD - Jornadas de Informática - Potential of Big Data
PDF
Big Data Expo 2015 - Microsoft Transform you data into intelligent action
PPTX
Machine Learning and AI
PPTX
Big data analytics_beyond_hadoop_public_18_july_2013
Deep Learning Technical Pitch Deck
Machine learning at scale challenges and solutions
TechEvent Databricks on Azure
Azure Databricks - An Introduction (by Kris Bock)
Data analytics on Azure
Big Data Analytics with Storm, Spark and GraphLab
Advanced Data Science on Spark-(Reza Zadeh, Stanford)
A practical guidance of the enterprise machine learning
Hadoop for the Data Scientist: Spark in Cloudera 5.5
Practical Distributed Machine Learning Pipelines on Hadoop
AI for Good at Microsoft
AI Class Topic 4: Text Analytics, Sentiment Analysis and Apache Spark
201908 Overview of Automated ML
Scaling Analytics with Apache Spark
Dev Ops Training
Overview Microsoft's ML & AI tools
UTAD - Jornadas de Informática - Potential of Big Data
Big Data Expo 2015 - Microsoft Transform you data into intelligent action
Machine Learning and AI
Big data analytics_beyond_hadoop_public_18_july_2013
Ad

More from Microsoft Tech Community (20)

PPTX
100 ways to use Yammer
PPTX
10 Yammer Group Suggestions
PPTX
Removing Security Roadblocks to IoT Deployment Success
PPTX
Building mobile apps with Visual Studio and Xamarin
PPTX
Best practices with Microsoft Graph: Making your applications more performant...
PPTX
Interactive emails in Outlook with Adaptive Cards
PPTX
Unlocking security insights with Microsoft Graph API
PPTX
Break through the serverless barriers with Durable Functions
PPTX
Multiplayer Server Scaling with Azure Container Instances
PPTX
Explore Azure Cosmos DB
PPTX
Media Streaming Apps with Azure and Xamarin
PPTX
DevOps for Data Science
PPTX
Real-World Solutions with PowerApps: Tips & tricks to manage your app complexity
PPTX
Azure Functions and Microsoft Graph
PPTX
Ingestion in data pipelines with Managed Kafka Clusters in Azure HDInsight
PPTX
Getting Started with Visual Studio Tools for AI
PPTX
Using AML Python SDK
PPTX
Mobile Workforce Location Tracking with Bing Maps
PPTX
Cognitive Services Labs in action Anomaly detection
PPTX
Speech Devices SDK
100 ways to use Yammer
10 Yammer Group Suggestions
Removing Security Roadblocks to IoT Deployment Success
Building mobile apps with Visual Studio and Xamarin
Best practices with Microsoft Graph: Making your applications more performant...
Interactive emails in Outlook with Adaptive Cards
Unlocking security insights with Microsoft Graph API
Break through the serverless barriers with Durable Functions
Multiplayer Server Scaling with Azure Container Instances
Explore Azure Cosmos DB
Media Streaming Apps with Azure and Xamarin
DevOps for Data Science
Real-World Solutions with PowerApps: Tips & tricks to manage your app complexity
Azure Functions and Microsoft Graph
Ingestion in data pipelines with Managed Kafka Clusters in Azure HDInsight
Getting Started with Visual Studio Tools for AI
Using AML Python SDK
Mobile Workforce Location Tracking with Bing Maps
Cognitive Services Labs in action Anomaly detection
Speech Devices SDK

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Omni-Path Integration Expertise Offered by Nor-Tech
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
PDF
Sensors and Actuators in IoT Systems using pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
DevOps & Developer Experience Summer BBQ
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
Chapter 2 Digital Image Fundamentals.pdf
PDF
Advanced IT Governance
PDF
KodekX | Application Modernization Development
PPTX
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Event Presentation Google Cloud Next Extended 2025
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Review of recent advances in non-invasive hemoglobin estimation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Omni-Path Integration Expertise Offered by Nor-Tech
Chapter 3 Spatial Domain Image Processing.pdf
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
Sensors and Actuators in IoT Systems using pdf
Big Data Technologies - Introduction.pptx
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
madgavkar20181017ppt McKinsey Presentation.pdf
DevOps & Developer Experience Summer BBQ
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Electronic commerce courselecture one. Pdf
Transforming Manufacturing operations through Intelligent Integrations
Chapter 2 Digital Image Fundamentals.pdf
Advanced IT Governance
KodekX | Application Modernization Development
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
“AI and Expert System Decision Support & Business Intelligence Systems”
Event Presentation Google Cloud Next Extended 2025
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Review of recent advances in non-invasive hemoglobin estimation

The Developer Data Scientist – Creating New Analytics Driven Applications using Apache Spark with Azure Databricks

  • 3. Model & ServePrep & Train Databricks HDInsight Data Lake Analytics Custom apps Sensors and devices Store Blobs Data Lake Ingest Data Factory (Data movement, pipelines & orchestration) Machine Learning Cosmos DB SQL Data Warehouse Analysis Services Event Hub IoT Hub SQL Database Analytical dashboards Predictive apps Operational reports Intelligence B I G D ATA & A D VA N C E D A N A LY T I C S AT A G L A N C E Business apps 10 01 SQLKafka
  • 4. A fast, easy and collaborative Apache® Spark™ based analytics platform optimized for Azure Best of Databricks Best of Microsoft Designed in collaboration with the founders of Apache Spark One-click set up; streamlined workflows Interactive workspace that enables collaboration between data scientists, data engineers, and business analysts. Native integration with Azure services (Power BI, SQL DW, Cosmos DB, Blob Storage) Enterprise-grade Azure security (Active Directory integration, compliance, enterprise -grade SLAs)
  • 5. A Z U R E D A T A B R I C K S Microsoft Azure
  • 9.  Infrastructure management  Data exploration and visualization at scale  Time to value - From model iterations to intelligence  Integrating with various ML tools to stitch a solution together  Operationalize ML models to integrate them into applications
  • 10. Optimized Databricks Runtime Engine DATABRICKS I/O SERVERLESS Collaborative Workspace Cloud storage Data warehouses Hadoop storage IoT / streaming data Rest APIs Machine learning models BI tools Data exports Data warehouses Azure Databricks Enhance Productivity Deploy Production Jobs & Workflows APACHE SPARK MULTI-STAGE PIPELINES DATA ENGINEER JOB SCHEDULER NOTIFICATION & LOGS DATA SCIENTIST BUSINESS ANALYST Build on secure & trusted cloud Scale without limits A Z U R E D A T A B R I C K S
  • 11.  Easy to create and manage compute clusters that auto-scale  Rapid development using the integrated workspace that facilitates cross-team collaboration  Interactive exploration with notebooks and dashboards  Seamless integration with ML eco-system libraries and tools  Deep Learning support with GPUs (coming soon in next release)
  • 22. Train model 1 Evaluate Datasource 1 Datasource 2 Datasource 2 Extract featuresExtract features Feature transform 1 Feature transform 2 Feature transform 3 Train model 2 Ensemble
  • 23. Simple construction, tuning, and testing for ML workflows
  • 27. model = est2.fit(est1.fit(  tf2.transform(tf1.transform(data)))  .transform(  tf2.transform(tf1.transform(data)))  ) model = Pipeline(stages=[tf1, tf2, est1, es2]).fit(data)
  • 29. 29 Cross Validation ... Best Model Model #1 Training Model #2 Training Feature Extraction Model #3 Training
  • 33. Data Science Software Engineering Prototype (Python/R) Create model Re-implement model for production (Java) Deploy model 3
  • 34. Data Science Software Engineering Prototype (Python/R) Create Pipeline • Extract raw features • Transform features • Select key features • Fit multiple models • Combine results to make prediction • Extra implementation work • Different code paths • Synchronization overhead Re-implement Pipeline for production (Java) Deploy Pipeline 3
  • 35. Data Science Software Engineering Prototype (Python/R) Create Pipeline Persist model or Pipeline: model.save(“path://...”) Load Pipeline (Scala/Java) Model.load(“path://…”) Deploy in production
  • 41.  Classification  Logistic regression w/ elastic net  Naive Bayes  Streaming logistic regression  Linear SVMs  Decision trees  Random forests  Gradient-boosted trees  Multilayer perceptron  One-vs-rest  Regression  Least squares w/ elastic net  Isotonic regression  Decision trees  Random forests  Gradient-boosted trees  Streaming linear methods  Recommendation  Alternating Least Squares  Frequent itemsets  FP-growth  Prefix span Clustering • Gaussian mixture models • K-Means • Streaming K-Means • Latent Dirichlet Allocation • Power Iteration Clustering Statistics • Pearson correlation • Spearman correlation • Online summarization • Chi-squared test • Kernel density estimation Linear algebra • Local dense & sparse vectors & matrices • Distributed matrices • Block-partitioned matrix • Row matrix • Indexed row matrix • Coordinate matrix • Matrix decompositions Model import/export Pipelines Feature extraction & selection • Binarizer • Bucketizer • Chi-Squared selection • CountVectorizer • Discrete cosine transform • ElementwiseProduct • Hashing term frequency • Inverse document frequency • MinMaxScaler • Ngram • Normalizer • One-Hot Encoder • PCA • PolynomialExpansion • RFormula • SQLTransformer • Standard scaler • StopWordsRemover • StringIndexer • Tokenizer • StringIndexer • VectorAssembler • VectorIndexer • VectorSlicer • Word2Vec And more… 4
  • 42. • Classification • Regression • Recommendation • Clustering • Frequent itemsets 4 • Model import/export • Pipelines • DataFrames • Cross validation • Feature extraction & selection • Statistics • Linear algebra
  • 48.  Use Azure Databricks for scaling out ML task  Leverage well-known model architectures  MLLib Pipeline API simplifies ML workflows  Leverage pre-trained models for common tasks
  • 54. 5 JFK IAD LAX SFO SEA DFW src dest delay tripid SFO SEA 45 105892 3 id city state SEA Seattle WA vertex (node) edge vertex
  • 58. JFK IAD LAX SFO SEA DFW src dest delay tripid SFO SEA 45 105892 3 LAX JFK 52 410022 4 id city state SEA Seattle WA SFO San Francisco CA JFK New York NY vertices DataFrame edges DataFrame vertex
  • 60. es)
  • 61. JFK IAD LAX SFO SEA DFW (b) (a) (c) Search for structural patterns within a graph. val paths: DataFrame = g.find(“(a)-[e1]->(b); (b)-[e2]->(c); !(c)-[]->(a)”) Then filter using vertex & edge data. paths.filter(“e1.delay > 20”)
  • 63. Save & load the DataFrames. vertices = sqlContext.read.parquet(...) edges = sqlContext.read.parquet(...) g = GraphFrame(vertices, edges) g.vertices.write.parquet(...) g.edges.write.parquet(...)

Editor's Notes

  • #18: Contributions estimated from github commit logs, with some effort to de-duplicate entities.
  • #24: No time to mention: User-defined functions (UDFs) Optimizations: code gen, predicate pushdown
  • #29: Model training / tuning Regularization: parameter that controls how the linear model does on unseen data There is no single good value for the regularization parameter. One common method to find on is to try out different values. This technique is called CV: you split your training data into 2 sets: one set used to learn some parameters with a given regularization parameter, and another set to evaluate how well we are doing with the given parameter.
  • #31: 30
  • #36: Note this is loading into Spark.
  • #55: 54
  • #56: 55
  • #57: 56
  • #58: 57