SlideShare a Scribd company logo
1 of 25
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Building Interactive Visualizations with
Shiny to Explore Data from Social and
Health Care in UK
Armando Vieira
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Summary
ā€¢ The challenge
ā€¢ The inputs and the outputs
ā€¢ The predictive model
ā€¢ Visualizations with Shiny and Google Motion Charts
ā€¢ A random walk on graphs and causality
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
The Inputs
Social ā€“ Economics
ļƒ¼ Demographics
ļƒ¼ Economic Deprivation
ļƒ¼ Obesity rates / Sports habits
Health
ļƒ¼ Readmissions
ļƒ¼ Ashma & Diabetes prevalence
ļƒ¼ Cardiovascular diseases
Surveys
ļƒ¼ ASCOF satisfaction
ļƒ¼ Waiting times & service at PCT
Costs
ļƒ¼ Annual Budget
ļƒ¼ Costs per 1000 patients (PCT)
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
The Outputs
Health Score =
Life Expectancy . (1-Infant Mortality) . Satisfaction PCT Survey
Stress Score =
Growth Elder Pop . Growth Pop . Waiting Times PCT survey
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Predictive model
ā€¢% no care unpaid
ā€¢% > 50 hours unpaid
ā€¢Deprivation index
ā€¢Deprivation Ī”
ā€¢Hospital episodes
ā€¢Hospital episodes Ī”
ā€¢Infant mortal
ā€¢Life Expectancy Ī”
ā€¢Long term illness
ā€¢Population
ā€¢Population internal
ā€¢Population external
ā€¢Population >65
ā€¢Population >65 Ī”
ā€¢Readmission score
ā€¢Sports
ā€¢Obesity
ā€¢Diabetes
ā€¢ Health Score
ā€¢ Stress Score
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Online demos
1. Google Motion Charts
2. Shiny + Leaflet maps
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Two districts, two stories
Chiltern
ļƒ¼Higher Health Score
ļƒ¼Stable population
ļƒ¼Healthiest
ļƒ¼High satisfaction score
Liverpool
ļƒ¼Low Health Score
ļƒ¼Highest Hospital Episodes
ļƒ¼Economical deprivated
ļƒ¼High percentage unpaid social care
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Conclusions I
The Health Score is:
ļƒ¼ Higher for less deprivated areas
ļƒ¼ Lower for long term illness
Not related to:
ļƒ¼ Health stress
ļƒ¼ Infant mortality rate
ļƒ¼ % of older population
ļƒ¼ Population size
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Conclusions II
The Stress Score is:
ļƒ¼ Higher for richer districts
ļƒ¼ Higher for regions with large % of population > 65
Not related to:
ļƒ¼ % Long term illness
ļƒ¼ Long term disability rate
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Why R?
With R and Shiny we can easily deploy interactive
visualizations dashboards for powerful data exploration
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
A random walk on graphs and causality
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Learning embeddings
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Each disease has an unique fingerprint
Lung cancer Ovary cancer
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Causality?
ā€¢ ā€œMore police in precincts with higher crime; does that mean that police
cause crime?ā€
ā€¢ Policy decision: should we add more police to a given district?
ā€¢ ā€œLots of people die in hospitals, are hospitals bad for your health?ā€
ā€¢ Policy decision: should I go to hospital for treatment?
ā€¢ ā€œAdvertise more in December, sell more in December.ā€ But what is the
causal impact of ad spending on sales?
ā€¢ Policy decision: how much should I spend on advertising?
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
counterfactuals, confounding variables
ā€¢ ā€œIf I go to hospital will be better off than I would
have been if I didnā€™t go?ā€
ā€¢ Sales = f(advertising) + other stuff
ā€¢ Xmas a confounding variable
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
Beware of inferences
ā€¢ The problem with doing inferences on data
originated from unknown processes is related to
the (implicit) assumption that the system and
interactions of variables are in equilibrium.
Armando Vieira ā€“ Data Scientist @dataAI
Armando@dataAI.uk
How much we should be worried?
ā€¢ Economics
ā€¢ Experiment to determine policy change for population
ā€¢ Impact of treatment on population
ā€¢ Selection bias ā€“ are random samples really random?
ā€¢ Business
ā€¢ Impact on advertisers who choose to use new feature or service
ā€¢ Impact of treatment on those who choose to be treated
ā€¢ Not necessarily worried about selection bias (but may be worried
about early adopter bias)

