SlideShare a Scribd company logo
1 of 19
MACHINE
LEARNING
WITH
PYTHON
VISHAL BISHT
CSE 4th year
About Python
โ€ข It was created by Guido van Roussum.
โ€ข Python is an interpreted high level ,
general purpose programming
language.
โ€ข Python was conceived in the late 1980s
as a successor to the ABC language. It
was first released in 1991.
Why Python?
1.EASY TO LEARN
Beginner friendly language .You donโ€™t need to
be a hardcore programmer. This independent
language can also be called as one of the most
flexible languages across different platforms
and technologies.
2.VAST COMMUNITY
The constant upgrade by the developer
community support makes Python one of the
most suitable languages for machine learning
applications
3.DOCUMENTATION
This language has extensive tutorials and
documentation. Readability is a primary focus for Python
developers, in both project and code documentation.
4.VERSATILITY
Versatile language supports object-oriented
programming, structured programming, and functional
programming patterns, etc. and can be applied not only
in projects like machine learning.
5.FRAMEWORK AND LIBRARIES
The language has a great number of machine learning
libraries and some of the prominent libraries are such as
TensorFlow, Pytorch, Matplotlib, SciKit Learn, etc.
โ€ข Machine learning is an application of artificial
intelligence (AI) that provides systems the
ability to automatically learn and improve
from experience without being explicitly
programmed. Machine learning focuses on
the development of computer programs that
can access data and use it learn for
themselves.
1.NumPy
NumPy is a very popular python library for
large multi-dimensional array and matrix
processing, with the help of a large collection
of high-level mathematical functions. It is
particularly useful for linear algebra, Fourier
transform, and random number capabilities.
High-end libraries like TensorFlow uses NumPy
internally for manipulation of Tensors.
2.SciPy
SciPy is a very popular library among Machine
Learning enthusiasts as it contains different
modules for optimization, linear algebra,
integration and statistics. SciPy is also very
useful for image manipulation. It is built on
top of two basic Python libraries, viz., NumPy
and SciPy
Original Image Tinted image Resized tinted
image
3.Matplotlib
โ€ข It is a 2D plotting library used for creating 2D
graphs and plots. A module named pyplot
makes it easy for programmers for plotting as
it provides features to control line styles, font
properties, formatting axes, etc. It provides
various kinds of graphs and plots for data
visualization, viz., histogram, error charts, bar
chats, etc,.
4.Pandas
Pandas is a popular Python library for data
analysis. As we know that the dataset must be
prepared before training. It provides high-level
data structures and wide variety tools for data
analysis. It provides many inbuilt methods for
groping, combining and filtering data.
for eg.
5.OpenCV: Operations that we can perform with
openCV library
a. Reading an image : By using imread() fuction.
b. Extracting the RGB values of a pixel.
c. Extracting the Region of Interest (ROI):By slicing
the pixel of image.
d. Rotating the image : By generating a rotation
matrix.
e. Resizing the image :By using resize function.
f. Drawing a Rectangle : By using rectangle function.
g.Displaying text
Region of interest RGB
Drawing a rectangle Rotating a image
Reference links
https://www.geeksforgeeks.org/
https://mlait.in/2019/08/26/machine-learning-
libraries-in-python/
https://analyticsindiamag.com/5-reasons-why-
python-is-the-dominant-language-for-
machine-learning/
https://en.wikipedia.org/wiki/Reference_counti
ng#reference_cycle

More Related Content

What's hot

Machine Learning Course | Edureka
Machine Learning Course | EdurekaMachine Learning Course | Edureka
Machine Learning Course | Edureka
Edureka!
ย 
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Simplilearn
ย 
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete DeckAI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
SlideTeam
ย 

What's hot (20)

