SlideShare a Scribd company logo
BRINGING SURVEY SAMPLING
TECHNIQUES INTO ‘BIG DATA’
ANTOINE REBECQ
UBISOFT MONTRÉAL
NOVEMBER 7, 2018
1
About me
• Formerly: survey sampling methodologist at INSEE, France
• “Type A” data scientist turned “Type B”
Key takeaway
The future of ‘big data’ is a statistician
Summary
I. What is a data science team? How can a (survey) statistician fit into
it?
II. Examples of awesome ‘big data’ challenges that could use
statisticians
I. Data science and data scientists
I. Data science and data scientists
Data scientists = combination of computer science, statistics, applied
mathematics and domain expertise
Type A data scientist = Focused on analyses, decision science
Type B data scientist = Focused on production data application
(typically ML, recommendations, etc.)
What does our type B data science team do?
Machine Learning in games! Example: Recommendations (from Netflix:
Basilico, 2015)
What does our type B data science team do?
Send data
Send content
Compute
ML
models
What does our type B data science team do?
At core: programming team
- Production code:
- Distributed computation
- Optimized algorithms
- Code history and reviews
Tech stack:
Modern data science teams
The (in)famous data science Venn diagram (Conway, 2013)
Modern data science teams
Some truths:
- Blur the line between all jobs (opportunities, not requirements)
- Unicorns are rare but they do exist
- Let them have fun!
- Pay them accordingly!
More generally: Create opportunities for everyone to learn from every
domain
Modern data science teams
What can statisticians get from CS culture
- Quality control for statisticians (hint: it’s the same!):
- Distributed computation
- Optimized algorithms
- Code history and reviews
R community has a very positive influence in introducing CS quality
processes for statistics and data science (for example see Wickham,
2015 on git).
II. Examples of ‘big data’ challenges that
could use statisticians
II. Examples of challenges
1. A/B testing
2. Sampled events (understanding data sources)
3. Improving ML algorithms (quality)
4. Improving ML algorithms (speed)
5. Understanding user feedback
II. Examples of challenges
1. A/B testing
A/B testing = ‘big data’ term for Randomized Controlled Trial (RCT)
Very useful for:
- Product shipping
- Business decisions
For example Microsoft has a dedicated team doing extensive work on
A/B testing (see Deng, 2018).
II. Examples of challenges
1. A/B testing
Need for carefully crafted sampling designs (Image from Miller).
II. Examples of challenges
2. Sampled tracking events
Event = single information sent to server when something happens
Some events are sampled to reduce load (CPU, network, storage)
II. Examples of challenges
2. Sampled tracking events
Example: analysis of balancing in a fighting game
An event is sent by a sample of players when they use a new weapon.
Question: is sword A better than sword B?
-> Analysis of matches where these weapons are used
…
II. Examples of challenges
2. Sampled tracking events
… This is an indirect sampling design (Lavallée, 2009)
(Unequal probabilities because of players preferences, game rules, etc.)
Our ‘quick-and-dirty’ solution: calibration and R package Icarus
(Rebecq, 2016)
II. Examples of challenges
3. Better probabilities for ML algorithms using sampling calibration
Using sampling calibration (Deville, 1992) to craft better probabilities
from ML algorithms
1. Example with balancing of sample data:
http://nc233.com/2018/07/weighting-tricks-for-machine-learning-
with-icarus-part-1/
II. Examples of challenges
3. Better probabilities for ML algorithms using sampling calibration
II. Examples of challenges
3. Better probabilities for ML algorithms using sampling calibration
2. Directly calibrate output probabilities (WIP)
- Better simulations
- Better recommendations
II. Examples of challenges
4. Speed up big data tasks
Example: Sampling to speed up network analyses (Leskovec, 2016 and Rebecq,
2017)
II. Examples of challenges
5. Understand user feedback
Sentiment analysis (Pang, 2002)
Direct feedback from community
Vs.
Sampling and carefully crafted questionnaire
Conclusion
- A lot of interesting topics in survey sampling literature can be super
useful for ‘big data’ problems (research and practice)
- Hire a statistician for your type A data science team!
- Hire a statistician for your type B data science team!
- If you’re a statistician, look into ‘big data’ jobs for interesting
challenges!
Thanks!
Antoine Rebecq
.
Blog post: nc233.com/symposium2018
LinkedIn
References (1)
[Basilico, 2015] BASILICO, Justin. Recommendations for building Machine Learning systems
https://www.slideshare.net/SessionsEvents/justin-basilico-research-engineering-manager-at-netflix-at-mlconf-
sf-111315
[Conway, 2013] CONWAY, Drew. The data science Venn diagram http://drewconway.com/zia/2013/3/26/the-
data-science-venn-diagram
[Deville, 1992] DEVILLE, Jean-Claude and SÄRNDAL, Carl-Erik. Calibration estimators in survey sampling. Journal
of the American statistical Association, 1992, vol. 87, no 418, p. 376-382.
[Deng, 2018] DENG, Alex, KNOBLICH, Ulf, and LU, Jiannan. Applying the Delta method in metric analytics: A
practical guide with novel ideas. arXiv preprint arXiv:1803.06336, 2018.
[Lavallée, 2009] LAVALLÉE, Pierre. Indirect sampling. Springer Science & Business Media, 2009.
References (2)
[Leskovec, 2016] LESKOVEC, Jure and SOSIČ, Rok. Snap: A general-purpose network analysis and graph-mining
library. ACM Transactions on Intelligent Systems and Technology (TIST), 2016, vol. 8, no 1, p. 1.
[Miller] MILLER, Evan. Evan Miller’s sample size calculator https://www.evanmiller.org/ab-testing/sample-
size.html
[Pang, 2002] PANG, Bo, LEE, Lillian, and VAITHYANATHAN, Shivakumar. Thumbs up?: sentiment classification
using machine learning techniques. In : Proceedings of the ACL-02 conference on Empirical methods in natural
language processing-Volume 10. Association for Computational Linguistics, 2002. p. 79-86.
[Rebecq, 2017] REBECQ, Antoine. Sampling graphs https://nc233.com/2017/03/sampling-graphs-mad-stat-
seminar-at-toulouse-school-of-economics/
References (3)
[Rebecq, 2016] REBECQ, Antoine. Icarus: un package R pour le calage sur marges et ses variantes. In : 9e
colloque francophone sur les sondages, Gatineau (Canada). 2016.
[Wickham, 2015] WICKHAM, Hadley. R packages: organize, test, document, and share your code. " O'Reilly
Media, Inc.", 2015 (page on git available at http://r-pkgs.had.co.nz/git.html)

More Related Content

Similar to Bring survey sampling techniques into big data

Data Science - An emerging Stream of Science with its Spreading Reach & Impact
Data Science - An emerging Stream of Science with its Spreading Reach & ImpactData Science - An emerging Stream of Science with its Spreading Reach & Impact
Data Science - An emerging Stream of Science with its Spreading Reach & Impact
Dr. Sunil Kr. Pandey
 
Data Analytics & Visualization (Introduction)
Data Analytics & Visualization (Introduction)Data Analytics & Visualization (Introduction)
Data Analytics & Visualization (Introduction)
Dolapo Amusat
 
Data Science as a Service: Intersection of Cloud Computing and Data Science
Data Science as a Service: Intersection of Cloud Computing and Data ScienceData Science as a Service: Intersection of Cloud Computing and Data Science
Data Science as a Service: Intersection of Cloud Computing and Data Science
Pouria Amirian
 
Data Science as a Service: Intersection of Cloud Computing and Data Science
Data Science as a Service: Intersection of Cloud Computing and Data ScienceData Science as a Service: Intersection of Cloud Computing and Data Science
Data Science as a Service: Intersection of Cloud Computing and Data Science
Pouria Amirian
 
From Lab to Factory: Or how to turn data into value
From Lab to Factory: Or how to turn data into valueFrom Lab to Factory: Or how to turn data into value
From Lab to Factory: Or how to turn data into value
Peadar Coyle
 
