Skip to Content
Practical Data Analysis Cookbook
book

Practical Data Analysis Cookbook

by Tomasz Drabas
April 2016
Beginner to intermediate content levelBeginner to intermediate
384 pages
8h 36m
English
Packt Publishing
Content preview from Practical Data Analysis Cookbook

Chapter 11. Simulations

In this chapter, you will learn the following recipes:

  • Using SimPy to simulate the refueling process of a gas station
  • Simulating out-of-energy occurrences for an electric car
  • Determining if a population of sheep is in danger of extinction due to a wolf pack

Introduction

Obtaining data is always cumbersome: collected data is almost always dirty and requires lots of work to extract the features that you are after. Also, collected data is almost always myopic in its scope: you observe only a portion of all the interactions that happen in any given environment.

However, you can simulate certain situations. Simulations come in handy when, among other things, it is impossible to observe every single part of the environment, if you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Data Analysis Cookbook

Python Data Analysis Cookbook

Ivan Idris
Practical Simulations for Machine Learning

Practical Simulations for Machine Learning

Paris Buttfield-Addison, Mars Buttfield-Addison, Tim Nugent, Jon Manning

Publisher Resources

ISBN: 9781783551668Supplemental Content