RUVIDEO
Поделитесь видео 🙏

Python Tutorial: Using simulation for decision-making

Want to learn more? Take the full course at https://campus.datacamp.com/courses/statistical-simulation-in-python at your own pace. More than a video, you'll learn hands-on coding & quickly apply skills to your daily work.

---
Now let's see how we can use simulation for decision-making.

Here is a more generalized version of the simple simulation workflow you used in the previous exercise. Steps 1 and 2 involve defining the outcomes for random variables and assigning probabilities. We could also have constants entering the model in this step. Step 3 involves defining the relationship between model parameters. In step 4, we repeatedly sample from the distributions of A & B to generate outcomes. Finally in step 5, we analyze outcomes.

Simulations let us ask nuanced questions of the model, questions which might not necessarily have easy analytical solutions. This is because we can easily modify model inputs and see how the final outcomes are affected. For example, we might want to ask how the outcome will change if the probability distribution of B changes. In this case, we would just simulate a new set of outcomes after changing B. Let's see what happens if we do that.

We might find that as a result of the change in B, the distribution of outcomes has changed significantly. This might help us decide, for instance, that we should not have a particular stock in our portfolio. It helps us see how sensitive out model is to changes in B.

Another case where we use simulations is when we might want to see what values of a particular input get us the desired output. For instance, we might want to find the lowest value of the constant C for which the mean of the outcome distribution is 5.

In this case, all we need to do is just iteratively keep changing the value of the constant C and record the outcomes. We will do this many times and keep recording the outcomes.

Finally, we can choose the value of C where the mean of the outcome distribution is 5. Using simulation for making decisions is as easy as that! Such a simulation could, for example, help us decide the right price at which it is still profitable to invest in a loan.

Now let's take all these ideas and work through some exercises where you will evaluate a lottery ticket.

#PythonTutorial #Statistical #Simulation #Python #DataCamp #decisionmaking

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Python Tutorial: Using simulation for decision-making», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.