SlideShare a Scribd company logo
Python For BIG DATA ANALYTICS 
View Mastering Python course details at http://www.edureka.co/python 
For Queries: 
Post on Twitter @edurekaIN: #askEdureka 
Post on Facebook /edurekaIN 
For more details please contact us: 
US : 1800 275 9730 (toll free) 
INDIA : +91 88808 62004 
Email Us : sales@edureka.co
Objectives 
At the end of this module, you will be able to 
 Understand Python 
 Understand Web Scrapping example using Python 
 Understand PyDoop: Python API for Hadoop 
 Implement Word Count example in Pydoop 
 Integrate Data Science with Python 
 Implement Zombie Invasion modeling using Python 
Slide 2 www.edureka.co/python
Why Python? 
 Python is a great language for the beginner programmers since it is easy-to-learn and easy-to-maintain. 
 Python’s biggest strength is that the bulk of it’s library is portable. It also supports GUI Programming and 
can be used to create Applications portable on Mac, Windows and Unix X-Windows system. 
 With libraries like PyDoop and SciPy, it’s a dream come true for Big Data Analytics. 
Slide 3 www.edureka.co/python
Growing Interest in Python 
Slide 4 www.edureka.co/python
Demo: Web Scraping using Python 
 This example demonstrates how to scrape basic financial data from IMDB webpage 
 We shall use open source web scraping framework for Python called Beautiful Soup to crawl and 
extract data from webpages 
 Scraping is used for a wide range of purposes, from data mining to monitoring and automated testing 
Slide 5 www.edureka.co/python
Demo: Collecting Tweets using Python 
 This example demonstrates how to extract historical tweets for a particular brand like “nike” or “apple” 
 We shall make a REST API call to twitter to extract tweets 
 This data can be further used to perform sentiment analysis for a particular brand on Twitter 
Slide 6 www.edureka.co/python
Big Data 
 Lots of Data (Terabytes or Petabytes) 
 Big data is the term for a collection of data 
sets so large and complex that it becomes 
difficult to process using on-hand database 
management tools or traditional data 
processing applications 
 The challenges include capture, curation, 
storage, search, sharing, transfer, analysis, 
and visualization 
cloud 
tools 
statistics 
No SQL 
Big Data 
compression 
support 
database 
storage 
analize 
information 
mobile 
processing 
terabytes 
Slide 7 www.edureka.co/python
Un-Structured Data is Exploding 
Complex, Unstructured 
Relational 
 2500 exabytes of new information in 2012 with internet as primary driver 
 Digital universe grew by 62% last year to 800K petabytes and will grow to 1.2 “zettabytes” this year 
Slide 8 www.edureka.co/python
Big Data Scenarios : Hospital Care 
Hospitals are analyzing medical data and patient 
records to predict those patients that are likely to seek 
readmission within a few months of discharge. The 
hospital can then intervene in hopes of preventing 
another costly hospital stay 
Medical diagnostics company analyzes millions of lines 
of data to develop first non-intrusive test for 
predicting coronary artery disease. To do so, 
researchers at the company analyzed over 100 million 
gene samples to ultimately identify the 23 primary 
predictive genes for coronary artery disease 
Slide 9 www.edureka.co/python
Big Data Scenarios : Amazon.com 
Amazon has an unrivalled bank of data on online 
consumer purchasing behaviour that it can mine from 
its 152 million customer accounts 
Amazon also uses Big Data to monitor, track and secure its 
1.5 billion items in its retail store that are laying around it 
200 fulfilment centres around the world. Amazon stores the 
product catalogue data in S3 
S3 can write, read and delete objects up to 5 TB of data 
each. The catalogue stored in S3 receives more than 50 
million updates a week and every 30 minutes all data 
received is crunched and reported back to the different 
warehouses and the website 
http://wp.streetwise.co/wp-content/uploads/2012/08/Amazon-Recommendations.png 
Slide 10 www.edureka.co/python
Netflix uses 1 petabyte to store the videos for streaming 
BitTorrent Sync has transferred over 30 petabytes of data 
since its pre-alpha release in January 2013 
The 2009 movie Avatar is reported to have taken over 1 
petabyte of local storage at Weta Digital for the rendering 
of the 3D CGI effects 
One petabyte of average MP3-encoded songs (for mobile, 
roughly one megabyte per minute), would require 2000 
years to play 
Big Data Scenarios: NetFlix 
http://smhttp.23575.nexcesscdn.net/80ABE1/sbmedia/blog/wp-content/uploads/2013/03/netflix-in-asia.png 
Slide 11 www.edureka.co/python
IBM’s Definition 
 IBM’s Definition – Big Data Characteristics 
