Introduction to Computation and Programming Using Python, third edition

With Application to Computational Modeling and Understanding Data

Look inside
The new edition of an introduction to the art of computational problem solving using Python.

This book introduces students with little or no prior programming experience to the art of computational problem solving using Python and various Python libraries, including numpy, matplotlib, random, pandas, and sklearn. It provides students with skills that will enable them to make productive use of computational techniques, including some of the tools and techniques of data science for using computation to model and interpret data as well as substantial material on machine learning.
 
All of the code in the book and an errata sheet are available on the book’s web page on the MIT Press website.
1 GETTING STARTED
2 INTRODUCTION TO PYTHON
3 SOME SIMPLE NUMERICAL PROGRAMS
4 FUNCTIONS, SCOPING, AND ABSTRACTION
5 STRUCTURED TYPES and MUTABILITY
6 Recursion and Global variables
7 Modules and Files
8 TESTING AND DEBUGGING
9 EXCEPTIONS AND ASSERTIONS .
10 CLASSES AND OBJECT-ORIENTED PROGRAMMING
11 A SIMPLISTIC INTRODUCTION TO ALGORITHMIC COMPLEXITY
12 SOME SIMPLE ALGORITHMS AND DATA STRUCTURES .
13 PLOTTING AND MORE ABOUT CLASSES
14 KNAPSACK AND GRAPH OPTIMIZATION PROBLEMS
15 DYNAMIC PROGRAMMING
16 RANDOM WALKS AND MORE ABOUT DATA VISUALIZATION
17 STOCHASTIC PROGRAMS, PROBABILITY, AND DISTRIBUTIONS
18 MONTE CARLO SIMULATION
19 SAMPLING AND CONFIDENCE .
20 UNDERSTANDING EXPERIMENTAL DATA
21 RANDOMIZED TRIALS AND HYPOTHESIS CHECKING .
22 LIES, DAMNED LIES, AND STATISTICS
23 EXPLORING DATA WITH PANDAS
24 A QUICK LOOK AT MACHINE LEARNING
25 CLUSTERING
26 CLASSIFICATION METHODS
PYTHON 3.8 QUICK REFERENCE
INDEX
John V. Guttag is Dugald C. Jackson Professor of Computer Science and Electrical Engineering at MIT.

About

The new edition of an introduction to the art of computational problem solving using Python.

This book introduces students with little or no prior programming experience to the art of computational problem solving using Python and various Python libraries, including numpy, matplotlib, random, pandas, and sklearn. It provides students with skills that will enable them to make productive use of computational techniques, including some of the tools and techniques of data science for using computation to model and interpret data as well as substantial material on machine learning.
 
All of the code in the book and an errata sheet are available on the book’s web page on the MIT Press website.

Table of Contents

1 GETTING STARTED
2 INTRODUCTION TO PYTHON
3 SOME SIMPLE NUMERICAL PROGRAMS
4 FUNCTIONS, SCOPING, AND ABSTRACTION
5 STRUCTURED TYPES and MUTABILITY
6 Recursion and Global variables
7 Modules and Files
8 TESTING AND DEBUGGING
9 EXCEPTIONS AND ASSERTIONS .
10 CLASSES AND OBJECT-ORIENTED PROGRAMMING
11 A SIMPLISTIC INTRODUCTION TO ALGORITHMIC COMPLEXITY
12 SOME SIMPLE ALGORITHMS AND DATA STRUCTURES .
13 PLOTTING AND MORE ABOUT CLASSES
14 KNAPSACK AND GRAPH OPTIMIZATION PROBLEMS
15 DYNAMIC PROGRAMMING
16 RANDOM WALKS AND MORE ABOUT DATA VISUALIZATION
17 STOCHASTIC PROGRAMS, PROBABILITY, AND DISTRIBUTIONS
18 MONTE CARLO SIMULATION
19 SAMPLING AND CONFIDENCE .
20 UNDERSTANDING EXPERIMENTAL DATA
21 RANDOMIZED TRIALS AND HYPOTHESIS CHECKING .
22 LIES, DAMNED LIES, AND STATISTICS
23 EXPLORING DATA WITH PANDAS
24 A QUICK LOOK AT MACHINE LEARNING
25 CLUSTERING
26 CLASSIFICATION METHODS
PYTHON 3.8 QUICK REFERENCE
INDEX

Author

John V. Guttag is Dugald C. Jackson Professor of Computer Science and Electrical Engineering at MIT.

Books for National Depression Education and Awareness Month

For National Depression Education and Awareness Month in October, we are sharing a collection of titles that educates and informs on depression, including personal stories from those who have experienced depression and topics that range from causes and symptoms of depression to how to develop coping mechanisms to battle depression.

Read more

Horror Titles for the Halloween Season

In celebration of the Halloween season, we are sharing horror books that are aligned with the themes of the holiday: the sometimes unknown and scary creatures and witches. From classic ghost stories and popular novels that are celebrated today, in literature courses and beyond, to contemporary stories about the monsters that hide in the dark, our list

Read more

Books for LGBTQIA+ History Month

For LGBTQIA+ History Month in October, we’re celebrating the shared history of individuals within the community and the importance of the activists who have fought for their rights and the rights of others. We acknowledge the varying and diverse experiences within the LGBTQIA+ community that have shaped history and have led the way for those

Read more