SlideShare a Scribd company logo
Python and Data AnalyticsPython and Data Analytics
•Understand the problem By Understanding the Data
•Predictive Model Building: Balancing Performance, Complexity,
and theBig Data
Machine learningMachine learning
machine learning explores the study and
construction of algorithms that can learn
from and make predictions on data.
Python and data analytics
Predictive model buildingPredictive model building
The process of building a predictive model is called
training.
 Attributes: the variables being used to make predictions is known as:
◦ Predictors.
◦ Features
◦ Independent variables
◦ Input
 Labels are also known as,
◦ Outcomes
◦ Targets
◦ Dependent variables
◦ Responses
A machine learning project may not be
linear, but it has a number of well known
steps:
Define Problem.
Prepare Data.
Evaluate Algorithms.
Improve Results.
Present Results.
the iris dataset has followingthe iris dataset has following
structurestructure
Attributes are numeric so you have to figure out
how to load and handle data.
It is a classification problem, allowing you to
practice with perhaps an easier type of supervised
learning algorithm.
It is a multi-class classification problem (multi-
nominal) that may require some specialized
handling.
It only has 4 attributes and 150 rows, meaning it is
small and easily fits into memory.
All of the numeric attributes are in the same units
and the same scale, not requiring any special scaling
or transforms to get started.
Machine Learning in Python:Machine Learning in Python:
Step-By-StepStep-By-Step
Installing the Python and SciPy
platform.
Loading the dataset.
Summarizing the dataset.
Visualizing the dataset.
Evaluating some algorithms.
Making some predictions.
Basic library in pythonBasic library in python
NumPy‘s array type augments the Python language
with an efficient data structure useful for numerical
work, e.g., manipulating matrices. NumPy also
provides basic numerical routines, such as tools for
finding eigenvectors.
SciPy contains additional routines needed in
scientific work: for example, routines for computing
integrals numerically, solving differential equations,
optimization, and sparse matrices.
The matplotlib module produces high quality plots.
With it you can turn your data or your models into
figures for presentations or articles. No need to do
the numerical work in one program, save the data,
and plot it with another program.
 The Pandas module is a massive collaboration of many
modules along with some unique features to make a very
powerful module.
 Pandas is great for data manipulation, data analysis, and data
visualization.
 The Pandas modules uses objects to allow for data analysis
at a fairly high performance rate in comparison to typical
Python procedures. With it, we can easily read and write
from and to CSV files, or even databases.
 From there, we can manipulate the data by columns, create
new columns, and even base the new columns on other
column data.
 The scikit library used for
 Simple and efficient tools for data mining and data analysis
 Accessible to everybody, and reusable in various contexts
 Built on NumPy, SciPy, and matplotlib
 Open source, commercially usable
NumPy: Base n-dimensional array
package
SciPy: Fundamental library for scientific
computing
Matplotlib: Comprehensive 2D/3D
plotting
IPython: Enhanced interactive console
Sympy: Symbolic mathematics
Pandas: Data structures and analysis
1. Downloading, Installing and Starting
Python SciPy
1.1 Install SciPy Libraries
There are 5 key libraries that you will need to
install. Below is a list of the Python SciPy
libraries required for this tutorial:
scipy
numpy
matplotlib
pandas
sklearn
Python and data analytics
Python and data analytics
Python and data analytics
Python and data analytics
Python and data analytics
Python and data analytics
Python and data analytics
Python and data analytics
Python and data analytics
Python and data analytics
Python and data analytics
http://machinelearningmastery.com/machi
ne-learning-in-python-step-by-step/

More Related Content

PPT
Python Programming ppt
PDF
Python quick guide1
PPTX
Programming
PPTX
Python programming introduction
PPTX
Introduction to Python programming
PDF
Top 20 Python Interview Questions And Answers 2023.pdf
PPTX
Coding conventions
Python Programming ppt
Python quick guide1
Programming
Python programming introduction
Introduction to Python programming
Top 20 Python Interview Questions And Answers 2023.pdf
Coding conventions