More Related Content

What's hot

Value-Based Payment IT Readiness in Behavioral Health
Value-Based Payment IT Readiness in Behavioral Health Value-Based Payment IT Readiness in Behavioral Health
Value-Based Payment IT Readiness in Behavioral Health Remarkable Health
Ā 
Why Payers, Providers and Life Science/Pharma Must Join Forces to Achieve Tru...
Why Payers, Providers and Life Science/Pharma Must Join Forces to Achieve Tru...Why Payers, Providers and Life Science/Pharma Must Join Forces to Achieve Tru...
Why Payers, Providers and Life Science/Pharma Must Join Forces to Achieve Tru...Health Catalyst
Ā 
Health Analytics
Health AnalyticsHealth Analytics
Health AnalyticsNUS-ISS
Ā 
3 Perspectives to Better Apply Predictive & Prescriptive Models in Healthcare
3 Perspectives to Better Apply Predictive & Prescriptive Models in Healthcare3 Perspectives to Better Apply Predictive & Prescriptive Models in Healthcare
3 Perspectives to Better Apply Predictive & Prescriptive Models in HealthcareHealth Catalyst
Ā 
What the Shift to Value Means for Pharmaceuticals
What the Shift to Value Means for PharmaceuticalsWhat the Shift to Value Means for Pharmaceuticals
What the Shift to Value Means for PharmaceuticalsMedullan
Ā 
Life sciences Predictions 2016
Life sciences Predictions 2016Life sciences Predictions 2016
Life sciences Predictions 2016Christopher Manfredi
Ā 
Epic Edasap User Group April 08
Epic Edasap User Group April 08Epic Edasap User Group April 08
Epic Edasap User Group April 08guesta9b0f2
Ā 
User modelling challenge ideatory 2014
User modelling challenge ideatory 2014User modelling challenge ideatory 2014
User modelling challenge ideatory 2014Parindsheel Dhillon
Ā 
Medewise Deck final
Medewise Deck finalMedewise Deck final
Medewise Deck finalBidisha Sen
Ā 
Raising Consumer Awareness of Virtual Visits
Raising Consumer Awareness of Virtual VisitsRaising Consumer Awareness of Virtual Visits
Raising Consumer Awareness of Virtual VisitsChelsea Beecher, MPA
Ā 
Enabling New Business Capabilities with Cloud-based Streaming Data Architectu...
Enabling New Business Capabilities with Cloud-based Streaming Data Architectu...Enabling New Business Capabilities with Cloud-based Streaming Data Architectu...
Enabling New Business Capabilities with Cloud-based Streaming Data Architectu...StampedeCon
Ā 
Health databases
Health databasesHealth databases
Health databasessomslibrary
Ā 

What's hot (17)

