Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Hands-On Simulation Modeling with Python
  • Table Of Contents Toc
Hands-On Simulation Modeling with Python

Hands-On Simulation Modeling with Python - Second Edition

By : Giuseppe Ciaburro
4.8 (12)
close
close
Hands-On Simulation Modeling with Python

Hands-On Simulation Modeling with Python

4.8 (12)
By: Giuseppe Ciaburro

Overview of this book

Simulation modelling is an exploration method that aims to imitate physical systems in a virtual environment and retrieve useful statistical inferences from it. The ability to analyze the model as it runs sets simulation modelling apart from other methods used in conventional analyses. This book is your comprehensive and hands-on guide to understanding various computational statistical simulations using Python. The book begins by helping you get familiarized with the fundamental concepts of simulation modelling, that’ll enable you to understand the various methods and techniques needed to explore complex topics. Data scientists working with simulation models will be able to put their knowledge to work with this practical guide. As you advance, you’ll dive deep into numerical simulation algorithms, including an overview of relevant applications, with the help of real-world use cases and practical examples. You'll also find out how to use Python to develop simulation models and how to use several Python packages. Finally, you’ll get to grips with various numerical simulation algorithms and concepts, such as Markov Decision Processes, Monte Carlo methods, and bootstrapping techniques. By the end of this book, you'll have learned how to construct and deploy simulation models of your own to overcome real-world challenges.
Table of Contents (19 chapters)
close
close
1
Part 1:Getting Started with Numerical Simulation
5
Part 2:Simulation Modeling Algorithms and Techniques
11
Part 3:Simulation Applications to Solve Real-World Problems

Random number generation using Python

So far, we have seen which methods can be used for generating random numbers. We have also proposed some solutions in Python code for the generation of random numbers through some universally used methods. These applications have been useful for understanding the basis on which random number generators have been made. In Python, there is a specific module for the generation of random numbers: this is the random module. Let’s examine what it is.

Introducing the random module

The random module implements PRNGs for various distributions and is based on the Mersenne Twister algorithm. The Mersenne Twister algorithm is a PRNG that produces almost uniform numbers suitable for a wide range of applications. The random module was originally developed to produce inputs for Monte Carlo simulations.

It is important to note that random numbers are generated using repeatable and predictable deterministic algorithms. They begin with a certain...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Hands-On Simulation Modeling with Python
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon