SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
Introduction
to
Data
Science
Introduction: What is Data Science?
• Data science is one of the most promising and in-demand career
paths for skilled professionals.
• The term “data scientist” was coined as recently as 2008.
• It is a blending of three application: Data, Business and Statistics
Size of the Data is increasing
• The amount of data in the world was
estimated to be 44 zettabytes at the
dawn of 2020.
• By 2025, the amount of data generated
each day is expected to reach 463
exabytes globally.
• Google, Facebook, Microsoft, and
Amazon store at least 1,200 petabytes of
information.
• The world spends almost $1 million per
minute on commodities on the Internet.
• Electronic Arts process roughly 50
terabytes of data every day.
• By 2025, there would be 75 billion Internet-
of-Things (IoT) devices in the world
• By 2030, nine out of every ten people
aged six and above would be digitally
active.
What Does a Data Scientist Do?
• Understand the business problem
• How can I improve the sells of an e-commerce platform?
• Analise the data provided by the company
• The sell data, what and when products customer buy (before festival), How many
time they spend on the app (app time) etc.
• Visualize the data and get an intuition
• Visualize all the data and try to find any pattern.
• Recommend a product/service based on the past data
• Which product to recommend to the user (if he is buying a phone, recommend
him for its accessories/warranty or similar phones)
• Predict future uncertainties/values
• Predict the sell/revenue/stock price of the company
Data
Science
tasks
Data Science as a multidisciplinary domain
• Data Science is a multidisciplinary domain which consists of many
other domains.
• The following Venn diagram will explain. There are three main
domains that primarily includes Data Science:
• For theory:
• Theoretical Computer Science
• Statistics (why)
• For Application:
• Application Oriented Computer Science
• Different tools: python/R/Java
• Software Development
Where data science
comes from?
• Core of Data Science is Statistics
with a wrapping package +
computer science
• The other domain which handles
data is Statistics but without
computer, as it was unavailable
until recently
Applications of
Data Science
Example-1: Email Spam detection
• One of the classic example.
Example-2: Medical
Diagnosis
• Input: Symptoms (Fever, Cough,
nausea, pain)
• Output: Diagnosis (Covid-19, Common
cold, pneumonia)
• Assuming that, there are only these
possible disease.
• An Example of multiclass
classification
• There is some uncertainty such as 20%
sure: Covid19 and 80% sure about a
common cold.
• Probabilistic or soft classification
(soft computing)
Example-3: predicting
a stock price
• Input: History of
stock prices
• Output: Price of
the stock at the
nearest future
Example-4: Self-driving car
• Input: Road
conditions/traffics signals/
crowd
• Sensors: Camera, IR,
radar etc.
• Output: directions of the
vehicle, speed, acceleration
etc.
Essence of Data Science
1. Exploratory analysis: Discover the structure within the data. E.g.:
Experience (in years in a company) and salary are correlated.
1. Unsupervised learning
2. Predictive Analysis: This is sometimes described as “learn from
the past to predict the future”.
1. Supervised learning
Theoretical Aspects of Data Science
Practical Aspects of Data Science
Some buzz words
• Data Science
• Machine Learning
• Statistics
• Big Data
• Artificial Intelligence
• speech recognition
• Supervised Machine Learning
• Unsupervised Machine Learning
• Data Mining
• Soft Computing
• Artificial Intelligence (AI)
• Deep Learning
• Artificial Neural Network (ANN)
• Explainable AI (XAI)
• Speech recognition
Example 1: Data Science and Statistics
Example 2: Data Science and Software development
Example 3: Data Science and Soft Computing
Example 4: Data Science and Theoretical Comp. Sc.
A word of caution: Don’t Use ML everywhere
Not all problems are machine learning problems. It is important to know when to
(not) use machine learning.
1. If you have a deterministic logic that solves it with 100% accuracy, then obviously that is
cheaper, easier, and more accurate than any ML model one can make.
2. If you have some stable heuristic rules that solve it most of the time, the extra
work/complexity of ML might not be worth it.
3. If your heuristics does not work up to the desired accuracy, and requires constant
updates, then ML can be a good bet.
Applications

Contenu connexe

Similaire à DataScience_introduction.pdf

[DSC Europe 22] On the Aspects of Artificial Intelligence and Robotic Autonom...
[DSC Europe 22] On the Aspects of Artificial Intelligence and Robotic Autonom...[DSC Europe 22] On the Aspects of Artificial Intelligence and Robotic Autonom...
[DSC Europe 22] On the Aspects of Artificial Intelligence and Robotic Autonom...DataScienceConferenc1
 
Algorithm Marketplace and the new "Algorithm Economy"
Algorithm Marketplace and the new "Algorithm Economy"Algorithm Marketplace and the new "Algorithm Economy"
Algorithm Marketplace and the new "Algorithm Economy"Diego Oppenheimer
 
Getting started in data science (4:3)
Getting started in data science (4:3)Getting started in data science (4:3)
Getting started in data science (4:3)Thinkful
 
Getting started in data science (4:3)
Getting started in data science (4:3)Getting started in data science (4:3)
Getting started in data science (4:3)Thinkful
 
Data Science-1 (1).ppt
Data Science-1 (1).pptData Science-1 (1).ppt
Data Science-1 (1).pptSanjayAcharaya
 
From Rocket Science to Data Science
From Rocket Science to Data ScienceFrom Rocket Science to Data Science
From Rocket Science to Data ScienceSanghamitra Deb
 
Workshop_Presentation.pptx
Workshop_Presentation.pptxWorkshop_Presentation.pptx
Workshop_Presentation.pptxRUDRAPRASADSABAR
 
Introduction to data science and IoT
Introduction to data science and IoTIntroduction to data science and IoT
Introduction to data science and IoTKhadir LAMRANI
 
Data science and business analytics
Data  science and business analyticsData  science and business analytics
Data science and business analyticsInbavalli Valli
 
Data, AI and Tokens: A Glimpse of What is to Come
Data, AI and Tokens: A Glimpse of What is to ComeData, AI and Tokens: A Glimpse of What is to Come
Data, AI and Tokens: A Glimpse of What is to ComeClaire Ingram Bogusz
 
How IOT & Big Data will shape up Future Economies?
How IOT & Big Data will shape up Future Economies?How IOT & Big Data will shape up Future Economies?
How IOT & Big Data will shape up Future Economies?Srinath Perera
 
SuanIct-Bigdata desktop-final
SuanIct-Bigdata desktop-finalSuanIct-Bigdata desktop-final
SuanIct-Bigdata desktop-finalstelligence
 
1 data science with python
1 data science with python1 data science with python
1 data science with pythonVishal Sathawane
 
Introduction to big data
Introduction to big dataIntroduction to big data
Introduction to big dataHari Priya
 
How to crack Big Data and Data Science roles
How to crack Big Data and Data Science rolesHow to crack Big Data and Data Science roles
How to crack Big Data and Data Science rolesUpXAcademy
 

Similaire à DataScience_introduction.pdf (20)

Big data
Big dataBig data
Big data
 
[DSC Europe 22] On the Aspects of Artificial Intelligence and Robotic Autonom...
[DSC Europe 22] On the Aspects of Artificial Intelligence and Robotic Autonom...[DSC Europe 22] On the Aspects of Artificial Intelligence and Robotic Autonom...
[DSC Europe 22] On the Aspects of Artificial Intelligence and Robotic Autonom...
 
Algorithm Marketplace and the new "Algorithm Economy"
Algorithm Marketplace and the new "Algorithm Economy"Algorithm Marketplace and the new "Algorithm Economy"
Algorithm Marketplace and the new "Algorithm Economy"
 
Getting started in data science (4:3)
Getting started in data science (4:3)Getting started in data science (4:3)
Getting started in data science (4:3)
 
Getting started in data science (4:3)
Getting started in data science (4:3)Getting started in data science (4:3)
Getting started in data science (4:3)
 
00-01 DSnDA.pdf
00-01 DSnDA.pdf00-01 DSnDA.pdf
00-01 DSnDA.pdf
 
Data Science-1 (1).ppt
Data Science-1 (1).pptData Science-1 (1).ppt
Data Science-1 (1).ppt
 
From Rocket Science to Data Science
From Rocket Science to Data ScienceFrom Rocket Science to Data Science
From Rocket Science to Data Science
 
Workshop_Presentation.pptx
Workshop_Presentation.pptxWorkshop_Presentation.pptx
Workshop_Presentation.pptx
 
Introduction to data science and IoT
Introduction to data science and IoTIntroduction to data science and IoT
Introduction to data science and IoT
 
Data science and business analytics
Data  science and business analyticsData  science and business analytics
Data science and business analytics
 
Data science
Data scienceData science
Data science
 
Data, AI and Tokens: A Glimpse of What is to Come
Data, AI and Tokens: A Glimpse of What is to ComeData, AI and Tokens: A Glimpse of What is to Come
Data, AI and Tokens: A Glimpse of What is to Come
 
How IOT & Big Data will shape up Future Economies?
How IOT & Big Data will shape up Future Economies?How IOT & Big Data will shape up Future Economies?
How IOT & Big Data will shape up Future Economies?
 