Value-Based Payment IT Readiness in Behavioral Health
Value-Based Payment IT Readiness in Behavioral Health Value-Based Payment IT Readiness in Behavioral Health
Value-Based Payment IT Readiness in Behavioral Health
Ā 
Why Payers, Providers and Life Science/Pharma Must Join Forces to Achieve Tru...
Why Payers, Providers and Life Science/Pharma Must Join Forces to Achieve Tru...Why Payers, Providers and Life Science/Pharma Must Join Forces to Achieve Tru...
Why Payers, Providers and Life Science/Pharma Must Join Forces to Achieve Tru...
Ā 
Health Analytics
Health AnalyticsHealth Analytics
Health Analytics
Ā 
3 Perspectives to Better Apply Predictive & Prescriptive Models in Healthcare
3 Perspectives to Better Apply Predictive & Prescriptive Models in Healthcare3 Perspectives to Better Apply Predictive & Prescriptive Models in Healthcare
3 Perspectives to Better Apply Predictive & Prescriptive Models in Healthcare
Ā 
What the Shift to Value Means for Pharmaceuticals
What the Shift to Value Means for PharmaceuticalsWhat the Shift to Value Means for Pharmaceuticals
What the Shift to Value Means for Pharmaceuticals
Ā 
Rx vault.in
Rx vault.inRx vault.in
Rx vault.in
Ā 
The ROI of Workplace Well-Being
The ROI of Workplace Well-BeingThe ROI of Workplace Well-Being
The ROI of Workplace Well-Being
Ā 
Life sciences Predictions 2016
Life sciences Predictions 2016Life sciences Predictions 2016
Life sciences Predictions 2016
Ā 
Epic Edasap User Group April 08
Epic Edasap User Group April 08Epic Edasap User Group April 08
Epic Edasap User Group April 08
Ā 
User modelling challenge ideatory 2014
User modelling challenge ideatory 2014User modelling challenge ideatory 2014
User modelling challenge ideatory 2014
Ā 
Medewise Deck final
Medewise Deck finalMedewise Deck final
Medewise Deck final
Ā 
Mobile Work: What's in it for Employees
Mobile Work: What's in it for EmployeesMobile Work: What's in it for Employees
Mobile Work: What's in it for Employees
Ā 
Raising Consumer Awareness of Virtual Visits
Raising Consumer Awareness of Virtual VisitsRaising Consumer Awareness of Virtual Visits
Raising Consumer Awareness of Virtual Visits
Ā 
The ROI of Workplace Well-Being
The ROI of Workplace Well-BeingThe ROI of Workplace Well-Being
The ROI of Workplace Well-Being
Ā 
Enabling New Business Capabilities with Cloud-based Streaming Data Architectu...
Enabling New Business Capabilities with Cloud-based Streaming Data Architectu...Enabling New Business Capabilities with Cloud-based Streaming Data Architectu...
Enabling New Business Capabilities with Cloud-based Streaming Data Architectu...
Ā 
The ROI of Workplace Well-Being
The ROI of Workplace Well-BeingThe ROI of Workplace Well-Being
The ROI of Workplace Well-Being
Ā 
Health databases
Health databasesHealth databases
Health databases
Ā 

Similar to Visualizations of high dimensional data using R and Shiny

