0% found this document useful (0 votes)
7 views19 pages

Python Basics for Machine Learning

Uploaded by

omarobeidd03
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views19 pages

Python Basics for Machine Learning

Uploaded by

omarobeidd03
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

A Hands-on Introduction

to Machine Learning
Python
What is Python?

A scripting language Easy to learn, easy to use,


available on every platform quite extensible and robust
Where is Python?

 Many UNIX systems have it pre-installed


 Free to download and install for all platforms
 Command-line:
 $ python
 IDE (integrated development environment)
 Eclipse
 Jupyter notebook
 Anaconda
 Spyder
Basics of Python

 One-line examples
 Arithmetic operators
 Logical operators
 Data types
 Control structures
 Condition checking with ‘if’ and ‘else’
 While loop
 For loop
Statistics with Python

 Storing a set of numbers


 Numpy library
 Doing descriptive analysis
 Visualization with bar graph
Working with data

 Loading external data and using pandas library


 Plotting the data
 Correlation
Example
Example
Example
Example
Example
Example
Example
Example
Example
Example
Practice
Useful formulas from differential
calculus
Useful formulas from differential
calculus
 Did you spot the mistake?

You might also like