SlideShare une entreprise Scribd logo
1  sur  18
Télécharger pour lire hors ligne
Machine Learning with R
and Tableau
Tableau User Group (TUG)
Greg Armstrong
Blast Analytics & Marketing
garmstrong@blastam.com
TUG | Machine Learning with R and Tableau
Agenda
Machine Learning with R and Tableau
2
1. What is Machine Learning?
2. What is R?
3. Live Examples using Tableau and R
TUG | Machine Learning with R and Tableau
Machine Learning
What is machine learning?
3
Machine learning explores
the study and construction
of algorithms that can
learn from and make
predictions on data.
• Classification
• Regression
• Segmentation
Common Methods
TUG | Machine Learning with R and Tableau 4
Regression
Machine Learning
Supervised Learning
Classification
X
Y
X
Y
TUG | Machine Learning with R and Tableau 5
Segmentation (cluster)
Machine Learning
Unsupervised Learning
X
Y
TUG | Machine Learning with R and Tableau
Machine Learning
Marketing use cases
6
• Predicting Lifetime Value (LTV)
• Predicting Churn
• Customer segmentation
• Product recommendations
I like it. I like it a lot!
TUG | Machine Learning with R and Tableau
Machine Learning
Finance use cases
7
• Predicting credit risk
• Treasury or currency risk
• Fraud detection
• Accounts Payable Recovery
“Because a large font makes profits look bigger.”
TUG | Machine Learning with R and Tableau
Machine Learning
Human Resources use cases
8
• Resume screening
• Employee churn
• Training recommendation
• Talent management
“I pruned a tree once, so technically I’m allowed
to put ‘branch manager’ on my resume”
TUG | Machine Learning with R and Tableau
Machine Learning
Web Search
9
… and predictive text
algorithms to fill in the most
common keyword search
terms.
Google uses machine
learning algorithms to serve
up the correct search even
when the search terms are
vastly misspelled.
TUG | Machine Learning with R and Tableau
Machine Learning
Social Networks
10
TUG | Machine Learning with R and Tableau
Machine Learning
Spam Filtering
11
No Spam
TUG | Machine Learning with R and Tableau
Machine Learning
Research - Fishers Iris
12
Based on Ronald Fisher’s 1936 paper
the idea was to perform statistical
classification on the Iris flower
data set.
Petal widthPetal length
SepalwidthSepallength
TUG | Machine Learning with R and Tableau
ahhRRRR!
What is R?
13
• Data manipulation
• Statistical modeling
• Visualization tool
• Open Source
R is a language for statistical analysis and
data visualization.
TUG | Machine Learning with R and Tableau
R Studio, R & Tableau
A brief introduction
14
+
TUG | Machine Learning with R and Tableau
Tableau + R
What did we discover?
15
Customer Segmentation (clusters)
1. There are some big spenders in the Red group,
who may not have purchased in a while.
2. Our most profitable customers seem to be older
with higher incomes. (Blue group)
Forecasting (linear regression)
1. Tableau forecasting is very good.
2. More flexibility with R forecasting.
TUG | Machine Learning with R and Tableau
Tableau User Group (TUG)
Machine Learning with R and Tableau
16
Questions?
Thank you!
Phone (888) 252-7866 Email sales@blastam.comWeb www.blastam.com
Roseville Office
6020 West Oaks Blvd, Suite 260
Rocklin, CA 95765
San Francisco Office
625 Second Street, Suite 280
San Francisco, CA 94107
New York Office
261 Madison Ave, 9th Floor
New York, NY 10016
Seattle Office
500 Yale Avenue North
Seattle, WA 98109
Los Angeles Office
7083 Hollywood Boulevard
Los Angeles, CA 90028
TUG | Machine Learning with R and Tableau
Calculated Fields
Tableau Calculated Fields for R
18
SCRIPT_INT("
## Sets the seed
set.seed( .arg7[1])
## Studentizes the variables
day <- ( .arg1 - mean(.arg1) )/ sd(.arg1)
mos <- ( .arg2 - mean(.arg2) )/ sd(.arg2)
dis <- ( .arg3 - mean(.arg3) )/ sd(.arg3)
inc <- ( .arg4 - mean(.arg4) )/ sd(.arg4)
age <- ( .arg5 - mean(.arg5) )/ sd(.arg5)
dat <- cbind(day, mos, dis, inc, age)
day <- .arg6[1]
## Creates the clusters
kmeans(dat, day)$cluster
",
MIN([Days Since Last Order]),
[Months as Customer],
AVG([Discount]),
MAX([Income]),
MAX([Age]),
[clusters],
[seed]
)
K-means cluster for customer segmentation
SCRIPT_STR('hello <- "Hello TUG!"', ATTR([R
Result]))
Pass string to R with a parameter
SCRIPT_INT("as.integer(.arg1 * 2)", [R Variable])
Pass calculation to R based on parameter
SCRIPT_BOOL("
print('******************************************
*********************')
print('the vector sent was')
print(.arg1)
print('with length')
print(length(.arg1))
TRUE
",
SUM([Sales])
)
Print to console R arguments

Contenu connexe

Tendances

The Secrets To Agency Content Marketing Success
The Secrets To Agency Content Marketing Success The Secrets To Agency Content Marketing Success
The Secrets To Agency Content Marketing Success Influence and Co.
 
Content Strategy & Actionable On-Page SEO Tips to Drive Traffic in 2019
Content Strategy & Actionable On-Page SEO Tips to Drive Traffic in 2019Content Strategy & Actionable On-Page SEO Tips to Drive Traffic in 2019
Content Strategy & Actionable On-Page SEO Tips to Drive Traffic in 2019Search Engine Journal
 
Marketing Mashup: Top takeaways from Web Opt Summit 2014
Marketing Mashup: Top takeaways from Web Opt Summit 2014Marketing Mashup: Top takeaways from Web Opt Summit 2014
Marketing Mashup: Top takeaways from Web Opt Summit 2014MarketingSherpa
 
Bob Ruffalo - How Impact Used ResearchXL to 3X Conversions
Bob Ruffalo - How Impact Used ResearchXL to 3X ConversionsBob Ruffalo - How Impact Used ResearchXL to 3X Conversions
Bob Ruffalo - How Impact Used ResearchXL to 3X ConversionsCXL
 
Kraftblick: How To Take The Best of Marketing Strategies of Your Competitors ...
Kraftblick: How To Take The Best of Marketing Strategies of Your Competitors ...Kraftblick: How To Take The Best of Marketing Strategies of Your Competitors ...
Kraftblick: How To Take The Best of Marketing Strategies of Your Competitors ...Kraftblick
 
Infer and LeanData - Host Analytics Customer Case Study
Infer and LeanData -  Host Analytics Customer Case StudyInfer and LeanData -  Host Analytics Customer Case Study
Infer and LeanData - Host Analytics Customer Case StudyInfer
 
The five essential steps to building a data product
The five essential steps to building a data productThe five essential steps to building a data product
The five essential steps to building a data productBirst
 
How to Break Into Page 1 of the SERPs
How to Break Into Page 1 of the SERPsHow to Break Into Page 1 of the SERPs
How to Break Into Page 1 of the SERPsZazzle Media
 
How to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO StrategyHow to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO StrategySearch Engine Journal
 
Google Analytics: Advanced Technical Implementation
Google Analytics: Advanced Technical ImplementationGoogle Analytics: Advanced Technical Implementation
Google Analytics: Advanced Technical ImplementationMatt Trimmer
 
Stamats: Analytics Webinar
Stamats: Analytics WebinarStamats: Analytics Webinar
Stamats: Analytics Webinarcjcunniff
 
Lucidworks & IMRG Webinar – Best-In-Class Retail Product Discovery
Lucidworks & IMRG Webinar – Best-In-Class Retail Product DiscoveryLucidworks & IMRG Webinar – Best-In-Class Retail Product Discovery
Lucidworks & IMRG Webinar – Best-In-Class Retail Product DiscoveryLucidworks
 
4 Steps to ABM Success with Predictive Analytics
4 Steps to ABM Success with Predictive Analytics4 Steps to ABM Success with Predictive Analytics
4 Steps to ABM Success with Predictive AnalyticsInfer
 
Content Marketing: Case Studies and Strategies for Success
Content Marketing: Case Studies and Strategies for SuccessContent Marketing: Case Studies and Strategies for Success
Content Marketing: Case Studies and Strategies for SuccessMarketingSherpa
 
The Hidden Potential Of Brand PPC - BrightonSEO 2018 - Daniel Moore
The Hidden Potential Of Brand PPC - BrightonSEO 2018 - Daniel MooreThe Hidden Potential Of Brand PPC - BrightonSEO 2018 - Daniel Moore
The Hidden Potential Of Brand PPC - BrightonSEO 2018 - Daniel MooreDaniel Moore
 
Testing: A discussion about SAP's 27% lift in incremental sales leads
Testing: A discussion about SAP's 27% lift in incremental sales leadsTesting: A discussion about SAP's 27% lift in incremental sales leads
Testing: A discussion about SAP's 27% lift in incremental sales leadsMarketingSherpa
 
Conquering the perfect storm share[1]
Conquering the perfect storm share[1]Conquering the perfect storm share[1]
Conquering the perfect storm share[1]Andy Brown
 
The Nuts and Bolts: How one company implements an entire testing methodology ...
The Nuts and Bolts: How one company implements an entire testing methodology ...The Nuts and Bolts: How one company implements an entire testing methodology ...
The Nuts and Bolts: How one company implements an entire testing methodology ...MarketingSherpa
 

Tendances (20)

The Secrets To Agency Content Marketing Success
The Secrets To Agency Content Marketing Success The Secrets To Agency Content Marketing Success
The Secrets To Agency Content Marketing Success
 
Content Strategy & Actionable On-Page SEO Tips to Drive Traffic in 2019
Content Strategy & Actionable On-Page SEO Tips to Drive Traffic in 2019Content Strategy & Actionable On-Page SEO Tips to Drive Traffic in 2019
Content Strategy & Actionable On-Page SEO Tips to Drive Traffic in 2019
 
Marketing Mashup: Top takeaways from Web Opt Summit 2014
Marketing Mashup: Top takeaways from Web Opt Summit 2014Marketing Mashup: Top takeaways from Web Opt Summit 2014
Marketing Mashup: Top takeaways from Web Opt Summit 2014
 
PPC Keyword Research
PPC Keyword ResearchPPC Keyword Research
PPC Keyword Research
 
Bob Ruffalo - How Impact Used ResearchXL to 3X Conversions
Bob Ruffalo - How Impact Used ResearchXL to 3X ConversionsBob Ruffalo - How Impact Used ResearchXL to 3X Conversions
Bob Ruffalo - How Impact Used ResearchXL to 3X Conversions
 
Kraftblick: How To Take The Best of Marketing Strategies of Your Competitors ...
Kraftblick: How To Take The Best of Marketing Strategies of Your Competitors ...Kraftblick: How To Take The Best of Marketing Strategies of Your Competitors ...
Kraftblick: How To Take The Best of Marketing Strategies of Your Competitors ...
 
Infer and LeanData - Host Analytics Customer Case Study
Infer and LeanData -  Host Analytics Customer Case StudyInfer and LeanData -  Host Analytics Customer Case Study
Infer and LeanData - Host Analytics Customer Case Study
 
Online Marketing Overview
Online Marketing OverviewOnline Marketing Overview
Online Marketing Overview
 
The five essential steps to building a data product
The five essential steps to building a data productThe five essential steps to building a data product
The five essential steps to building a data product
 
How to Break Into Page 1 of the SERPs
How to Break Into Page 1 of the SERPsHow to Break Into Page 1 of the SERPs
How to Break Into Page 1 of the SERPs
 
How to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO StrategyHow to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO Strategy
 
Google Analytics: Advanced Technical Implementation
Google Analytics: Advanced Technical ImplementationGoogle Analytics: Advanced Technical Implementation
Google Analytics: Advanced Technical Implementation
 
Stamats: Analytics Webinar
Stamats: Analytics WebinarStamats: Analytics Webinar
Stamats: Analytics Webinar
 
Lucidworks & IMRG Webinar – Best-In-Class Retail Product Discovery
Lucidworks & IMRG Webinar – Best-In-Class Retail Product DiscoveryLucidworks & IMRG Webinar – Best-In-Class Retail Product Discovery
Lucidworks & IMRG Webinar – Best-In-Class Retail Product Discovery
 
4 Steps to ABM Success with Predictive Analytics
4 Steps to ABM Success with Predictive Analytics4 Steps to ABM Success with Predictive Analytics
4 Steps to ABM Success with Predictive Analytics
 
Content Marketing: Case Studies and Strategies for Success
Content Marketing: Case Studies and Strategies for SuccessContent Marketing: Case Studies and Strategies for Success
Content Marketing: Case Studies and Strategies for Success
 
The Hidden Potential Of Brand PPC - BrightonSEO 2018 - Daniel Moore
The Hidden Potential Of Brand PPC - BrightonSEO 2018 - Daniel MooreThe Hidden Potential Of Brand PPC - BrightonSEO 2018 - Daniel Moore
The Hidden Potential Of Brand PPC - BrightonSEO 2018 - Daniel Moore
 
Testing: A discussion about SAP's 27% lift in incremental sales leads
Testing: A discussion about SAP's 27% lift in incremental sales leadsTesting: A discussion about SAP's 27% lift in incremental sales leads
Testing: A discussion about SAP's 27% lift in incremental sales leads
 
Conquering the perfect storm share[1]
Conquering the perfect storm share[1]Conquering the perfect storm share[1]
Conquering the perfect storm share[1]
 
The Nuts and Bolts: How one company implements an entire testing methodology ...
The Nuts and Bolts: How one company implements an entire testing methodology ...The Nuts and Bolts: How one company implements an entire testing methodology ...
The Nuts and Bolts: How one company implements an entire testing methodology ...
 

En vedette

Unlock the Magic of PPC Segmentation
Unlock the Magic of PPC SegmentationUnlock the Magic of PPC Segmentation
Unlock the Magic of PPC SegmentationKayden Kelly
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningLior Rokach
 
Google Analytics Overview
Google Analytics OverviewGoogle Analytics Overview
Google Analytics OverviewKayden Kelly
 
Bagging Decision Trees on Data Sets with Classification Noise
Bagging Decision Trees on Data Sets with Classification NoiseBagging Decision Trees on Data Sets with Classification Noise
Bagging Decision Trees on Data Sets with Classification NoiseNTNU
 
Applications in Machine Learning
Applications in Machine LearningApplications in Machine Learning
Applications in Machine LearningJoel Graff
 
Machine Learning @ Mendeley
Machine Learning @ MendeleyMachine Learning @ Mendeley
Machine Learning @ MendeleyKris Jack
 
Strata 2013: Tutorial-- How to Create Predictive Models in R using Ensembles
Strata 2013: Tutorial-- How to Create Predictive Models in R using EnsemblesStrata 2013: Tutorial-- How to Create Predictive Models in R using Ensembles
Strata 2013: Tutorial-- How to Create Predictive Models in R using EnsemblesIntuit Inc.
 
Applications of Machine Learning
Applications of Machine LearningApplications of Machine Learning
Applications of Machine LearningHayim Makabee
 
Making Machine Learning Work in Practice - StampedeCon 2014
Making Machine Learning Work in Practice - StampedeCon 2014Making Machine Learning Work in Practice - StampedeCon 2014
Making Machine Learning Work in Practice - StampedeCon 2014StampedeCon
 
Visualization and Machine Learning - for exploratory data ...
Visualization and Machine Learning - for exploratory data ...Visualization and Machine Learning - for exploratory data ...
Visualization and Machine Learning - for exploratory data ...butest
 
Mohan Chaddha - Machine Learning & Content Marketing
Mohan Chaddha - Machine Learning & Content MarketingMohan Chaddha - Machine Learning & Content Marketing
Mohan Chaddha - Machine Learning & Content Marketingintrotodigital
 
Marketing Analytics with R Lifting Campaign Success Rates
Marketing Analytics with R Lifting Campaign Success RatesMarketing Analytics with R Lifting Campaign Success Rates
Marketing Analytics with R Lifting Campaign Success RatesRevolution Analytics
 
Amazon machine leaning の紹介
Amazon machine leaning の紹介Amazon machine leaning の紹介
Amazon machine leaning の紹介Akinori Abe
 
Basic of influencer marketing
Basic of influencer marketingBasic of influencer marketing
Basic of influencer marketingintrotodigital
 
Data Visualisation Literacy - Learning to See
Data Visualisation Literacy - Learning to SeeData Visualisation Literacy - Learning to See
Data Visualisation Literacy - Learning to SeeAndy Kirk
 
Comment l'intelligence artificielle améliore la recherche documentaire
Comment l'intelligence artificielle améliore la recherche documentaireComment l'intelligence artificielle améliore la recherche documentaire
Comment l'intelligence artificielle améliore la recherche documentaireAntidot
 
Application of machine learning in industrial applications
Application of machine learning in industrial applicationsApplication of machine learning in industrial applications
Application of machine learning in industrial applicationsAnish Das
 
Financial security and machine learning
Financial security and machine learningFinancial security and machine learning
Financial security and machine learningMk Kim
 

En vedette (20)

Unlock the Magic of PPC Segmentation
Unlock the Magic of PPC SegmentationUnlock the Magic of PPC Segmentation
Unlock the Magic of PPC Segmentation
 
HR Analytics, Done Right
HR Analytics, Done RightHR Analytics, Done Right
HR Analytics, Done Right
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Google Analytics Overview
Google Analytics OverviewGoogle Analytics Overview
Google Analytics Overview
 
Bagging Decision Trees on Data Sets with Classification Noise
Bagging Decision Trees on Data Sets with Classification NoiseBagging Decision Trees on Data Sets with Classification Noise
Bagging Decision Trees on Data Sets with Classification Noise
 
Applications in Machine Learning
Applications in Machine LearningApplications in Machine Learning
Applications in Machine Learning
 
Machine Learning @ Mendeley
Machine Learning @ MendeleyMachine Learning @ Mendeley
Machine Learning @ Mendeley
 
Strata 2013: Tutorial-- How to Create Predictive Models in R using Ensembles
Strata 2013: Tutorial-- How to Create Predictive Models in R using EnsemblesStrata 2013: Tutorial-- How to Create Predictive Models in R using Ensembles
Strata 2013: Tutorial-- How to Create Predictive Models in R using Ensembles
 
Applications of Machine Learning
Applications of Machine LearningApplications of Machine Learning
Applications of Machine Learning
 
Making Machine Learning Work in Practice - StampedeCon 2014
Making Machine Learning Work in Practice - StampedeCon 2014Making Machine Learning Work in Practice - StampedeCon 2014
Making Machine Learning Work in Practice - StampedeCon 2014
 
Visualization and Machine Learning - for exploratory data ...
Visualization and Machine Learning - for exploratory data ...Visualization and Machine Learning - for exploratory data ...
Visualization and Machine Learning - for exploratory data ...
 
Predictive Modeling with Enterprise Miner
Predictive Modeling with Enterprise MinerPredictive Modeling with Enterprise Miner
Predictive Modeling with Enterprise Miner
 
Mohan Chaddha - Machine Learning & Content Marketing
Mohan Chaddha - Machine Learning & Content MarketingMohan Chaddha - Machine Learning & Content Marketing
Mohan Chaddha - Machine Learning & Content Marketing
 
Marketing Analytics with R Lifting Campaign Success Rates
Marketing Analytics with R Lifting Campaign Success RatesMarketing Analytics with R Lifting Campaign Success Rates
Marketing Analytics with R Lifting Campaign Success Rates
 
Amazon machine leaning の紹介
Amazon machine leaning の紹介Amazon machine leaning の紹介
Amazon machine leaning の紹介
 
Basic of influencer marketing
Basic of influencer marketingBasic of influencer marketing
Basic of influencer marketing
 
Data Visualisation Literacy - Learning to See
Data Visualisation Literacy - Learning to SeeData Visualisation Literacy - Learning to See
Data Visualisation Literacy - Learning to See
 
Comment l'intelligence artificielle améliore la recherche documentaire
Comment l'intelligence artificielle améliore la recherche documentaireComment l'intelligence artificielle améliore la recherche documentaire
Comment l'intelligence artificielle améliore la recherche documentaire
 
Application of machine learning in industrial applications
Application of machine learning in industrial applicationsApplication of machine learning in industrial applications
Application of machine learning in industrial applications
 
Financial security and machine learning
Financial security and machine learningFinancial security and machine learning
Financial security and machine learning
 

Similaire à Machine Learning with R and Tableau

Data Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkData Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkDavid Chiu
 
Data mining with Rattle For R
Data mining with Rattle For RData mining with Rattle For R
Data mining with Rattle For RAkhil Anil
 
tableau training in Gurgaon,.pdf
tableau training in Gurgaon,.pdftableau training in Gurgaon,.pdf
tableau training in Gurgaon,.pdfAPTRON Gurgaon
 
Data science using r multisoft systems
Data science using r  multisoft systemsData science using r  multisoft systems
Data science using r multisoft systemsMultisoft Systems
 
UK GIAF: Winter 2015
UK GIAF: Winter 2015UK GIAF: Winter 2015
UK GIAF: Winter 2015deltaDNA
 
What is Data analytics? How is data analytics a better career option?
What is Data analytics? How is data analytics a better career option?What is Data analytics? How is data analytics a better career option?
What is Data analytics? How is data analytics a better career option?Aspire Techsoft Academy
 
Sales Plays to Exceed Quota and Close Out This Year Strong
Sales Plays to Exceed Quota and Close Out This Year StrongSales Plays to Exceed Quota and Close Out This Year Strong
Sales Plays to Exceed Quota and Close Out This Year StrongSales Hacker
 
TigerGraph UI Toolkits Financial Crimes
TigerGraph UI Toolkits Financial CrimesTigerGraph UI Toolkits Financial Crimes
TigerGraph UI Toolkits Financial CrimesTigerGraph
 
SAP Applications and the Modern Data Scientist - Predictive Analytics for the...
SAP Applications and the Modern Data Scientist - Predictive Analytics for the...SAP Applications and the Modern Data Scientist - Predictive Analytics for the...
SAP Applications and the Modern Data Scientist - Predictive Analytics for the...Dickinson + Associates
 
An introduction to R is a document useful
An introduction to R is a document usefulAn introduction to R is a document useful
An introduction to R is a document usefulssuser3c3f88
 
Data Science Environment with R on openSUSE Leap 15.1
Data Science Environment with R on openSUSE Leap 15.1Data Science Environment with R on openSUSE Leap 15.1
Data Science Environment with R on openSUSE Leap 15.1Sabar Suwarsono
 
Learn data science with r programming
Learn data science with r programmingLearn data science with r programming
Learn data science with r programmingRonikSharma1
 
Learn data science with r programming
Learn data science with r programmingLearn data science with r programming
Learn data science with r programmingNikhilsharma1159
 
Learn data science with r programming (1)
Learn data science with r programming (1)Learn data science with r programming (1)
Learn data science with r programming (1)Sagag55
 
Learn data science with r programming
Learn data science with r programmingLearn data science with r programming
Learn data science with r programmingKeshavSain2
 
6 sigma understanding
6 sigma understanding6 sigma understanding
6 sigma understandingJitesh Gaurav
 
Introduction to Data Science.pptx
Introduction to Data Science.pptxIntroduction to Data Science.pptx
Introduction to Data Science.pptxVrishit Saraswat
 
GIAF UK Winter 2015 - Analytical techniques: A practical guide to answering b...
GIAF UK Winter 2015 - Analytical techniques: A practical guide to answering b...GIAF UK Winter 2015 - Analytical techniques: A practical guide to answering b...
GIAF UK Winter 2015 - Analytical techniques: A practical guide to answering b...Lauren Cormack
 

Similaire à Machine Learning with R and Tableau (20)

Data Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkData Analysis - Making Big Data Work
Data Analysis - Making Big Data Work
 
Data mining with Rattle For R
Data mining with Rattle For RData mining with Rattle For R
Data mining with Rattle For R
 
tableau training in Gurgaon,.pdf
tableau training in Gurgaon,.pdftableau training in Gurgaon,.pdf
tableau training in Gurgaon,.pdf
 
Data science using r multisoft systems
Data science using r  multisoft systemsData science using r  multisoft systems
Data science using r multisoft systems
 
UK GIAF: Winter 2015
UK GIAF: Winter 2015UK GIAF: Winter 2015
UK GIAF: Winter 2015
 
What is Data analytics? How is data analytics a better career option?
What is Data analytics? How is data analytics a better career option?What is Data analytics? How is data analytics a better career option?
What is Data analytics? How is data analytics a better career option?
 
Sales Plays to Exceed Quota and Close Out This Year Strong
Sales Plays to Exceed Quota and Close Out This Year StrongSales Plays to Exceed Quota and Close Out This Year Strong
Sales Plays to Exceed Quota and Close Out This Year Strong
 
TigerGraph UI Toolkits Financial Crimes
TigerGraph UI Toolkits Financial CrimesTigerGraph UI Toolkits Financial Crimes
TigerGraph UI Toolkits Financial Crimes
 
SAP Applications and the Modern Data Scientist - Predictive Analytics for the...
SAP Applications and the Modern Data Scientist - Predictive Analytics for the...SAP Applications and the Modern Data Scientist - Predictive Analytics for the...
SAP Applications and the Modern Data Scientist - Predictive Analytics for the...
 
An introduction to R is a document useful
An introduction to R is a document usefulAn introduction to R is a document useful
An introduction to R is a document useful
 
Data Science Environment with R on openSUSE Leap 15.1
Data Science Environment with R on openSUSE Leap 15.1Data Science Environment with R on openSUSE Leap 15.1
Data Science Environment with R on openSUSE Leap 15.1
 
LSESU a Taste of R Language Workshop
LSESU a Taste of R Language WorkshopLSESU a Taste of R Language Workshop
LSESU a Taste of R Language Workshop
 
Learn data science with r programming
Learn data science with r programmingLearn data science with r programming
Learn data science with r programming
 
Learn data science with r programming
Learn data science with r programmingLearn data science with r programming
Learn data science with r programming
 
Learn data science with r programming (1)
Learn data science with r programming (1)Learn data science with r programming (1)
Learn data science with r programming (1)
 
Learn data science with r programming
Learn data science with r programmingLearn data science with r programming
Learn data science with r programming
 
6 sigma understanding
6 sigma understanding6 sigma understanding
6 sigma understanding
 
Introduction to Data Science.pptx
Introduction to Data Science.pptxIntroduction to Data Science.pptx
Introduction to Data Science.pptx
 
GIAF UK Winter 2015 - Analytical techniques: A practical guide to answering b...
GIAF UK Winter 2015 - Analytical techniques: A practical guide to answering b...GIAF UK Winter 2015 - Analytical techniques: A practical guide to answering b...
GIAF UK Winter 2015 - Analytical techniques: A practical guide to answering b...
 
Data science
Data scienceData science
Data science
 

Plus de Kayden Kelly

Advanced Keyword Research - SMX London
Advanced Keyword Research - SMX LondonAdvanced Keyword Research - SMX London
Advanced Keyword Research - SMX LondonKayden Kelly
 
Google Analytics Campaign Tracking Fundamentals
Google Analytics Campaign Tracking FundamentalsGoogle Analytics Campaign Tracking Fundamentals
Google Analytics Campaign Tracking FundamentalsKayden Kelly
 
Segmentation is SEXY! Aggregates & Averages Lie
Segmentation is SEXY! Aggregates & Averages LieSegmentation is SEXY! Aggregates & Averages Lie
Segmentation is SEXY! Aggregates & Averages LieKayden Kelly
 
From Analytics to Analysis to Action - GA Event, San Francisco 2011
From Analytics to Analysis to Action - GA Event, San Francisco 2011From Analytics to Analysis to Action - GA Event, San Francisco 2011
From Analytics to Analysis to Action - GA Event, San Francisco 2011Kayden Kelly
 
Google Analytics Standard Presentation - GA Event, San Francisco 2011
Google Analytics Standard Presentation - GA Event, San Francisco 2011Google Analytics Standard Presentation - GA Event, San Francisco 2011
Google Analytics Standard Presentation - GA Event, San Francisco 2011Kayden Kelly
 
Google Analytics Segmentation Visualization Customization, GA Event - San Fra...
Google Analytics Segmentation Visualization Customization, GA Event - San Fra...Google Analytics Segmentation Visualization Customization, GA Event - San Fra...
Google Analytics Segmentation Visualization Customization, GA Event - San Fra...Kayden Kelly
 
SMX West 2010 - Conversion Optimization Tips
SMX West 2010 - Conversion Optimization TipsSMX West 2010 - Conversion Optimization Tips
SMX West 2010 - Conversion Optimization TipsKayden Kelly
 
Radically Improve Conversion Rates - eMSF 2009
Radically Improve Conversion Rates - eMSF 2009Radically Improve Conversion Rates - eMSF 2009
Radically Improve Conversion Rates - eMSF 2009Kayden Kelly
 
Google Website Optimizer API integration with Motivity
Google Website Optimizer API integration with MotivityGoogle Website Optimizer API integration with Motivity
Google Website Optimizer API integration with MotivityKayden Kelly
 

Plus de Kayden Kelly (9)

Advanced Keyword Research - SMX London
Advanced Keyword Research - SMX LondonAdvanced Keyword Research - SMX London
Advanced Keyword Research - SMX London
 
Google Analytics Campaign Tracking Fundamentals
Google Analytics Campaign Tracking FundamentalsGoogle Analytics Campaign Tracking Fundamentals
Google Analytics Campaign Tracking Fundamentals
 
Segmentation is SEXY! Aggregates & Averages Lie
Segmentation is SEXY! Aggregates & Averages LieSegmentation is SEXY! Aggregates & Averages Lie
Segmentation is SEXY! Aggregates & Averages Lie
 
From Analytics to Analysis to Action - GA Event, San Francisco 2011
From Analytics to Analysis to Action - GA Event, San Francisco 2011From Analytics to Analysis to Action - GA Event, San Francisco 2011
From Analytics to Analysis to Action - GA Event, San Francisco 2011
 
Google Analytics Standard Presentation - GA Event, San Francisco 2011
Google Analytics Standard Presentation - GA Event, San Francisco 2011Google Analytics Standard Presentation - GA Event, San Francisco 2011
Google Analytics Standard Presentation - GA Event, San Francisco 2011
 
Google Analytics Segmentation Visualization Customization, GA Event - San Fra...
Google Analytics Segmentation Visualization Customization, GA Event - San Fra...Google Analytics Segmentation Visualization Customization, GA Event - San Fra...
Google Analytics Segmentation Visualization Customization, GA Event - San Fra...
 
SMX West 2010 - Conversion Optimization Tips
SMX West 2010 - Conversion Optimization TipsSMX West 2010 - Conversion Optimization Tips
SMX West 2010 - Conversion Optimization Tips
 
Radically Improve Conversion Rates - eMSF 2009
Radically Improve Conversion Rates - eMSF 2009Radically Improve Conversion Rates - eMSF 2009
Radically Improve Conversion Rates - eMSF 2009
 
Google Website Optimizer API integration with Motivity
Google Website Optimizer API integration with MotivityGoogle Website Optimizer API integration with Motivity
Google Website Optimizer API integration with Motivity
 

Dernier

How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencessuser9e7c64
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingShane Coughlan
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingShane Coughlan
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Rob Geurden
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesKrzysztofKkol1
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024VictoriaMetrics
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Anthony Dahanne
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsJean Silva
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfRTS corp
 

Dernier (20)

How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conference
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero results
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
 

Machine Learning with R and Tableau

  • 1. Machine Learning with R and Tableau Tableau User Group (TUG) Greg Armstrong Blast Analytics & Marketing garmstrong@blastam.com
  • 2. TUG | Machine Learning with R and Tableau Agenda Machine Learning with R and Tableau 2 1. What is Machine Learning? 2. What is R? 3. Live Examples using Tableau and R
  • 3. TUG | Machine Learning with R and Tableau Machine Learning What is machine learning? 3 Machine learning explores the study and construction of algorithms that can learn from and make predictions on data. • Classification • Regression • Segmentation Common Methods
  • 4. TUG | Machine Learning with R and Tableau 4 Regression Machine Learning Supervised Learning Classification X Y X Y
  • 5. TUG | Machine Learning with R and Tableau 5 Segmentation (cluster) Machine Learning Unsupervised Learning X Y
  • 6. TUG | Machine Learning with R and Tableau Machine Learning Marketing use cases 6 • Predicting Lifetime Value (LTV) • Predicting Churn • Customer segmentation • Product recommendations I like it. I like it a lot!
  • 7. TUG | Machine Learning with R and Tableau Machine Learning Finance use cases 7 • Predicting credit risk • Treasury or currency risk • Fraud detection • Accounts Payable Recovery “Because a large font makes profits look bigger.”
  • 8. TUG | Machine Learning with R and Tableau Machine Learning Human Resources use cases 8 • Resume screening • Employee churn • Training recommendation • Talent management “I pruned a tree once, so technically I’m allowed to put ‘branch manager’ on my resume”
  • 9. TUG | Machine Learning with R and Tableau Machine Learning Web Search 9 … and predictive text algorithms to fill in the most common keyword search terms. Google uses machine learning algorithms to serve up the correct search even when the search terms are vastly misspelled.
  • 10. TUG | Machine Learning with R and Tableau Machine Learning Social Networks 10
  • 11. TUG | Machine Learning with R and Tableau Machine Learning Spam Filtering 11 No Spam
  • 12. TUG | Machine Learning with R and Tableau Machine Learning Research - Fishers Iris 12 Based on Ronald Fisher’s 1936 paper the idea was to perform statistical classification on the Iris flower data set. Petal widthPetal length SepalwidthSepallength
  • 13. TUG | Machine Learning with R and Tableau ahhRRRR! What is R? 13 • Data manipulation • Statistical modeling • Visualization tool • Open Source R is a language for statistical analysis and data visualization.
  • 14. TUG | Machine Learning with R and Tableau R Studio, R & Tableau A brief introduction 14 +
  • 15. TUG | Machine Learning with R and Tableau Tableau + R What did we discover? 15 Customer Segmentation (clusters) 1. There are some big spenders in the Red group, who may not have purchased in a while. 2. Our most profitable customers seem to be older with higher incomes. (Blue group) Forecasting (linear regression) 1. Tableau forecasting is very good. 2. More flexibility with R forecasting.
  • 16. TUG | Machine Learning with R and Tableau Tableau User Group (TUG) Machine Learning with R and Tableau 16 Questions? Thank you!
  • 17. Phone (888) 252-7866 Email sales@blastam.comWeb www.blastam.com Roseville Office 6020 West Oaks Blvd, Suite 260 Rocklin, CA 95765 San Francisco Office 625 Second Street, Suite 280 San Francisco, CA 94107 New York Office 261 Madison Ave, 9th Floor New York, NY 10016 Seattle Office 500 Yale Avenue North Seattle, WA 98109 Los Angeles Office 7083 Hollywood Boulevard Los Angeles, CA 90028
  • 18. TUG | Machine Learning with R and Tableau Calculated Fields Tableau Calculated Fields for R 18 SCRIPT_INT(" ## Sets the seed set.seed( .arg7[1]) ## Studentizes the variables day <- ( .arg1 - mean(.arg1) )/ sd(.arg1) mos <- ( .arg2 - mean(.arg2) )/ sd(.arg2) dis <- ( .arg3 - mean(.arg3) )/ sd(.arg3) inc <- ( .arg4 - mean(.arg4) )/ sd(.arg4) age <- ( .arg5 - mean(.arg5) )/ sd(.arg5) dat <- cbind(day, mos, dis, inc, age) day <- .arg6[1] ## Creates the clusters kmeans(dat, day)$cluster ", MIN([Days Since Last Order]), [Months as Customer], AVG([Discount]), MAX([Income]), MAX([Age]), [clusters], [seed] ) K-means cluster for customer segmentation SCRIPT_STR('hello <- "Hello TUG!"', ATTR([R Result])) Pass string to R with a parameter SCRIPT_INT("as.integer(.arg1 * 2)", [R Variable]) Pass calculation to R based on parameter SCRIPT_BOOL(" print('****************************************** *********************') print('the vector sent was') print(.arg1) print('with length') print(length(.arg1)) TRUE ", SUM([Sales]) ) Print to console R arguments