AMDIS CHIME Fall Symposium
AMDIS CHIME Fall SymposiumAMDIS CHIME Fall Symposium
AMDIS CHIME Fall SymposiumDale Sanders
Ā 
Healthcare & digital marketing - Today & Future
Healthcare &  digital marketing - Today & FutureHealthcare &  digital marketing - Today & Future
Healthcare & digital marketing - Today & FutureDeepali Thakur
Ā 
#SXSW Health 2013 Highlights
#SXSW Health 2013 Highlights #SXSW Health 2013 Highlights
#SXSW Health 2013 Highlights Ryan Stephens
Ā 
Healthcare Thinktank Roundtable
Healthcare Thinktank RoundtableHealthcare Thinktank Roundtable
Healthcare Thinktank RoundtableNick van Terheyden
Ā 
What Moves The Needle For Healthcare Marketers
What Moves The Needle For Healthcare MarketersWhat Moves The Needle For Healthcare Marketers
What Moves The Needle For Healthcare MarketersBrandon Ives
Ā 
Grant Writing and Reporting
Grant Writing and ReportingGrant Writing and Reporting
Grant Writing and ReportingHealthy City
Ā 
Identifying Problems
Identifying ProblemsIdentifying Problems
Identifying Problemsljmcneill33
Ā 
McGrath Health Data Analyst SXSW
McGrath Health Data Analyst SXSWMcGrath Health Data Analyst SXSW
McGrath Health Data Analyst SXSWRobert McGrath
Ā 
OCBIG - MassDept of Health GeoSpacial with Cognos
OCBIG - MassDept of Health GeoSpacial with CognosOCBIG - MassDept of Health GeoSpacial with Cognos
OCBIG - MassDept of Health GeoSpacial with CognosRobb Sinclair
Ā 
Going Beyond the EMR for Data-driven Insights in Healthcare
Going Beyond the EMR for Data-driven Insights in HealthcareGoing Beyond the EMR for Data-driven Insights in Healthcare
Going Beyond the EMR for Data-driven Insights in HealthcarePerficient, Inc.
Ā 
Novartis.trends.3.6.15
Novartis.trends.3.6.15Novartis.trends.3.6.15
Novartis.trends.3.6.15Steven Hickson
Ā 
HIMSS Oregon Spring Conference - HIE
HIMSS Oregon Spring Conference - HIEHIMSS Oregon Spring Conference - HIE
HIMSS Oregon Spring Conference - HIEBrian Ahier
Ā 
The Vital Vest Marketing Plan Presentation
The Vital Vest Marketing Plan PresentationThe Vital Vest Marketing Plan Presentation
The Vital Vest Marketing Plan PresentationMary Reich
Ā 
The biggest opportunities in digital health for Turkey's Medical Sector
The biggest opportunities in digital health  for Turkey's Medical Sector The biggest opportunities in digital health  for Turkey's Medical Sector
The biggest opportunities in digital health for Turkey's Medical Sector Shahid Shah
Ā 
OBP Medical IMC Plan_No Video
OBP Medical IMC Plan_No VideoOBP Medical IMC Plan_No Video
OBP Medical IMC Plan_No VideoLujia Chen
Ā 
Perceptions of mHealth Applications among Parents in a Large Pediatric Health...
Perceptions of mHealth Applications among Parents in a Large Pediatric Health...Perceptions of mHealth Applications among Parents in a Large Pediatric Health...
Perceptions of mHealth Applications among Parents in a Large Pediatric Health...Adeiyewunmi Osinubi
Ā 
Marketing in the Age of Person-centric Healthcare
Marketing in the Age of Person-centric HealthcareMarketing in the Age of Person-centric Healthcare
Marketing in the Age of Person-centric HealthcareOgilvy Consulting
Ā 
Tate Campbell, Change Healthcare - Extracting Knowledge from Healthcare Data ...
Tate Campbell, Change Healthcare - Extracting Knowledge from Healthcare Data ...Tate Campbell, Change Healthcare - Extracting Knowledge from Healthcare Data ...
Tate Campbell, Change Healthcare - Extracting Knowledge from Healthcare Data ...Sri Ambati
Ā 
BODYGATE PITCHDECK - Crunchbase.pptx
BODYGATE PITCHDECK - Crunchbase.pptxBODYGATE PITCHDECK - Crunchbase.pptx
BODYGATE PITCHDECK - Crunchbase.pptxBodygate.ai
Ā 
BODYGATE PITCHDECK - Crunchbase.pptx
BODYGATE PITCHDECK - Crunchbase.pptxBODYGATE PITCHDECK - Crunchbase.pptx
BODYGATE PITCHDECK - Crunchbase.pptxBodygate.ai
Ā 

Similar to Visualizations of high dimensional data using R and Shiny (20)

