Skip to content

Instantly share code, notes, and snippets.

@subpath
Last active October 21, 2019 07:15
Show Gist options
  • Save subpath/71e382cbabab35dfc5f3cd83cae74938 to your computer and use it in GitHub Desktop.
Save subpath/71e382cbabab35dfc5f3cd83cae74938 to your computer and use it in GitHub Desktop.
Bayesian_example_2.ipynb
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oleg-gagarin
Copy link

Вероятность достать ванильную булочку из 1 корзины - Р1(А) = 0,75
Вероятность достать ванильную булочку из 2 корзины - Р2(А) = 0,5
Полная вероятность достать ванильную булочку из двух корзин - Р(А) = 0,75х0,5 + 0,5х0,5 = 0,625
Вероятность того, что булочка была извлечена из корзины 1, при условии что извлечена ванильная булочка:
Ра(1) = Р1(А)хР(1) / Р(А) = 0,75х0,5 / 0,625 = 0,6

@asltash
Copy link

asltash commented Oct 21, 2019

Мое решение совпадает с решением, опубликованным выше.

@subpath
Copy link
Author

subpath commented Oct 21, 2019

Да 👍
Написал решение сверху)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment