Object-Oriented Python | An Introduction - Purdue University
Object-Oriented Python ¡ª An Introduction
Lectures Notes on Deep Learning
Avi Kak and Charles Bouman
Purdue University
Tuesday 16th January, 2024
09:45
?2024 Avinash Kak, Purdue University
Purdue University
1
The Reason for This Material at the Outset
To TOC
A large majority of people who play with deep learning algorithms operate in the
zombie mode ¡ª meaning that they simply run canned programs downloaded
from the internet with the expectation that a combination of the downloaded
software and their own dataset would lead to results that would somehow pave
their way to fame and fortune. This, unfortunately, is no way for a student to
prepare himself or herself for the future. [What makes it worse is that a large majority of
internet based classes for teaching DL operate in the same mode. After presenting difficult
concepts rather superficially, they ask you to download code from GitHub, assuming that if you
would just execute that code, you might accept the illusion of having understood the material.]
The goal of our deep learning class is to help you become more genuine in how
you utilize your deep learning skills.
I¡¯ll therefore be starting my part of this class with a focus on object-oriented
(OO) Python since that¡¯s what many of today¡¯s software tools for deep learning
are based on.
Regarding this lecture, in what follows, I¡¯ll start with the main concepts of OO
programming in general and then devote the rest of the material to Python OO.
Purdue University
2
The Reason for This Material at the Outset (contd.)
The material that I present is drawn from Chapter 3 of my book Scripting with
Objects [The book title is a clickable link]. The book provides an in-depth understanding of how
object-oriented scripting works in Perl and Python.
Here is a link for the Table of Contents of the book that should give you the sense
that there¡¯s a lot more to Objet-Oriented Scripting than what is covered in this
lecture.
Purdue University
3
Outline
1
Some Examples of PyTorch Syntax
2
The Main OO Concepts
3
PythonOO: Pre-Defined and Programmer-Supplied Attributes 19
4
Function Objects vs. Callables
23
5
Defining a Class in Python
28
6
How Python Creates an Instance:
7
Defining Methods
46
8
Creating a Class Hierarchy: Method Definitions
59
9
Creating a Class Hierarchy: Superclass¨CSubclass Constructors 66
10
Multiple-Inheritance Class Hierarchies
73
11
Making a Class Instance Iterable
82
Purdue University
5
11
new()
vs.
init()
39
4
Some Examples of PyTorch Syntax
Outline
1
Some Examples of PyTorch Syntax
2
The Main OO Concepts
3
PythonOO: Pre-Defined and Programmer-Supplied Attributes 19
4
Function Objects vs. Callables
23
5
Defining a Class in Python
28
6
How Python Creates an Instance:
7
Defining Methods
46
8
Creating a Class Hierarchy: Method Definitions
59
9
Creating a Class Hierarchy: Superclass¨CSubclass Constructors 66
10
Multiple-Inheritance Class Hierarchies
73
11
Making a Class Instance Iterable
82
Purdue University
5
11
new()
vs.
init()
39
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- object internals in python europython 2021
- python object oriented programming 2 iit delhi
- sorting and classifying by attributes a co teaching lesson plan
- objectoriented programming in python iit delhi
- python classes and objects george mason university
- object oriented design with python computer science
- use python with r with reticulate cheat sheet github
- oop in python tutorials point
- pass by object reference in python university of tulsa
- object oriented programming in python defining classes
Related searches
- object oriented programming in matlab
- matlab object oriented programming pdf
- disadvantages of object oriented programming
- object oriented programming tutorial pdf
- object oriented programming book pdf
- object oriented programming c pdf
- object oriented programming 2 pdf
- object oriented programming pdf download
- object oriented programming c book
- object oriented programming java examples
- object oriented programming language pdf
- object oriented programming python pdf