AMDIS CHIME Fall Symposium
AMDIS CHIME Fall SymposiumAMDIS CHIME Fall Symposium
AMDIS CHIME Fall Symposium
Ā 
Healthcare & digital marketing - Today & Future
Healthcare &  digital marketing - Today & FutureHealthcare &  digital marketing - Today & Future
Healthcare & digital marketing - Today & Future
Ā 
#SXSW Health 2013 Highlights
#SXSW Health 2013 Highlights #SXSW Health 2013 Highlights
#SXSW Health 2013 Highlights
Ā 
Healthcare Thinktank Roundtable
Healthcare Thinktank RoundtableHealthcare Thinktank Roundtable
Healthcare Thinktank Roundtable
Ā 
What Moves The Needle For Healthcare Marketers
What Moves The Needle For Healthcare MarketersWhat Moves The Needle For Healthcare Marketers
What Moves The Needle For Healthcare Marketers
Ā 
Grant Writing and Reporting
Grant Writing and ReportingGrant Writing and Reporting
Grant Writing and Reporting
Ā 
Identifying Problems
Identifying ProblemsIdentifying Problems
Identifying Problems
Ā 
McGrath Health Data Analyst SXSW
McGrath Health Data Analyst SXSWMcGrath Health Data Analyst SXSW
McGrath Health Data Analyst SXSW
Ā 
OCBIG - MassDept of Health GeoSpacial with Cognos
OCBIG - MassDept of Health GeoSpacial with CognosOCBIG - MassDept of Health GeoSpacial with Cognos
OCBIG - MassDept of Health GeoSpacial with Cognos
Ā 
Going Beyond the EMR for Data-driven Insights in Healthcare
Going Beyond the EMR for Data-driven Insights in HealthcareGoing Beyond the EMR for Data-driven Insights in Healthcare
Going Beyond the EMR for Data-driven Insights in Healthcare
Ā 
Novartis.trends.3.6.15
Novartis.trends.3.6.15Novartis.trends.3.6.15
Novartis.trends.3.6.15
Ā 
HIMSS Oregon Spring Conference - HIE
HIMSS Oregon Spring Conference - HIEHIMSS Oregon Spring Conference - HIE
HIMSS Oregon Spring Conference - HIE
Ā 
The Vital Vest Marketing Plan Presentation
The Vital Vest Marketing Plan PresentationThe Vital Vest Marketing Plan Presentation
The Vital Vest Marketing Plan Presentation
Ā 
The biggest opportunities in digital health for Turkey's Medical Sector
The biggest opportunities in digital health  for Turkey's Medical Sector The biggest opportunities in digital health  for Turkey's Medical Sector
The biggest opportunities in digital health for Turkey's Medical Sector
Ā 
OBP Medical IMC Plan_No Video
OBP Medical IMC Plan_No VideoOBP Medical IMC Plan_No Video
OBP Medical IMC Plan_No Video
Ā 
Perceptions of mHealth Applications among Parents in a Large Pediatric Health...
Perceptions of mHealth Applications among Parents in a Large Pediatric Health...Perceptions of mHealth Applications among Parents in a Large Pediatric Health...
Perceptions of mHealth Applications among Parents in a Large Pediatric Health...
Ā 
Marketing in the Age of Person-centric Healthcare
Marketing in the Age of Person-centric HealthcareMarketing in the Age of Person-centric Healthcare
Marketing in the Age of Person-centric Healthcare
Ā 
Tate Campbell, Change Healthcare - Extracting Knowledge from Healthcare Data ...
Tate Campbell, Change Healthcare - Extracting Knowledge from Healthcare Data ...Tate Campbell, Change Healthcare - Extracting Knowledge from Healthcare Data ...
Tate Campbell, Change Healthcare - Extracting Knowledge from Healthcare Data ...
Ā 
BODYGATE PITCHDECK - Crunchbase.pptx
BODYGATE PITCHDECK - Crunchbase.pptxBODYGATE PITCHDECK - Crunchbase.pptx
BODYGATE PITCHDECK - Crunchbase.pptx
Ā 
BODYGATE PITCHDECK - Crunchbase.pptx
BODYGATE PITCHDECK - Crunchbase.pptxBODYGATE PITCHDECK - Crunchbase.pptx
BODYGATE PITCHDECK - Crunchbase.pptx
Ā 

More from Armando Vieira