Data Science Demystified
Data Science DemystifiedData Science Demystified
Data Science Demystified
Emily Robinson
 
351315535-Module-1-Intro-to-Data-Science-pptx.pptx
351315535-Module-1-Intro-to-Data-Science-pptx.pptx351315535-Module-1-Intro-to-Data-Science-pptx.pptx
351315535-Module-1-Intro-to-Data-Science-pptx.pptx
XanGwaps
 
Architecting a Platform for Enterprise Use - Strata London 2018
Architecting a Platform for Enterprise Use - Strata London 2018Architecting a Platform for Enterprise Use - Strata London 2018
Architecting a Platform for Enterprise Use - Strata London 2018
mark madsen
 
An Overview of Python for Data Analytics
An Overview of Python for Data AnalyticsAn Overview of Python for Data Analytics
An Overview of Python for Data Analytics
IRJET Journal
 
Data Science in the Real World: Making a Difference
Data Science in the Real World: Making a Difference Data Science in the Real World: Making a Difference
Data Science in the Real World: Making a Difference
Srinath Perera
 
Platform for Big Data Analytics and Visual Analytics: CSIRO use cases. Februa...
Platform for Big Data Analytics and Visual Analytics: CSIRO use cases. Februa...Platform for Big Data Analytics and Visual Analytics: CSIRO use cases. Februa...
Platform for Big Data Analytics and Visual Analytics: CSIRO use cases. Februa...
Tomasz Bednarz
 
MediaEval 2016 - COSMIR and the OpenMIC Challenge: A Plan for Sustainable Mus...
MediaEval 2016 - COSMIR and the OpenMIC Challenge: A Plan for Sustainable Mus...MediaEval 2016 - COSMIR and the OpenMIC Challenge: A Plan for Sustainable Mus...
MediaEval 2016 - COSMIR and the OpenMIC Challenge: A Plan for Sustainable Mus...
multimediaeval
 
Analytics and Data Mining Industry Overview
Analytics and Data Mining Industry OverviewAnalytics and Data Mining Industry Overview
Analytics and Data Mining Industry Overview
Gregory Piatetsky-Shapiro
 
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Hima Patel
 
Data kitchen 7 agile steps - big data fest 9-18-2015
Data kitchen   7 agile steps - big data fest 9-18-2015Data kitchen   7 agile steps - big data fest 9-18-2015
Data kitchen 7 agile steps - big data fest 9-18-2015
DataKitchen
 
Predicting the future with social media
Predicting the future with social mediaPredicting the future with social media
Predicting the future with social media
Peter Wlodarczak
 