What's hot (20)

PDF
Basic Concepts in Python
PDF
ChatGPT-the-revolution-is-coming.pdf
PPTX
AI-Powered Academic Writing Full Deck RV edits 12 June.pptx
PPSX
Programming with Python
PPT
1.python interpreter and interactive mode
ODP
Hands on Session on Python
DOCX
Code review guidelines
PPTX
Intro to Python Programming Language
PDF
Python
PPTX
Python PPT
PPTX
CL-02: lipid classification & Simple lipids by Santhosh Kumar .pptx
PPT
Generating solutions and brainstorming
PPTX
Beginning Python Programming
PPTX
Python presentation by Monu Sharma
PDF
DATA VISUALIZATION USING MATPLOTLIB (PYTHON)
PPTX
Python final presentation kirti ppt1
PPTX
Object Oriented Programming in Python
PPTX
Python 101: Python for Absolute Beginners (PyTexas 2014)
PPTX
CL-04: Glycolipids & Lipoproteins
PDF
Arduino programming
Basic Concepts in Python
ChatGPT-the-revolution-is-coming.pdf
AI-Powered Academic Writing Full Deck RV edits 12 June.pptx
Programming with Python
1.python interpreter and interactive mode
Hands on Session on Python
Code review guidelines
Intro to Python Programming Language
Python
Python PPT
CL-02: lipid classification & Simple lipids by Santhosh Kumar .pptx
Generating solutions and brainstorming
Beginning Python Programming
Python presentation by Monu Sharma
DATA VISUALIZATION USING MATPLOTLIB (PYTHON)
Python final presentation kirti ppt1
Object Oriented Programming in Python
Python 101: Python for Absolute Beginners (PyTexas 2014)
CL-04: Glycolipids & Lipoproteins
Arduino programming
Ad

Similar to Python and data analytics (20)

PPTX
Python ml
PPTX
Scipy Libraries to Work with Various Datasets.pptx
PPTX
machinelearningwithpythonppt-230605123325-8b1d6277.pptx
PPTX
Data Science With Python | Python For Data Science | Python Data Science Cour...
PDF
Python for Data Science: A Comprehensive Guide
PPTX
Introduction to Machine Learning by MARK
PPTX
Data Analysis packages
PDF
Scientific Python
PPTX
Artificial Intelligence concepts in a Nutshell
PDF
DS LAB MANUAL.pdf
PDF
-python-for-data-science-20240911071905Ss8z.pdf
PPTX
MACHINE LEARNING WITH PYTHON PPT.pptx
DOCX
Machine learning Experiments report
PDF
Python Advanced Predictive Analytics Kumar Ashish
PPTX
Ml programming with python
PDF
Python's slippy path and Tao of thick Pandas: give my data, Rrrrr...
PPTX
Data Science.pptx
PPTX
Basic of python for data analysis
PPTX
Intellectual technologies
PPTX
DATA SCIENCE PPT. (HARSH GAUTAM).pptx
Python ml
Scipy Libraries to Work with Various Datasets.pptx
machinelearningwithpythonppt-230605123325-8b1d6277.pptx
Data Science With Python | Python For Data Science | Python Data Science Cour...
Python for Data Science: A Comprehensive Guide
Introduction to Machine Learning by MARK
Data Analysis packages
Scientific Python
Artificial Intelligence concepts in a Nutshell
DS LAB MANUAL.pdf
-python-for-data-science-20240911071905Ss8z.pdf
MACHINE LEARNING WITH PYTHON PPT.pptx
Machine learning Experiments report
Python Advanced Predictive Analytics Kumar Ashish
Ml programming with python
Python's slippy path and Tao of thick Pandas: give my data, Rrrrr...
Data Science.pptx
Basic of python for data analysis
Intellectual technologies
DATA SCIENCE PPT. (HARSH GAUTAM).pptx
Ad