Introduction of Data Science
Introduction of Data ScienceIntroduction of Data Science
Introduction of Data Science
ย 
Machine Learning Course | Edureka
Machine Learning Course | EdurekaMachine Learning Course | Edureka
Machine Learning Course | Edureka
ย 
Who is a Data Scientist? | How to become a Data Scientist? | Data Science Cou...
Who is a Data Scientist? | How to become a Data Scientist? | Data Science Cou...Who is a Data Scientist? | How to become a Data Scientist? | Data Science Cou...
Who is a Data Scientist? | How to become a Data Scientist? | Data Science Cou...
ย 
Machine Learning in 10 Minutes | What is Machine Learning? | Edureka
Machine Learning in 10 Minutes | What is Machine Learning? | EdurekaMachine Learning in 10 Minutes | What is Machine Learning? | Edureka
Machine Learning in 10 Minutes | What is Machine Learning? | Edureka
ย 
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
ย 
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete DeckAI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
ย 
Data Science With Python
Data Science With PythonData Science With Python
Data Science With Python
ย 
Scikit Learn intro
Scikit Learn introScikit Learn intro
Scikit Learn intro
ย 
Machine Learning
Machine LearningMachine Learning
Machine Learning
ย 
Data Science vs Machine Learning โ€“ Whatโ€™s The Difference? | Data Science Cour...
Data Science vs Machine Learning โ€“ Whatโ€™s The Difference? | Data Science Cour...Data Science vs Machine Learning โ€“ Whatโ€™s The Difference? | Data Science Cour...
Data Science vs Machine Learning โ€“ Whatโ€™s The Difference? | Data Science Cour...
ย 
PPT on Data Science Using Python
PPT on Data Science Using PythonPPT on Data Science Using Python
PPT on Data Science Using Python
ย 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
ย 
Machine learning
Machine learningMachine learning
Machine learning
ย 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
ย 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
ย 
Machine learning
Machine learningMachine learning
Machine learning
ย 
Machine Learning
Machine LearningMachine Learning
Machine Learning
ย 
Introduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-LearnIntroduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-Learn
ย 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World Applications
ย 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
ย 

Similar to Machine learning libraries with python

PYTHON UNIT 1
PYTHON UNIT 1PYTHON UNIT 1
PYTHON UNIT 1
nagendrasai12
ย 
Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptx
nagendrasai12
ย 
Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & Tech
Ramanamurthy Banda
ย 
Programming in Civil Engineering_UNIT 1_NOTES
Programming in Civil Engineering_UNIT 1_NOTESProgramming in Civil Engineering_UNIT 1_NOTES
Programming in Civil Engineering_UNIT 1_NOTES
Rushikesh Kolhe
ย 
Python Introduction.ppt
Python Introduction.pptPython Introduction.ppt
Python Introduction.ppt
RupaBhattacharya6
ย 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
Nikhil Kapoor
ย 

Similar to Machine learning libraries with python (20)

PYTHON UNIT 1
PYTHON UNIT 1PYTHON UNIT 1
PYTHON UNIT 1
ย 
Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptx
ย 
Python Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docxPython Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docx
ย 
Python.pptx
Python.pptxPython.pptx
Python.pptx
ย 
Python Training in Mohali
Python Training in MohaliPython Training in Mohali
Python Training in Mohali
ย 
Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & Tech
ย 
Introduction to Python.pptx
Introduction to Python.pptxIntroduction to Python.pptx
Introduction to Python.pptx
ย 
Programming in Civil Engineering_UNIT 1_NOTES
Programming in Civil Engineering_UNIT 1_NOTESProgramming in Civil Engineering_UNIT 1_NOTES
Programming in Civil Engineering_UNIT 1_NOTES
ย 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
ย 
Why to Choose Python for Data Science Master.pptx
Why to Choose Python for Data Science Master.pptxWhy to Choose Python for Data Science Master.pptx
Why to Choose Python for Data Science Master.pptx
ย 
Presentation (1).pdf
Presentation (1).pdfPresentation (1).pdf
Presentation (1).pdf
ย 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
ย 
programming assignment help australia
programming assignment help australiaprogramming assignment help australia
programming assignment help australia
ย 
Introduction_to_Python.pptx
Introduction_to_Python.pptxIntroduction_to_Python.pptx
Introduction_to_Python.pptx
ย 
What is python
What is pythonWhat is python
What is python
ย 
PYTHION IN DETAIL INFORMATION EDUCATIONAL
PYTHION IN DETAIL INFORMATION EDUCATIONALPYTHION IN DETAIL INFORMATION EDUCATIONAL
PYTHION IN DETAIL INFORMATION EDUCATIONAL
ย 
PYTHON IN DETAIL INFORMATION EDUCATIONAL
PYTHON IN DETAIL INFORMATION EDUCATIONALPYTHON IN DETAIL INFORMATION EDUCATIONAL
PYTHON IN DETAIL INFORMATION EDUCATIONAL
ย 
Introduction to Python Programming Basics
Introduction  to  Python  Programming BasicsIntroduction  to  Python  Programming Basics
Introduction to Python Programming Basics
ย 
Python Introduction.ppt
Python Introduction.pptPython Introduction.ppt
Python Introduction.ppt
ย 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
ย 