http://www-01.ibm.com/software/data/bigdata/ 
Web 
logs 
Audios 
Images 
Videos 
Sensor 
Data 
Volume Velocity Variety 
Slide 12 www.edureka.co/python
Hadoop for Big Data 
 Apache Hadoop is a framework that allows for the distributed processing of large data sets across clusters of 
commodity computers using a simple programming model 
 It is an Open-source Data Management with scale-out storage & distributed processing 
Slide 13 www.edureka.co/python
Hadoop and MapReduce 
Hadoop is a system for large scale data processing 
It has two main components: 
 HDFS – Hadoop Distributed File System (Storage) 
» Distributed across “nodes” 
» Natively redundant 
» NameNode tracks locations 
 MapReduce (Processing) 
» Splits a task across processors 
» “near” the data & assembles results 
» Self-Healing, High Bandwidth 
» Clustered storage 
» Job Tracker manages the Task Trackers 
Key Value 
Map-Reduce 
Slide 14 www.edureka.co/python
PyDoop – Hadoop with Python 
Python can be used to write Hadoop MapReduce programs and applications to access HDFS API for Hadoop with 
PyDoop package 
 PyDoop package provides a Python API for Hadoop MapReduce and 
HDFS 
 PyDoop has several advantages over Hadoop’s built-in solutions for 
Python programming, i.e., Hadoop Streaming and Jython 
 One of the biggest advantage of PyDoop is it’s HDFS API. This 
allows you to connect to an HDFS installation, read and write files, and 
get information on files, directories and global file system properties 
 The MapReduce API of PyDoop allows you to solve many complex 
problems with minimal programming efforts. Advance MapReduce 
concepts such as ‘Counters’ and ‘Record Readers’ can be implemented 
in Python using PyDoop 
Slide 15 www.edureka.co/python
Demo: Word Count using Hadoop Streaming API 
 The example shows the simple word count application written in Python 
 We shall use Hadoop Streaming APIs to run MapReduce code written in Python 
 Word Count application can be used to index text documents/files for a given “search query” 
Slide 16 www.edureka.co/python
Python and Data Science 
The day-to-day tasks of a data scientist involves many interrelated but different activities such as accessing and 
manipulating data, computing statistics and , creating visual reports on that data, building predictive and 
explanatory models, evaluating these models on additional data, integrating models into production systems, etc. 
 Python is an excellent choice for Data 
Scientist to do his day-to-day activities as it 
provides libraries to do all these things 
 Python has a diverse range of open source 
libraries for just about everything that a 
Data Scientist does in his day-to-day work 
 Python and most of its libraries are both 
open source and free 
Slide 17 www.edureka.co/python
SciPy.org 
SciPy (pronounced “Sigh Pie”) is a Python-based ecosystem of open-source software for mathematics, science, and 
engineering. 
NumPy 
Base N-dimensional 
array package 
IPython 
Enhanced Interactive 
Console 
SciPy library 
Base N-dimensional 
array package 
Sympy 
Symbolic mathematics 
Matplotlib 
Comprehensive 2D 
Plotting 
pandas 
Data structures 
and analysis 
Slide 18 www.edureka.co/python
Demo: Zombie Invasion Model 
This is a lighthearted example, a system of ODEs(Ordinary differential equations) can be used to model a "zombie 
invasion", using the equations specified by Philip Munz. 
The system is given as: 
dS/dt = P - B*S*Z - d*S 
dZ/dt = B*S*Z + G*R - A*S*Z 
dR/dt = d*S + A*S*Z - G*R 
Where: 
S: the number of susceptible victims 
Z: the number of zombies 
R: the number of people "killed” 
P: the population birth rate 
d: the chance of a natural death 
B: the chance the "zombie disease" is transmitted (an alive person becomes a zombie) 
G: the chance a dead person is resurrected into a zombie 
A: the chance a zombie is totally destroyed 
There are three scenarios given in the program to show how Zombie Apocalypse vary with different initial 
conditions. 
This involves solving a system of first order ODEs given by: dy/dt = f(y, t) Where y = [S, Z, R]. 
Slide 19 www.edureka.co/python
Questions 
Slide 20 Twitter @edurekaIN, Facebook /edurekaIN, use #askEdureka for Questions www.edureka.co/python
Slide 21 Course Url

More Related Content

