{"id":19834260,"url":"https://github.com/ireneflorez/bayes-practice","last_synced_at":"2025-09-23T11:05:36.888Z","repository":{"id":69252333,"uuid":"149047179","full_name":"IreneFlorez/Bayes-practice","owner":"IreneFlorez","description":" Bayes Theorem practice using the Candy Conundrum set of questions.","archived":false,"fork":false,"pushed_at":"2018-09-17T00:15:35.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T21:47:20.960Z","etag":null,"topics":["bayes","jupyter-notebook"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IreneFlorez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-17T00:12:12.000Z","updated_at":"2018-09-17T00:15:51.000Z","dependencies_parsed_at":"2023-04-25T22:32:03.443Z","dependency_job_id":null,"html_url":"https://github.com/IreneFlorez/Bayes-practice","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"4767e39658b5122d33a5c5b582583f18d768d04a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IreneFlorez/Bayes-practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IreneFlorez%2FBayes-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IreneFlorez%2FBayes-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IreneFlorez%2FBayes-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IreneFlorez%2FBayes-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IreneFlorez","download_url":"https://codeload.github.com/IreneFlorez/Bayes-practice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IreneFlorez%2FBayes-practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276562598,"owners_count":25664430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayes","jupyter-notebook"],"created_at":"2024-11-12T12:03:44.456Z","updated_at":"2025-09-23T11:05:36.818Z","avatar_url":"https://github.com/IreneFlorez.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bayes-practice\n\nBayes Theorem practice using the Candy Conundrum set of questions. \n\nSee the Jupyter Notebook for formulas used and answers. \n\nCandy Conundrum I have two bowls of candy. One is supposed to be filled with candy-covered chocolates, the other filled with fruit-flavored candies with candy shells. Unfortunately, someone has nefariously mixed up the contents of the two bowls, mixing a portion of one bowl into the second, and vice versa. Even worse, the candies are visually indistinguishable, and can only be sorted out by taste.\n\nI know that one of the bowls (A) has candies in the following proportions: A ~ {2/3 chocolate, 1/3 fruity}, B ~ {1/4 chocolate, 3/4 fruity}. Assume for the questions below that both bowls are large enough that small samples will not have a practical effect on the distribution of candies.\n\n\n1) I select a bowl at random and choose a random candy. It's a chocolate candy! What is the probability that I've picked up bowl A (the one weighted towards chocolates)?\n\n2) Continuing with the same bowl as before, I select two more candies. They are both fruity candies. What is the probability that I've picked up bowl A (the one weighted towards chocolates) now? (To clarify, there are three candies drawn in all: one chocolate and two fruity.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fireneflorez%2Fbayes-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fireneflorez%2Fbayes-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fireneflorez%2Fbayes-practice/lists"}