Improving Insurance Risk Prediction with Generative Adversarial Networks (GANs)
Improving Insurance  Risk Prediction with Generative Adversarial Networks (GANs)Improving Insurance  Risk Prediction with Generative Adversarial Networks (GANs)
Improving Insurance Risk Prediction with Generative Adversarial Networks (GANs)Armando Vieira
Ā 
Predicting online user behaviour using deep learning algorithms
Predicting online user behaviour using deep learning algorithmsPredicting online user behaviour using deep learning algorithms
Predicting online user behaviour using deep learning algorithmsArmando Vieira
Ā 
Boosting conversion rates on ecommerce using deep learning algorithms
Boosting conversion rates on ecommerce using deep learning algorithmsBoosting conversion rates on ecommerce using deep learning algorithms
Boosting conversion rates on ecommerce using deep learning algorithmsArmando Vieira
Ā 
Seasonality effects on second hand cars sales
Seasonality effects on second hand cars salesSeasonality effects on second hand cars sales
Seasonality effects on second hand cars salesArmando Vieira
Ā 
Dl2 computing gpu
Dl2 computing gpuDl2 computing gpu
Dl2 computing gpuArmando Vieira
Ā 
Dl1 deep learning_algorithms
Dl1 deep learning_algorithmsDl1 deep learning_algorithms
Dl1 deep learning_algorithmsArmando Vieira
Ā 
Extracting Knowledge from Pydata London 2015
Extracting Knowledge from Pydata London 2015Extracting Knowledge from Pydata London 2015
Extracting Knowledge from Pydata London 2015Armando Vieira
Ā 
Hidden Layer Leraning Vector Quantizatio
Hidden Layer Leraning Vector Quantizatio Hidden Layer Leraning Vector Quantizatio
Hidden Layer Leraning Vector Quantizatio Armando Vieira
Ā 
machine learning in the age of big data: new approaches and business applicat...
machine learning in the age of big data: new approaches and business applicat...machine learning in the age of big data: new approaches and business applicat...
machine learning in the age of big data: new approaches and business applicat...Armando Vieira
Ā 
Neural Networks and Genetic Algorithms Multiobjective acceleration
Neural Networks and Genetic Algorithms Multiobjective accelerationNeural Networks and Genetic Algorithms Multiobjective acceleration
Neural Networks and Genetic Algorithms Multiobjective accelerationArmando Vieira
Ā 
Optimization of digital marketing campaigns
Optimization of digital marketing campaignsOptimization of digital marketing campaigns
Optimization of digital marketing campaignsArmando Vieira
Ā 
Credit risk with neural networks bankruptcy prediction machine learning
Credit risk with neural networks bankruptcy prediction machine learningCredit risk with neural networks bankruptcy prediction machine learning
Credit risk with neural networks bankruptcy prediction machine learningArmando Vieira
Ā 
Online democracy Armando Vieira
Online democracy Armando VieiraOnline democracy Armando Vieira
Online democracy Armando VieiraArmando Vieira
Ā 
Invtur conference aveiro 2010
Invtur conference aveiro 2010Invtur conference aveiro 2010
Invtur conference aveiro 2010Armando Vieira
Ā 
Tourism with recomendation systems
Tourism with recomendation systemsTourism with recomendation systems
Tourism with recomendation systemsArmando Vieira
Ā 
Manifold learning for bankruptcy prediction
Manifold learning for bankruptcy predictionManifold learning for bankruptcy prediction
Manifold learning for bankruptcy predictionArmando Vieira
Ā 
Requiem pelo ensino
Requiem pelo ensino Requiem pelo ensino
Requiem pelo ensino Armando Vieira
Ā 
Artificial neural networks for ion beam analysis
Artificial neural networks for ion beam analysisArtificial neural networks for ion beam analysis
Artificial neural networks for ion beam analysisArmando Vieira
Ā 

More from Armando Vieira (20)