PDF
Python webinar 2nd july
PPTX
Python for Big Data Analytics
PDF
Python webinar 4th june
PDF
Business Analytics Decision Tree in R
PPTX
Is Hadoop a necessity for Data Science
PDF
Sentiment Analysis In Retail Domain
PDF
Webinar : Talend : The Non-Programmer's Swiss Knife for Big Data
PPTX
Business Analytics with R
Python webinar 2nd july
Python for Big Data Analytics
Python webinar 4th june
Business Analytics Decision Tree in R
Is Hadoop a necessity for Data Science
Sentiment Analysis In Retail Domain
Webinar : Talend : The Non-Programmer's Swiss Knife for Big Data
Business Analytics with R

What's hot (20)

PPTX
Python for Big Data Analytics
PPTX
Big Data Analytics for Non-Programmers
PDF
Webinar: Big Data & Hadoop - When not to use Hadoop
PDF
Business Analytics with R
PDF
GalvanizeU Seattle: Eleven Almost-Truisms About Data
PDF
Big Data is changing abruptly, and where it is likely heading
PDF
Data Science in Future Tense
PDF
Increasing the Impact of Visualization Research
PDF
Logistic Regression In Data Science
PDF
Use of standards and related issues in predictive analytics
KEY
Big data and APIs for PHP developers - SXSW 2011
PDF
Data Science in 2016: Moving Up
PDF
Using hadoop for big data
PDF
Microservices, containers, and machine learning
PDF
Myths of Data Science
PDF
Agile analytics applications on hadoop
PDF
Jupyter for Education: Beyond Gutenberg and Erasmus
PDF
Data Visualization: A Quick Tour for Data Science Enthusiasts
PDF
Linear Regression With R
PPTX
Learn Big Data & Hadoop
Python for Big Data Analytics
Big Data Analytics for Non-Programmers
Webinar: Big Data & Hadoop - When not to use Hadoop
Business Analytics with R
GalvanizeU Seattle: Eleven Almost-Truisms About Data
Big Data is changing abruptly, and where it is likely heading
Data Science in Future Tense
Increasing the Impact of Visualization Research
Logistic Regression In Data Science
Use of standards and related issues in predictive analytics
Big data and APIs for PHP developers - SXSW 2011
Data Science in 2016: Moving Up
Using hadoop for big data
Microservices, containers, and machine learning
Myths of Data Science
Agile analytics applications on hadoop
Jupyter for Education: Beyond Gutenberg and Erasmus
Data Visualization: A Quick Tour for Data Science Enthusiasts
Linear Regression With R
Learn Big Data & Hadoop
Ad

Similar to Webinar: Mastering Python - An Excellent tool for Web Scraping and Data Analysis (20)

