Dive Into Algorithms is a broad introduction to algorithms using the Python Programming Language. Dive Into Algorithms is a wide-ranging, Pythonic tour of many of the world's most interesting algorithms. With little more than a bit of computer programming experience and basic high-school math, you'll explore standard computer science algorithms for searching, sorting, and optimization; human-based algorithms that help us determine how to catch a baseball or eat the right amount at a buffet; and advanced algorithms like ones used in machine learning and artificial intelligence. You'll even explore how ancient Egyptians and Russian peasants used algorithms to multiply numbers, how the ancient Greeks used them to find greatest common divisors, and how Japanese scholars in the age of samurai designed algorithms capable of generating magic squares.
You'll explore algorithms that are useful in pure mathematics and learn how mathematical ideas can improve algorithms. You'll learn about an algorithm for generating continued fractions, one for quick calculations of square roots, and another for generating seemingly random sets of numbers.
You'll also learn how to:
Use algorithms to debug code, maximize revenue, schedule tasks, and create decision treesMeasure the efficiency and speed of algorithmsGenerate Voronoi diagrams for use in various geometric applicationsUse algorithms to build a simple chatbot, win at board games, or solve sudoku puzzlesWrite code for gradient ascent and descent algorithms that can find the maxima and minima of functionsUse simulated annealing to perform global optimizationBuild a decision tree to predict happiness based on a person's characteristicsOnce you've finished this book you'll understand how to code and implement important algorithms as well as how to measure and optimize their performance, all while learning the nitty-gritty details of today's most powerful algorithms.
Author: Bradford Tuckfield
Binding Type: Paperback
Publisher: No Starch Press
Published: 01/25/2021
Pages: 248
Weight: 0.97lbs
Size: 9.10h x 6.90w x 0.60d
ISBN: 9781718500686
About the AuthorBradford Tuckfield, PhD, is the founder of Kmbara, which solves problems using machine learning, AI, chatbots, and other data-based innovations. The author of Applied Unsupervised Learning with R, his work has also been featured in top scholarly journals, and his essays on culture and public policy can be seen in Quillette, National Affairs, and other prestigious outlets.