Improving Insurance Risk Prediction with Generative Adversarial Networks (GANs)
Improving Insurance  Risk Prediction with Generative Adversarial Networks (GANs)Improving Insurance  Risk Prediction with Generative Adversarial Networks (GANs)
Improving Insurance Risk Prediction with Generative Adversarial Networks (GANs)
Ā 
Predicting online user behaviour using deep learning algorithms
Predicting online user behaviour using deep learning algorithmsPredicting online user behaviour using deep learning algorithms
Predicting online user behaviour using deep learning algorithms
Ā 
Boosting conversion rates on ecommerce using deep learning algorithms
Boosting conversion rates on ecommerce using deep learning algorithmsBoosting conversion rates on ecommerce using deep learning algorithms
Boosting conversion rates on ecommerce using deep learning algorithms
Ā 
Seasonality effects on second hand cars sales
Seasonality effects on second hand cars salesSeasonality effects on second hand cars sales
Seasonality effects on second hand cars sales
Ā 
Dl2 computing gpu
Dl2 computing gpuDl2 computing gpu
Dl2 computing gpu
Ā 
Dl1 deep learning_algorithms
Dl1 deep learning_algorithmsDl1 deep learning_algorithms
Dl1 deep learning_algorithms
Ā 
Extracting Knowledge from Pydata London 2015
Extracting Knowledge from Pydata London 2015Extracting Knowledge from Pydata London 2015
Extracting Knowledge from Pydata London 2015
Ā 
Hidden Layer Leraning Vector Quantizatio
Hidden Layer Leraning Vector Quantizatio Hidden Layer Leraning Vector Quantizatio
Hidden Layer Leraning Vector Quantizatio
Ā 
machine learning in the age of big data: new approaches and business applicat...
machine learning in the age of big data: new approaches and business applicat...machine learning in the age of big data: new approaches and business applicat...
machine learning in the age of big data: new approaches and business applicat...
Ā 
Neural Networks and Genetic Algorithms Multiobjective acceleration
Neural Networks and Genetic Algorithms Multiobjective accelerationNeural Networks and Genetic Algorithms Multiobjective acceleration
Neural Networks and Genetic Algorithms Multiobjective acceleration
Ā 
Optimization of digital marketing campaigns
Optimization of digital marketing campaignsOptimization of digital marketing campaigns
Optimization of digital marketing campaigns
Ā 
Credit risk with neural networks bankruptcy prediction machine learning
Credit risk with neural networks bankruptcy prediction machine learningCredit risk with neural networks bankruptcy prediction machine learning
Credit risk with neural networks bankruptcy prediction machine learning
Ā 
Online democracy Armando Vieira
Online democracy Armando VieiraOnline democracy Armando Vieira
Online democracy Armando Vieira
Ā 
Invtur conference aveiro 2010
Invtur conference aveiro 2010Invtur conference aveiro 2010
Invtur conference aveiro 2010
Ā 
Tourism with recomendation systems
Tourism with recomendation systemsTourism with recomendation systems
Tourism with recomendation systems
Ā 
Manifold learning for bankruptcy prediction
Manifold learning for bankruptcy predictionManifold learning for bankruptcy prediction
Manifold learning for bankruptcy prediction
Ā 
Credit iconip
Credit iconipCredit iconip
Credit iconip
Ā 
Requiem pelo ensino
Requiem pelo ensino Requiem pelo ensino
Requiem pelo ensino
Ā 
Eurogen v
Eurogen vEurogen v
Eurogen v
Ā 
Artificial neural networks for ion beam analysis
Artificial neural networks for ion beam analysisArtificial neural networks for ion beam analysis
Artificial neural networks for ion beam analysis
Ā 

Recently uploaded