System Dynamics, Analytics & Big Data (16th Conference of the UK Chapter of t...
System Dynamics, Analytics & Big Data (16th Conference of the UK Chapter of t...System Dynamics, Analytics & Big Data (16th Conference of the UK Chapter of t...
System Dynamics, Analytics & Big Data (16th Conference of the UK Chapter of t...
Michael Mortenson
 
Tips and Tricks to be an Effective Data Scientist
Tips and Tricks to be an Effective Data ScientistTips and Tricks to be an Effective Data Scientist
Tips and Tricks to be an Effective Data Scientist
Lisa Cohen
 

Similar to Bring survey sampling techniques into big data (20)

Data Science - An emerging Stream of Science with its Spreading Reach & Impact
Data Science - An emerging Stream of Science with its Spreading Reach & ImpactData Science - An emerging Stream of Science with its Spreading Reach & Impact
Data Science - An emerging Stream of Science with its Spreading Reach & Impact
 
Data Analytics & Visualization (Introduction)
Data Analytics & Visualization (Introduction)Data Analytics & Visualization (Introduction)
Data Analytics & Visualization (Introduction)
 
Data Science as a Service: Intersection of Cloud Computing and Data Science
Data Science as a Service: Intersection of Cloud Computing and Data ScienceData Science as a Service: Intersection of Cloud Computing and Data Science
Data Science as a Service: Intersection of Cloud Computing and Data Science
 
Data Science as a Service: Intersection of Cloud Computing and Data Science
Data Science as a Service: Intersection of Cloud Computing and Data ScienceData Science as a Service: Intersection of Cloud Computing and Data Science
Data Science as a Service: Intersection of Cloud Computing and Data Science
 
From Lab to Factory: Or how to turn data into value
From Lab to Factory: Or how to turn data into valueFrom Lab to Factory: Or how to turn data into value
From Lab to Factory: Or how to turn data into value
 
Data Science Demystified
Data Science DemystifiedData Science Demystified
Data Science Demystified
 
18231979 Data Mining
18231979 Data Mining18231979 Data Mining
18231979 Data Mining
 
Big Data
Big DataBig Data
Big Data
 
351315535-Module-1-Intro-to-Data-Science-pptx.pptx
351315535-Module-1-Intro-to-Data-Science-pptx.pptx351315535-Module-1-Intro-to-Data-Science-pptx.pptx
351315535-Module-1-Intro-to-Data-Science-pptx.pptx
 
Architecting a Platform for Enterprise Use - Strata London 2018
Architecting a Platform for Enterprise Use - Strata London 2018Architecting a Platform for Enterprise Use - Strata London 2018
Architecting a Platform for Enterprise Use - Strata London 2018
 
An Overview of Python for Data Analytics
An Overview of Python for Data AnalyticsAn Overview of Python for Data Analytics
An Overview of Python for Data Analytics
 
Data Science in the Real World: Making a Difference
Data Science in the Real World: Making a Difference Data Science in the Real World: Making a Difference
Data Science in the Real World: Making a Difference
 
Platform for Big Data Analytics and Visual Analytics: CSIRO use cases. Februa...
Platform for Big Data Analytics and Visual Analytics: CSIRO use cases. Februa...Platform for Big Data Analytics and Visual Analytics: CSIRO use cases. Februa...
Platform for Big Data Analytics and Visual Analytics: CSIRO use cases. Februa...
 
MediaEval 2016 - COSMIR and the OpenMIC Challenge: A Plan for Sustainable Mus...
MediaEval 2016 - COSMIR and the OpenMIC Challenge: A Plan for Sustainable Mus...MediaEval 2016 - COSMIR and the OpenMIC Challenge: A Plan for Sustainable Mus...
MediaEval 2016 - COSMIR and the OpenMIC Challenge: A Plan for Sustainable Mus...
 
Analytics and Data Mining Industry Overview
Analytics and Data Mining Industry OverviewAnalytics and Data Mining Industry Overview
Analytics and Data Mining Industry Overview
 
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
 
Data kitchen 7 agile steps - big data fest 9-18-2015
Data kitchen   7 agile steps - big data fest 9-18-2015Data kitchen   7 agile steps - big data fest 9-18-2015
Data kitchen 7 agile steps - big data fest 9-18-2015
 
Predicting the future with social media
Predicting the future with social mediaPredicting the future with social media
Predicting the future with social media
 
System Dynamics, Analytics & Big Data (16th Conference of the UK Chapter of t...
System Dynamics, Analytics & Big Data (16th Conference of the UK Chapter of t...System Dynamics, Analytics & Big Data (16th Conference of the UK Chapter of t...
System Dynamics, Analytics & Big Data (16th Conference of the UK Chapter of t...
 
Tips and Tricks to be an Effective Data Scientist
Tips and Tricks to be an Effective Data ScientistTips and Tricks to be an Effective Data Scientist
Tips and Tricks to be an Effective Data Scientist
 

Recently uploaded

extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
DiyaBiswas10
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
Scintica Instrumentation
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
AADYARAJPANDEY1
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Erdal Coalmaker
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
muralinath2
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
sachin783648
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
subedisuryaofficial
 
in vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptxin vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptx
yusufzako14
 
ESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptxESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptx
muralinath2
 
insect taxonomy importance systematics and classification
insect taxonomy importance systematics and classificationinsect taxonomy importance systematics and classification
insect taxonomy importance systematics and classification
anitaento25
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
kumarmathi863
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
ssuserbfdca9
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
Areesha Ahmad
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
muralinath2
 
Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
Sérgio Sacani
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
muralinath2
 

Recently uploaded (20)

extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
 
in vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptxin vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptx
 
ESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptxESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptx
 
insect taxonomy importance systematics and classification
insect taxonomy importance systematics and classificationinsect taxonomy importance systematics and classification
insect taxonomy importance systematics and classification
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
 
Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
 

Bring survey sampling techniques into big data

  • 1. BRINGING SURVEY SAMPLING TECHNIQUES INTO ‘BIG DATA’ ANTOINE REBECQ UBISOFT MONTRÉAL NOVEMBER 7, 2018 1
  • 2. About me • Formerly: survey sampling methodologist at INSEE, France • “Type A” data scientist turned “Type B”
  • 3. Key takeaway The future of ‘big data’ is a statistician
  • 4. Summary I. What is a data science team? How can a (survey) statistician fit into it? II. Examples of awesome ‘big data’ challenges that could use statisticians
  • 5. I. Data science and data scientists
  • 6. I. Data science and data scientists Data scientists = combination of computer science, statistics, applied mathematics and domain expertise Type A data scientist = Focused on analyses, decision science Type B data scientist = Focused on production data application (typically ML, recommendations, etc.)
  • 7. What does our type B data science team do? Machine Learning in games! Example: Recommendations (from Netflix: Basilico, 2015)
  • 8. What does our type B data science team do? Send data Send content Compute ML models
  • 9. What does our type B data science team do? At core: programming team - Production code: - Distributed computation - Optimized algorithms - Code history and reviews Tech stack:
  • 10. Modern data science teams The (in)famous data science Venn diagram (Conway, 2013)
  • 11. Modern data science teams Some truths: - Blur the line between all jobs (opportunities, not requirements) - Unicorns are rare but they do exist - Let them have fun! - Pay them accordingly! More generally: Create opportunities for everyone to learn from every domain
  • 12. Modern data science teams What can statisticians get from CS culture - Quality control for statisticians (hint: it’s the same!): - Distributed computation - Optimized algorithms - Code history and reviews R community has a very positive influence in introducing CS quality processes for statistics and data science (for example see Wickham, 2015 on git).
  • 13. II. Examples of ‘big data’ challenges that could use statisticians
  • 14. II. Examples of challenges 1. A/B testing 2. Sampled events (understanding data sources) 3. Improving ML algorithms (quality) 4. Improving ML algorithms (speed) 5. Understanding user feedback
  • 15. II. Examples of challenges 1. A/B testing A/B testing = ‘big data’ term for Randomized Controlled Trial (RCT) Very useful for: - Product shipping - Business decisions For example Microsoft has a dedicated team doing extensive work on A/B testing (see Deng, 2018).
  • 16. II. Examples of challenges 1. A/B testing Need for carefully crafted sampling designs (Image from Miller).
  • 17. II. Examples of challenges 2. Sampled tracking events Event = single information sent to server when something happens Some events are sampled to reduce load (CPU, network, storage)
  • 18. II. Examples of challenges 2. Sampled tracking events Example: analysis of balancing in a fighting game An event is sent by a sample of players when they use a new weapon. Question: is sword A better than sword B? -> Analysis of matches where these weapons are used …
  • 19. II. Examples of challenges 2. Sampled tracking events … This is an indirect sampling design (Lavallée, 2009) (Unequal probabilities because of players preferences, game rules, etc.) Our ‘quick-and-dirty’ solution: calibration and R package Icarus (Rebecq, 2016)
  • 20. II. Examples of challenges 3. Better probabilities for ML algorithms using sampling calibration Using sampling calibration (Deville, 1992) to craft better probabilities from ML algorithms 1. Example with balancing of sample data: http://nc233.com/2018/07/weighting-tricks-for-machine-learning- with-icarus-part-1/
  • 21. II. Examples of challenges 3. Better probabilities for ML algorithms using sampling calibration
  • 22. II. Examples of challenges 3. Better probabilities for ML algorithms using sampling calibration 2. Directly calibrate output probabilities (WIP) - Better simulations - Better recommendations
  • 23. II. Examples of challenges 4. Speed up big data tasks Example: Sampling to speed up network analyses (Leskovec, 2016 and Rebecq, 2017)
  • 24. II. Examples of challenges 5. Understand user feedback Sentiment analysis (Pang, 2002) Direct feedback from community Vs. Sampling and carefully crafted questionnaire
  • 25. Conclusion - A lot of interesting topics in survey sampling literature can be super useful for ‘big data’ problems (research and practice) - Hire a statistician for your type A data science team! - Hire a statistician for your type B data science team! - If you’re a statistician, look into ‘big data’ jobs for interesting challenges!
  • 26. Thanks! Antoine Rebecq . Blog post: nc233.com/symposium2018 LinkedIn
  • 27. References (1) [Basilico, 2015] BASILICO, Justin. Recommendations for building Machine Learning systems https://www.slideshare.net/SessionsEvents/justin-basilico-research-engineering-manager-at-netflix-at-mlconf- sf-111315 [Conway, 2013] CONWAY, Drew. The data science Venn diagram http://drewconway.com/zia/2013/3/26/the- data-science-venn-diagram [Deville, 1992] DEVILLE, Jean-Claude and SÄRNDAL, Carl-Erik. Calibration estimators in survey sampling. Journal of the American statistical Association, 1992, vol. 87, no 418, p. 376-382. [Deng, 2018] DENG, Alex, KNOBLICH, Ulf, and LU, Jiannan. Applying the Delta method in metric analytics: A practical guide with novel ideas. arXiv preprint arXiv:1803.06336, 2018. [Lavallée, 2009] LAVALLÉE, Pierre. Indirect sampling. Springer Science & Business Media, 2009.
  • 28. References (2) [Leskovec, 2016] LESKOVEC, Jure and SOSIČ, Rok. Snap: A general-purpose network analysis and graph-mining library. ACM Transactions on Intelligent Systems and Technology (TIST), 2016, vol. 8, no 1, p. 1. [Miller] MILLER, Evan. Evan Miller’s sample size calculator https://www.evanmiller.org/ab-testing/sample- size.html [Pang, 2002] PANG, Bo, LEE, Lillian, and VAITHYANATHAN, Shivakumar. Thumbs up?: sentiment classification using machine learning techniques. In : Proceedings of the ACL-02 conference on Empirical methods in natural language processing-Volume 10. Association for Computational Linguistics, 2002. p. 79-86. [Rebecq, 2017] REBECQ, Antoine. Sampling graphs https://nc233.com/2017/03/sampling-graphs-mad-stat- seminar-at-toulouse-school-of-economics/
  • 29. References (3) [Rebecq, 2016] REBECQ, Antoine. Icarus: un package R pour le calage sur marges et ses variantes. In : 9e colloque francophone sur les sondages, Gatineau (Canada). 2016. [Wickham, 2015] WICKHAM, Hadley. R packages: organize, test, document, and share your code. " O'Reilly Media, Inc.", 2015 (page on git available at http://r-pkgs.had.co.nz/git.html)