Book description
The Art of Randomness is a hands-on guide to mastering the many ways you can use randomized algorithms to solve real programming and scientific problems. You’ll learn how to use randomness to run simulations, hide information, design experiments, and even create art and music. All you need is some Python, basic high school math, and a roll of the dice.
Author Ronald T. Kneusel focuses on helping you build your intuition so that you’ll know when and how to use random processes to get things done. You’ll develop a randomness engine (a Python class that supplies random values from your chosen source), then explore how to leverage randomness to:
- Simulate Darwinian evolution and optimize with swarm-based search algorithms
- Design scientific experiments to produce more meaningful results by making them truly random
- Implement machine learning algorithms like neural networks and random forests
- Use Markov Chain Monte Carlo methods to sample from complex distributions
- Hide information in audio files and images, generate art, and create music
- Reconstruct original signals and images from only randomly sampled data
Scientific anecdotes and code examples throughout illustrate how randomness plays into areas like optimization, machine learning, and audio signals. End-of-chapter exercises encourage further exploration.
Whether you’re a programmer, scientist, engineer, mathematician, or artist, you’ll find The Art of Randomness to be your ticket to discovering the hidden power of applied randomness and the ways it can transform your approach to solving problems, from the technical to the artistic.
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Dedication Page
- About the Author
- About the Technical Reviewer
- BRIEF CONTENTS
- CONTENTS IN DETAIL
- FOREWORD
- ACKNOWLEDGMENTS
- INTRODUCTION
- 1 THE NATURE OF RANDOMNESS
- 2 HIDING INFORMATION
- 3 SIMULATE THE REAL WORLD
- 4 OPTIMIZE THE WORLD
- 5 SWARM OPTIMIZATION
- 6 MACHINE LEARNING
- 7 ART
- 8 MUSIC
- 9 AUDIO SIGNALS
- 10 EXPERIMENTAL DESIGN
- 11 COMPUTER SCIENCE ALGORITHMS
- 12 SAMPLING
- RESOURCES
- INDEX
Product information
- Title: The Art of Randomness
- Author(s):
- Release date: December 2023
- Publisher(s): No Starch Press
- ISBN: 9781718503243
You might also like
audiobook
Difficult Conversations
You have to talk with a colleague about a fraught situation, but you're worried that they'll …
book
The Shape of Data
Whether you’re a mathematician, seasoned data scientist, or marketing professional, you’ll find The Shape of Data …
book
Bayesian Optimization in Action
Bayesian optimization helps pinpoint the best configuration for your machine learning models with speed and accuracy. …
book
Geometry for Programmers
Master the math behind CAD, game engines, GIS, and more! This hands-on book teaches you the …