SuanIct-Bigdata desktop-final
SuanIct-Bigdata desktop-finalSuanIct-Bigdata desktop-final
SuanIct-Bigdata desktop-final
 
Big Data
Big DataBig Data
Big Data
 
1 data science with python
1 data science with python1 data science with python
1 data science with python
 
Ai energy
Ai energyAi energy
Ai energy
 
Introduction to big data
Introduction to big dataIntroduction to big data
Introduction to big data
 
How to crack Big Data and Data Science roles
How to crack Big Data and Data Science rolesHow to crack Big Data and Data Science roles
How to crack Big Data and Data Science roles
 

Dernier

Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxnuruddin69
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 

Dernier (20)

Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 

DataScience_introduction.pdf

  • 2. Introduction: What is Data Science? • Data science is one of the most promising and in-demand career paths for skilled professionals. • The term “data scientist” was coined as recently as 2008. • It is a blending of three application: Data, Business and Statistics
  • 3. Size of the Data is increasing • The amount of data in the world was estimated to be 44 zettabytes at the dawn of 2020. • By 2025, the amount of data generated each day is expected to reach 463 exabytes globally. • Google, Facebook, Microsoft, and Amazon store at least 1,200 petabytes of information. • The world spends almost $1 million per minute on commodities on the Internet. • Electronic Arts process roughly 50 terabytes of data every day. • By 2025, there would be 75 billion Internet- of-Things (IoT) devices in the world • By 2030, nine out of every ten people aged six and above would be digitally active.
  • 4. What Does a Data Scientist Do? • Understand the business problem • How can I improve the sells of an e-commerce platform? • Analise the data provided by the company • The sell data, what and when products customer buy (before festival), How many time they spend on the app (app time) etc. • Visualize the data and get an intuition • Visualize all the data and try to find any pattern. • Recommend a product/service based on the past data • Which product to recommend to the user (if he is buying a phone, recommend him for its accessories/warranty or similar phones) • Predict future uncertainties/values • Predict the sell/revenue/stock price of the company
  • 6. Data Science as a multidisciplinary domain • Data Science is a multidisciplinary domain which consists of many other domains. • The following Venn diagram will explain. There are three main domains that primarily includes Data Science: • For theory: • Theoretical Computer Science • Statistics (why) • For Application: • Application Oriented Computer Science • Different tools: python/R/Java • Software Development
  • 7. Where data science comes from? • Core of Data Science is Statistics with a wrapping package + computer science • The other domain which handles data is Statistics but without computer, as it was unavailable until recently
  • 9. Example-1: Email Spam detection • One of the classic example.
  • 10. Example-2: Medical Diagnosis • Input: Symptoms (Fever, Cough, nausea, pain) • Output: Diagnosis (Covid-19, Common cold, pneumonia) • Assuming that, there are only these possible disease. • An Example of multiclass classification • There is some uncertainty such as 20% sure: Covid19 and 80% sure about a common cold. • Probabilistic or soft classification (soft computing)
  • 11. Example-3: predicting a stock price • Input: History of stock prices • Output: Price of the stock at the nearest future
  • 12. Example-4: Self-driving car • Input: Road conditions/traffics signals/ crowd • Sensors: Camera, IR, radar etc. • Output: directions of the vehicle, speed, acceleration etc.
  • 13. Essence of Data Science 1. Exploratory analysis: Discover the structure within the data. E.g.: Experience (in years in a company) and salary are correlated. 1. Unsupervised learning 2. Predictive Analysis: This is sometimes described as “learn from the past to predict the future”. 1. Supervised learning
  • 14. Theoretical Aspects of Data Science
  • 15. Practical Aspects of Data Science
  • 16. Some buzz words • Data Science • Machine Learning • Statistics • Big Data • Artificial Intelligence • speech recognition • Supervised Machine Learning • Unsupervised Machine Learning • Data Mining • Soft Computing • Artificial Intelligence (AI) • Deep Learning • Artificial Neural Network (ANN) • Explainable AI (XAI) • Speech recognition
  • 17. Example 1: Data Science and Statistics
  • 18. Example 2: Data Science and Software development
  • 19. Example 3: Data Science and Soft Computing
  • 20. Example 4: Data Science and Theoretical Comp. Sc.
  • 21. A word of caution: Don’t Use ML everywhere Not all problems are machine learning problems. It is important to know when to (not) use machine learning. 1. If you have a deterministic logic that solves it with 100% accuracy, then obviously that is cheaper, easier, and more accurate than any ML model one can make. 2. If you have some stable heuristic rules that solve it most of the time, the extra work/complexity of ML might not be worth it. 3. If your heuristics does not work up to the desired accuracy, and requires constant updates, then ML can be a good bet.