Explore important mathematical concepts through hands-on coding.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
To score a job in data science, machine learning, computer graphics, and cryptography, you need to bring strong math skills to the party. Math for Programmers teaches the math you need for these hot careers, concentrating on what you need to know as a developer. Filled with lots of helpful graphics and more than 200 exercises and mini-projects, this book unlocks the door to interesting–and lucrative!–careers in some of today’s hottest programming fields.
About the technology
Skip the mathematical jargon: This one-of-a-kind book uses Python to teach the math you need to build games, simulations, 3D graphics, and machine learning algorithms. Discover how algebra and calculus come alive when you see them in code!
About the book
In Math for Programmers you’ll explore important mathematical concepts through hands-on coding. Filled with graphics and more than 300 exercises and mini-projects, this book unlocks the door to interesting–and lucrative!–careers in some of today’s hottest fields. As you tackle the basics of linear algebra, calculus, and machine learning, you’ll master the key Python libraries used to turn them into real-world software applications.
What's inside
Vector geometry for computer graphics
Matrices and linear transformations
Core concepts from calculus
Simulation and optimization
Image and audio processing
Machine learning algorithms for regression and classification
About the reader
For programmers with basic skills in algebra.
About the author
Paul Orland is a programmer, software entrepreneur, and math enthusiast. He is co-founder of Tachyus, a start-up building predictive analytics software for the energy industry. You can find him online at www.paulor.land.
Table of Contents
1 Learning math with code
PART I - VECTORS AND GRAPHICS
2 Drawing with 2D vectors
3 Ascending to the 3D world
4 Transforming vectors and graphics
5 Computing transformations with matrices
6 Generalizing to higher dimensions
7 Solving systems of linear equations
PART 2 - CALCULUS AND PHYSICAL SIMULATION
8 Understanding rates of change
9 Simulating moving objects
10 Working with symbolic expressions
11 Simulating force fields
12 Optimizing a physical system
13 Analyzing sound waves with a Fourier series
PART 3 - MACHINE LEARNING APPLICATIONS
14 Fitting functions to data
15 Classifying data with logistic regression
16 Training neural networks
Inhaltsverzeichnis
table of contentsREAD IN LIVEBOOK1LEARNING MATH WITH CODEPART 1: VECTORS AND GRAPHICSREAD IN LIVEBOOK2DRAWING WITH 2D VECTORSREAD IN LIVEBOOK3ASCENDING TO THE 3D WORLDREAD IN LIVEBOOK4TRANSFORMING VECTORS AND GRAPHICSREAD IN LIVEBOOK5COMPUTING TRANSFORMATIONS WITH MATRICESREAD IN LIVEBOOK6GENERALIZING TO HIGHER DIMENSIONSREAD IN LIVEBOOK7SOLVING SYSTEMS OF LINEAR EQUATIONSPART 2: CALCULUS AND PHYSICAL SIMULATIONREAD IN LIVEBOOK8UNDERSTANDING RATES OF CHANGEREAD IN LIVEBOOK9SIMULATING MOVING OBJECTSREAD IN LIVEBOOK10WORKING WITH SYMBOLIC EXPRESSIONSREAD IN LIVEBOOK11SIMULATING FORCE FIELDSREAD IN LIVEBOOK12OPTIMIZING A PHYSICAL SYSTEMREAD IN LIVEBOOK13ANALYZING SOUND WAVES WITH A FOURIER SERIESPART 3: MACHINE LEARNING APPLICATIONSREAD IN LIVEBOOK14FITTING FUNCTIONS TO DATAREAD IN LIVEBOOK15CLASSIFYING DATA WITH LOGISTIC REGRESSIONREAD IN LIVEBOOK16TRAINING NEURAL NETWORKSAPPENDIXESREAD IN LIVEBOOKAPPENDIX A: GETTING SET UP WITH PYTHONREAD IN LIVEBOOKAPPENDIX B: PYTHON TIPS AND TRICKSREAD IN LIVEBOOKAPPENDIX C: LOADING AND RENDERING 3D MODELS WITH OPENGL AND PYGAME