Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Simulation Modeling with Python

You're reading from   Hands-On Simulation Modeling with Python Develop simulation models for improved efficiency and precision in the decision-making process

Arrow left icon
Product type Paperback
Published in Nov 2022
Publisher Packt
ISBN-13 9781804616888
Length 460 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Giuseppe Ciaburro Giuseppe Ciaburro
Author Profile Icon Giuseppe Ciaburro
Giuseppe Ciaburro
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1:Getting Started with Numerical Simulation
2. Chapter 1: Introducing Simulation Models FREE CHAPTER 3. Chapter 2: Understanding Randomness and Random Numbers 4. Chapter 3: Probability and Data Generation Processes 5. Part 2:Simulation Modeling Algorithms and Techniques
6. Chapter 4: Exploring Monte Carlo Simulations 7. Chapter 5: Simulation-Based Markov Decision Processes 8. Chapter 6: Resampling Methods 9. Chapter 7: Using Simulation to Improve and Optimize Systems 10. Chapter 8: Introducing Evolutionary Systems 11. Part 3:Simulation Applications to Solve Real-World Problems
12. Chapter 9: Using Simulation Models for Financial Engineering 13. Chapter 10: Simulating Physical Phenomena Using Neural Networks 14. Chapter 11: Modeling and Simulation for Project Management 15. Chapter 12: Simulating Models for Fault Diagnosis in Dynamic Systems 16. Chapter 13: What’s Next? 17. Index 18. Other Books You May Enjoy

Explaining the cross-entropy method

In Chapter 2, Understanding Randomness and Random Numbers, we introduced the entropy concepts in computing. Let’s recall these concepts.

First, there’s Shannon entropy. For a probability distribution, P={ p1, p2, ..., pN}, where pi is the probability of the N extractions, xi, of a random variable, X, Shannon defined the following measure, H, in probabilistic terms:

This equation has the same form as the expression of thermodynamic entropy and for this reason, it was defined as entropy upon its discovery. The equation establishes that H is a measure of the uncertainty of an experimental result or a measure of the information obtained from an experiment that reduces the uncertainty. It also specifies the expected value of the amount of information transmitted from a source with a probability distribution. Shannon’s entropy could be seen as the indecision of an observer trying to guess the result of...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image