Recently uploaded

UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
ย 

Recently uploaded (20)

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
ย 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
ย 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
ย 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
ย 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
ย 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
ย 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
ย 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
ย 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ย 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
ย 
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
ย 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
ย 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
ย 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
ย 

Machine learning libraries with python

  • 2.
  • 3.
  • 4.
  • 5. About Python โ€ข It was created by Guido van Roussum. โ€ข Python is an interpreted high level , general purpose programming language. โ€ข Python was conceived in the late 1980s as a successor to the ABC language. It was first released in 1991.
  • 7.
  • 8. 1.EASY TO LEARN Beginner friendly language .You donโ€™t need to be a hardcore programmer. This independent language can also be called as one of the most flexible languages across different platforms and technologies. 2.VAST COMMUNITY The constant upgrade by the developer community support makes Python one of the most suitable languages for machine learning applications
  • 9. 3.DOCUMENTATION This language has extensive tutorials and documentation. Readability is a primary focus for Python developers, in both project and code documentation. 4.VERSATILITY Versatile language supports object-oriented programming, structured programming, and functional programming patterns, etc. and can be applied not only in projects like machine learning. 5.FRAMEWORK AND LIBRARIES The language has a great number of machine learning libraries and some of the prominent libraries are such as TensorFlow, Pytorch, Matplotlib, SciKit Learn, etc.
  • 10.
  • 11. โ€ข Machine learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed. Machine learning focuses on the development of computer programs that can access data and use it learn for themselves.
  • 12.
  • 13. 1.NumPy NumPy is a very popular python library for large multi-dimensional array and matrix processing, with the help of a large collection of high-level mathematical functions. It is particularly useful for linear algebra, Fourier transform, and random number capabilities. High-end libraries like TensorFlow uses NumPy internally for manipulation of Tensors.
  • 14. 2.SciPy SciPy is a very popular library among Machine Learning enthusiasts as it contains different modules for optimization, linear algebra, integration and statistics. SciPy is also very useful for image manipulation. It is built on top of two basic Python libraries, viz., NumPy and SciPy Original Image Tinted image Resized tinted image
  • 15. 3.Matplotlib โ€ข It is a 2D plotting library used for creating 2D graphs and plots. A module named pyplot makes it easy for programmers for plotting as it provides features to control line styles, font properties, formatting axes, etc. It provides various kinds of graphs and plots for data visualization, viz., histogram, error charts, bar chats, etc,.
  • 16. 4.Pandas Pandas is a popular Python library for data analysis. As we know that the dataset must be prepared before training. It provides high-level data structures and wide variety tools for data analysis. It provides many inbuilt methods for groping, combining and filtering data. for eg.
  • 17. 5.OpenCV: Operations that we can perform with openCV library a. Reading an image : By using imread() fuction. b. Extracting the RGB values of a pixel. c. Extracting the Region of Interest (ROI):By slicing the pixel of image. d. Rotating the image : By generating a rotation matrix. e. Resizing the image :By using resize function. f. Drawing a Rectangle : By using rectangle function. g.Displaying text
  • 18. Region of interest RGB Drawing a rectangle Rotating a image