PPTX
Python PPT
PDF
Power of Python with Big Data
PDF
Samsung SDS OpeniT - The possibility of Python
PDF
The Role of Python in Data Science - ED11
PDF
International Journal of Engineering Research and Development (IJERD)
PDF
International Journal of Engineering Research and Development (IJERD)
PDF
PYTHON FOR DATA SCIENCE- EXPLAINED IN 6 EASY STEPS
PPTX
Researh toolbox - Data analysis with python
PDF
Researh toolbox-data-analysis-with-python
PDF
Introduction to Data Science
PDF
What Is The Future of Data Science With Python?
PDF
Big Data: hype or necessity?
PDF
Ultra Fast Deep Learning in Hybrid Cloud Using Intel Analytics Zoo & Alluxio
PDF
Big Data Analytics
PPTX
Use r 2013 tutorial - r and cloud computing for higher education and research
PPTX
Complete Introduction To DataScience PPT
PDF
Why Python Should Be Your First Programming Language
PDF
Python
PDF
Why Learn Python for Data Science Tutorial
PDF
SC7 Workshop 1: Big Data in Secure Societies
Python PPT
Power of Python with Big Data
Samsung SDS OpeniT - The possibility of Python
The Role of Python in Data Science - ED11
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
PYTHON FOR DATA SCIENCE- EXPLAINED IN 6 EASY STEPS
Researh toolbox - Data analysis with python
Researh toolbox-data-analysis-with-python
Introduction to Data Science
What Is The Future of Data Science With Python?
Big Data: hype or necessity?
Ultra Fast Deep Learning in Hybrid Cloud Using Intel Analytics Zoo & Alluxio
Big Data Analytics
Use r 2013 tutorial - r and cloud computing for higher education and research
Complete Introduction To DataScience PPT
Why Python Should Be Your First Programming Language
Python
Why Learn Python for Data Science Tutorial
SC7 Workshop 1: Big Data in Secure Societies
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
sap open course for s4hana steps from ECC to s4
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation theory and applications.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
KodekX | Application Modernization Development
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
MIND Revenue Release Quarter 2 2025 Press Release
NewMind AI Weekly Chronicles - August'25 Week I
Digital-Transformation-Roadmap-for-Companies.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
sap open course for s4hana steps from ECC to s4
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation theory and applications.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Advanced methodologies resolving dimensionality complications for autism neur...
Chapter 3 Spatial Domain Image Processing.pdf
KodekX | Application Modernization Development
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Programs and apps: productivity, graphics, security and other tools
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Machine learning based COVID-19 study performance prediction
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Webinar: Mastering Python - An Excellent tool for Web Scraping and Data Analysis

  • 1. Python For BIG DATA ANALYTICS View Mastering Python course details at http://www.edureka.co/python For Queries: Post on Twitter @edurekaIN: #askEdureka Post on Facebook /edurekaIN For more details please contact us: US : 1800 275 9730 (toll free) INDIA : +91 88808 62004 Email Us : sales@edureka.co
  • 2. Objectives At the end of this module, you will be able to  Understand Python  Understand Web Scrapping example using Python  Understand PyDoop: Python API for Hadoop  Implement Word Count example in Pydoop  Integrate Data Science with Python  Implement Zombie Invasion modeling using Python Slide 2 www.edureka.co/python
  • 3. Why Python?  Python is a great language for the beginner programmers since it is easy-to-learn and easy-to-maintain.  Python’s biggest strength is that the bulk of it’s library is portable. It also supports GUI Programming and can be used to create Applications portable on Mac, Windows and Unix X-Windows system.  With libraries like PyDoop and SciPy, it’s a dream come true for Big Data Analytics. Slide 3 www.edureka.co/python
  • 4. Growing Interest in Python Slide 4 www.edureka.co/python
  • 5. Demo: Web Scraping using Python  This example demonstrates how to scrape basic financial data from IMDB webpage  We shall use open source web scraping framework for Python called Beautiful Soup to crawl and extract data from webpages  Scraping is used for a wide range of purposes, from data mining to monitoring and automated testing Slide 5 www.edureka.co/python
  • 6. Demo: Collecting Tweets using Python  This example demonstrates how to extract historical tweets for a particular brand like “nike” or “apple”  We shall make a REST API call to twitter to extract tweets  This data can be further used to perform sentiment analysis for a particular brand on Twitter Slide 6 www.edureka.co/python
  • 7. Big Data  Lots of Data (Terabytes or Petabytes)  Big data is the term for a collection of data sets so large and complex that it becomes difficult to process using on-hand database management tools or traditional data processing applications  The challenges include capture, curation, storage, search, sharing, transfer, analysis, and visualization cloud tools statistics No SQL Big Data compression support database storage analize information mobile processing terabytes Slide 7 www.edureka.co/python
  • 8. Un-Structured Data is Exploding Complex, Unstructured Relational  2500 exabytes of new information in 2012 with internet as primary driver  Digital universe grew by 62% last year to 800K petabytes and will grow to 1.2 “zettabytes” this year Slide 8 www.edureka.co/python
  • 9. Big Data Scenarios : Hospital Care Hospitals are analyzing medical data and patient records to predict those patients that are likely to seek readmission within a few months of discharge. The hospital can then intervene in hopes of preventing another costly hospital stay Medical diagnostics company analyzes millions of lines of data to develop first non-intrusive test for predicting coronary artery disease. To do so, researchers at the company analyzed over 100 million gene samples to ultimately identify the 23 primary predictive genes for coronary artery disease Slide 9 www.edureka.co/python
  • 10. Big Data Scenarios : Amazon.com Amazon has an unrivalled bank of data on online consumer purchasing behaviour that it can mine from its 152 million customer accounts Amazon also uses Big Data to monitor, track and secure its 1.5 billion items in its retail store that are laying around it 200 fulfilment centres around the world. Amazon stores the product catalogue data in S3 S3 can write, read and delete objects up to 5 TB of data each. The catalogue stored in S3 receives more than 50 million updates a week and every 30 minutes all data received is crunched and reported back to the different warehouses and the website http://wp.streetwise.co/wp-content/uploads/2012/08/Amazon-Recommendations.png Slide 10 www.edureka.co/python
  • 11. Netflix uses 1 petabyte to store the videos for streaming BitTorrent Sync has transferred over 30 petabytes of data since its pre-alpha release in January 2013 The 2009 movie Avatar is reported to have taken over 1 petabyte of local storage at Weta Digital for the rendering of the 3D CGI effects One petabyte of average MP3-encoded songs (for mobile, roughly one megabyte per minute), would require 2000 years to play Big Data Scenarios: NetFlix http://smhttp.23575.nexcesscdn.net/80ABE1/sbmedia/blog/wp-content/uploads/2013/03/netflix-in-asia.png Slide 11 www.edureka.co/python
  • 12. IBM’s Definition  IBM’s Definition – Big Data Characteristics http://www-01.ibm.com/software/data/bigdata/ Web logs Audios Images Videos Sensor Data Volume Velocity Variety Slide 12 www.edureka.co/python
  • 13. Hadoop for Big Data  Apache Hadoop is a framework that allows for the distributed processing of large data sets across clusters of commodity computers using a simple programming model  It is an Open-source Data Management with scale-out storage & distributed processing Slide 13 www.edureka.co/python
  • 14. Hadoop and MapReduce Hadoop is a system for large scale data processing It has two main components:  HDFS – Hadoop Distributed File System (Storage) » Distributed across “nodes” » Natively redundant » NameNode tracks locations  MapReduce (Processing) » Splits a task across processors » “near” the data & assembles results » Self-Healing, High Bandwidth » Clustered storage » Job Tracker manages the Task Trackers Key Value Map-Reduce Slide 14 www.edureka.co/python
  • 15. PyDoop – Hadoop with Python Python can be used to write Hadoop MapReduce programs and applications to access HDFS API for Hadoop with PyDoop package  PyDoop package provides a Python API for Hadoop MapReduce and HDFS  PyDoop has several advantages over Hadoop’s built-in solutions for Python programming, i.e., Hadoop Streaming and Jython  One of the biggest advantage of PyDoop is it’s HDFS API. This allows you to connect to an HDFS installation, read and write files, and get information on files, directories and global file system properties  The MapReduce API of PyDoop allows you to solve many complex problems with minimal programming efforts. Advance MapReduce concepts such as ‘Counters’ and ‘Record Readers’ can be implemented in Python using PyDoop Slide 15 www.edureka.co/python
  • 16. Demo: Word Count using Hadoop Streaming API  The example shows the simple word count application written in Python  We shall use Hadoop Streaming APIs to run MapReduce code written in Python  Word Count application can be used to index text documents/files for a given “search query” Slide 16 www.edureka.co/python
  • 17. Python and Data Science The day-to-day tasks of a data scientist involves many interrelated but different activities such as accessing and manipulating data, computing statistics and , creating visual reports on that data, building predictive and explanatory models, evaluating these models on additional data, integrating models into production systems, etc.  Python is an excellent choice for Data Scientist to do his day-to-day activities as it provides libraries to do all these things  Python has a diverse range of open source libraries for just about everything that a Data Scientist does in his day-to-day work  Python and most of its libraries are both open source and free Slide 17 www.edureka.co/python
  • 18. SciPy.org SciPy (pronounced “Sigh Pie”) is a Python-based ecosystem of open-source software for mathematics, science, and engineering. NumPy Base N-dimensional array package IPython Enhanced Interactive Console SciPy library Base N-dimensional array package Sympy Symbolic mathematics Matplotlib Comprehensive 2D Plotting pandas Data structures and analysis Slide 18 www.edureka.co/python
  • 19. Demo: Zombie Invasion Model This is a lighthearted example, a system of ODEs(Ordinary differential equations) can be used to model a "zombie invasion", using the equations specified by Philip Munz. The system is given as: dS/dt = P - B*S*Z - d*S dZ/dt = B*S*Z + G*R - A*S*Z dR/dt = d*S + A*S*Z - G*R Where: S: the number of susceptible victims Z: the number of zombies R: the number of people "killed” P: the population birth rate d: the chance of a natural death B: the chance the "zombie disease" is transmitted (an alive person becomes a zombie) G: the chance a dead person is resurrected into a zombie A: the chance a zombie is totally destroyed There are three scenarios given in the program to show how Zombie Apocalypse vary with different initial conditions. This involves solving a system of first order ODEs given by: dy/dt = f(y, t) Where y = [S, Z, R]. Slide 19 www.edureka.co/python
  • 20. Questions Slide 20 Twitter @edurekaIN, Facebook /edurekaIN, use #askEdureka for Questions www.edureka.co/python