When properly applied, randomness can be a powerful tool in programming, science, and art. This highly practical but geekily fun introduction to randomness shows you how to put chaos to work, illustrating its ability to power everything from the simulation of Darwinian evolution, to product placement in a grocery store, to hiding information in plain sight, and even how to generate art and music. By encouraging you to engage in 'what if' speculation, you'll build intuition about when and how to use randomness to get things done. Each chapter describes how randomness plays into the given topic area, then proceeds to demonstrate its problem-solving role with hands-on experiments to work through using Python code. By the end of the book, you'll see why randomness belongs in every programmer's toolbox. Explore the mathematical background of randomness, use randomness for encrypting messages, creating models, and implementing swarm-intelligence or machine-learning algorithms, discover how
TABLE OF CONTENTS...
Introduction
Chapter 1: The Nature of Randomness
Chapter 2: Hiding Information
Chapter 3: Simulate the Real World
Chapter 4: Optimize the World
Chapter 5: Swarm Optimization
Chapter 6: Machine Learning
Chapter 7: Art
Chapter 8: Music
Chapter 9: Audio Signals
Chapter 10: Experimental Design
Chapter 11: Computer Science Algorithms
Chapter 12: Sampling
Resources
Index
Height:
Width:
Spine:
Weight:0.00