Advanced Programming
With Python
Course objective
After taking this course attendees should be able to:
Use python interactively
Able to execute python scripts
Can approach any programming problems using python
Prerequisites
The audience should have a basic understanding of any programming languages
like C or Java or knowledge of any scripting language.
Course duration: 6 weeks
Contents
Basic syntax
Environment setup
The python programming language
What is a program?
What is debugging?
Variables, expressions and statements
Values and types
Variables
Variable names and keywords
Operators and operands
Expressions and statements
Interactive mode and script mode
Order of operations
String operations
Comments
Debugging
Functions
Function calls
Type conversion functions
Math functions
Composition
Adding new functions
Definitions and uses
Flow of execution
Parameters and arguments
Variables and parameters are local
Stack diagrams
Fruitful functions and void functions
Why functions?
Importing with from
Debugging
Conditionals and recursion
Modulus operator
Boolean expressions
Logical operators
Conditional execution
Alternative execution
Chained conditionals
Nested conditionals
Recursion
Stack diagrams for recursive functions
Infinite recursion
Keyboard input
Debugging
Fruitful functions
Return values
Incremental development
Composition
Boolean functions
More recursion
Leap of faith
One more example
Checking types
Debugging
Iteration
Multiple assignments
Updating variables
The while statement
Break
Square roots
Algorithms
Debugging
Strings
A string is a sequence
Len
Traversal with a for loop
String slices
Strings are immutable
Searching
Looping and counting
String methods
The in operator
String comparison
Debugging
Lists
A list is a sequence
Lists are mutable
Traversing a list
List operations
List slices
List methods
Map, filter and reduce
Deleting elements
Lists and strings
Objects and values
Aliasing
List arguments
Debugging
Dictionaries
Dictionary as a set of counters
Looping and dictionaries
Reverse lookup
Dictionaries and lists
Memos
Global variables
Long integers
Debugging
Tuples
Tuples are immutable
Tuple assignment
Tuples as return values
Variable-length argument tuples
Lists and tuples
Dictionaries and tuples
Comparing tuples
Sequences of sequences
Debugging
Exception Handling
Lambda Function
Useful Python Libraries
Files
Persistence
Reading and writing
Format operator
Filenames and paths
Catching exceptions
Databases
Pickling
Pipes
Writing modules
Debugging
Classes and objects
User-defined types
Attributes
Rectangles
Instances as return values
Objects are mutable
Copying
Debugging
Classes and methods
Object-oriented features
Printing objects
Another example
A more complicated example
The init method
The __str__ method
Operator overloading
Type-based dispatch
Polymorphism
Debugging
Inheritance
Inheritance
Class diagrams
Debugging
Data encapsulation
Python MySQL
Create Database
Create Table
Insert
Select
Where
Order By
Delete
Drop Table
Update
Python Modules
Numpy
Pandas
Matplotlib
Project Work
GUI-based application development using tkinter
Syllabus
for
DATA SCIENCE WITH
PYTHON
Course Objectives
After taking the course, students will be able to:
perform data analysis and visualization
use tools and techniques for data transformation
understand the working mechanism of machine learning algorithm
apply machine learning algorithm to solve real-world problems
Prerequisites
The audience should have a basic understanding of the python programming
language and statistics.
Contents
Web Scraping for Data Collection
BeautifulSoup
Python Requests
parsing - JSON,XML
Numpy Python
NumPy Tutorial Basics
NumPy Attributes and Functions
Creating Arrays from Existing Data
Creating Array from Ranges
Indexing and Slicing in NumPy
Advanced Slicing in NumPy
Numpy Broadcasting
Array Manipulation Functions
NumPy Unique()
NumPy Delete()
NumPy Insert Function
Numpy RAVEL() SWAPAXES()
NumPy Trigonometric Functions
NumPy Round Functions
NumPy Arithmetic Functions
NumPy Power and Reciprocal Functions
NumPy Power and Mod Functions
Data Preprocessing with Pandas
Dataframe
Series
Data Visualization with Matplotlib
Barchart
Scatter Plot
HeatMap
Histogram
Line Chart
Time Series Graph
Exploratory Data Analysis
Descriptive Statistics
Distribution function
Measure of Central Tendency
Measure of Dispersion
Fundamentals of Deep Learning
Artificial intelligence, machine learning, and deep learning
Why deep learning?
The mathematical building blocks of neural networks
Neural Network
Data representations for neural networks
The gears of neural networks: tensor operations
The engine of neural networks: gradient-based optimization
Introduction to Keras and Tensorflow
Setting up a deep-learning workstation
Fundamentals of machine learning
Four branches of machine learning
Evaluating machine-learning models
Data preprocessing, feature engineering, and feature learning
Overfitting and underfitting
Binary Classification - Example
Multi-Class Classification - Example
Regression - Example
Deep learning for computer vision
Introduction to convnets
Training a convnet from scratch on a small dataset
Visualizing what convnets learn
Deep learning for text and sequences
Working with text data
Understanding recurrent neural networks
Advanced use of recurrent neural networks
Sequence processing with convnets
Inspecting and monitoring deep-learning models using
Keras callbacks and TensorBoard
Generative deep learning
Text generation with LSTM
Generating images with variational autoencoders
The limitations of deep learning
The future of deep learning
PROJECT WORK
solving real-world problems using deep learning
RESEARCH PAPER PUBLICATION