More from Shree M.L.Kakadiya MCA mahila college, Amreli (20)

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Pre independence Education in Inndia.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
Institutional Correction lecture only . . .
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
RMMM.pdf make it easy to upload and study
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Pre independence Education in Inndia.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Microbial diseases, their pathogenesis and prophylaxis
TR - Agricultural Crops Production NC III.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
2.FourierTransform-ShortQuestionswithAnswers.pdf
Cell Types and Its function , kingdom of life
Institutional Correction lecture only . . .
Basic Mud Logging Guide for educational purpose
Final Presentation General Medicine 03-08-2024.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
human mycosis Human fungal infections are called human mycosis..pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Pharma ospi slides which help in ospi learning
Pharmacology of Heart Failure /Pharmacotherapy of CHF
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...

Python and data analytics

  • 1. Python and Data AnalyticsPython and Data Analytics •Understand the problem By Understanding the Data •Predictive Model Building: Balancing Performance, Complexity, and theBig Data
  • 2. Machine learningMachine learning machine learning explores the study and construction of algorithms that can learn from and make predictions on data.
  • 4. Predictive model buildingPredictive model building The process of building a predictive model is called training.  Attributes: the variables being used to make predictions is known as: ◦ Predictors. ◦ Features ◦ Independent variables ◦ Input  Labels are also known as, ◦ Outcomes ◦ Targets ◦ Dependent variables ◦ Responses
  • 5. A machine learning project may not be linear, but it has a number of well known steps: Define Problem. Prepare Data. Evaluate Algorithms. Improve Results. Present Results.
  • 6. the iris dataset has followingthe iris dataset has following structurestructure Attributes are numeric so you have to figure out how to load and handle data. It is a classification problem, allowing you to practice with perhaps an easier type of supervised learning algorithm. It is a multi-class classification problem (multi- nominal) that may require some specialized handling. It only has 4 attributes and 150 rows, meaning it is small and easily fits into memory. All of the numeric attributes are in the same units and the same scale, not requiring any special scaling or transforms to get started.
  • 7. Machine Learning in Python:Machine Learning in Python: Step-By-StepStep-By-Step Installing the Python and SciPy platform. Loading the dataset. Summarizing the dataset. Visualizing the dataset. Evaluating some algorithms. Making some predictions.
  • 8. Basic library in pythonBasic library in python NumPy‘s array type augments the Python language with an efficient data structure useful for numerical work, e.g., manipulating matrices. NumPy also provides basic numerical routines, such as tools for finding eigenvectors. SciPy contains additional routines needed in scientific work: for example, routines for computing integrals numerically, solving differential equations, optimization, and sparse matrices. The matplotlib module produces high quality plots. With it you can turn your data or your models into figures for presentations or articles. No need to do the numerical work in one program, save the data, and plot it with another program.
  • 9.  The Pandas module is a massive collaboration of many modules along with some unique features to make a very powerful module.  Pandas is great for data manipulation, data analysis, and data visualization.  The Pandas modules uses objects to allow for data analysis at a fairly high performance rate in comparison to typical Python procedures. With it, we can easily read and write from and to CSV files, or even databases.  From there, we can manipulate the data by columns, create new columns, and even base the new columns on other column data.  The scikit library used for  Simple and efficient tools for data mining and data analysis  Accessible to everybody, and reusable in various contexts  Built on NumPy, SciPy, and matplotlib  Open source, commercially usable
  • 10. NumPy: Base n-dimensional array package SciPy: Fundamental library for scientific computing Matplotlib: Comprehensive 2D/3D plotting IPython: Enhanced interactive console Sympy: Symbolic mathematics Pandas: Data structures and analysis
  • 11. 1. Downloading, Installing and Starting Python SciPy 1.1 Install SciPy Libraries There are 5 key libraries that you will need to install. Below is a list of the Python SciPy libraries required for this tutorial: scipy numpy matplotlib pandas sklearn