(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
Ā 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEslot gacor bisa pakai pulsa
Ā 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
Ā 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
Ā 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
Ā 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
Ā 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
Ā 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
Ā 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
Ā 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
Ā 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
Ā 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
Ā 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
Ā 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
Ā 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
Ā 
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”soniya singh
Ā 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
Ā 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
Ā 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
Ā 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Ā 

Recently uploaded (20)

(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
Ā 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
Ā 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
Ā 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Ā 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
Ā 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Ā 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
Ā 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
Ā 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
Ā 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
Ā 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
Ā 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Ā 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
Ā 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
Ā 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
Ā 
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Ā 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
Ā 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
Ā 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
Ā 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Ā 

Visualizations of high dimensional data using R and Shiny

  • 1. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Building Interactive Visualizations with Shiny to Explore Data from Social and Health Care in UK Armando Vieira
  • 2. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Summary ā€¢ The challenge ā€¢ The inputs and the outputs ā€¢ The predictive model ā€¢ Visualizations with Shiny and Google Motion Charts ā€¢ A random walk on graphs and causality
  • 3. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk
  • 4. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk The Inputs Social ā€“ Economics ļƒ¼ Demographics ļƒ¼ Economic Deprivation ļƒ¼ Obesity rates / Sports habits Health ļƒ¼ Readmissions ļƒ¼ Ashma & Diabetes prevalence ļƒ¼ Cardiovascular diseases Surveys ļƒ¼ ASCOF satisfaction ļƒ¼ Waiting times & service at PCT Costs ļƒ¼ Annual Budget ļƒ¼ Costs per 1000 patients (PCT)
  • 5. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk The Outputs Health Score = Life Expectancy . (1-Infant Mortality) . Satisfaction PCT Survey Stress Score = Growth Elder Pop . Growth Pop . Waiting Times PCT survey
  • 6. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Predictive model ā€¢% no care unpaid ā€¢% > 50 hours unpaid ā€¢Deprivation index ā€¢Deprivation Ī” ā€¢Hospital episodes ā€¢Hospital episodes Ī” ā€¢Infant mortal ā€¢Life Expectancy Ī” ā€¢Long term illness ā€¢Population ā€¢Population internal ā€¢Population external ā€¢Population >65 ā€¢Population >65 Ī” ā€¢Readmission score ā€¢Sports ā€¢Obesity ā€¢Diabetes ā€¢ Health Score ā€¢ Stress Score
  • 7. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk
  • 8. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk
  • 9. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk
  • 10. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Online demos 1. Google Motion Charts 2. Shiny + Leaflet maps
  • 11. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Two districts, two stories Chiltern ļƒ¼Higher Health Score ļƒ¼Stable population ļƒ¼Healthiest ļƒ¼High satisfaction score Liverpool ļƒ¼Low Health Score ļƒ¼Highest Hospital Episodes ļƒ¼Economical deprivated ļƒ¼High percentage unpaid social care
  • 12. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Conclusions I The Health Score is: ļƒ¼ Higher for less deprivated areas ļƒ¼ Lower for long term illness Not related to: ļƒ¼ Health stress ļƒ¼ Infant mortality rate ļƒ¼ % of older population ļƒ¼ Population size
  • 13. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Conclusions II The Stress Score is: ļƒ¼ Higher for richer districts ļƒ¼ Higher for regions with large % of population > 65 Not related to: ļƒ¼ % Long term illness ļƒ¼ Long term disability rate
  • 14. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Why R? With R and Shiny we can easily deploy interactive visualizations dashboards for powerful data exploration
  • 15. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk A random walk on graphs and causality
  • 16. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk
  • 17. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk
  • 18. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Learning embeddings
  • 19. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk
  • 20. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk
  • 21. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Each disease has an unique fingerprint Lung cancer Ovary cancer
  • 22. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Causality? ā€¢ ā€œMore police in precincts with higher crime; does that mean that police cause crime?ā€ ā€¢ Policy decision: should we add more police to a given district? ā€¢ ā€œLots of people die in hospitals, are hospitals bad for your health?ā€ ā€¢ Policy decision: should I go to hospital for treatment? ā€¢ ā€œAdvertise more in December, sell more in December.ā€ But what is the causal impact of ad spending on sales? ā€¢ Policy decision: how much should I spend on advertising?
  • 23. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk counterfactuals, confounding variables ā€¢ ā€œIf I go to hospital will be better off than I would have been if I didnā€™t go?ā€ ā€¢ Sales = f(advertising) + other stuff ā€¢ Xmas a confounding variable
  • 24. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk Beware of inferences ā€¢ The problem with doing inferences on data originated from unknown processes is related to the (implicit) assumption that the system and interactions of variables are in equilibrium.
  • 25. Armando Vieira ā€“ Data Scientist @dataAI Armando@dataAI.uk How much we should be worried? ā€¢ Economics ā€¢ Experiment to determine policy change for population ā€¢ Impact of treatment on population ā€¢ Selection bias ā€“ are random samples really random? ā€¢ Business ā€¢ Impact on advertisers who choose to use new feature or service ā€¢ Impact of treatment on those who choose to be treated ā€¢ Not necessarily worried about selection bias (but may be worried about early adopter bias)