Editing
Cooperative Game Theory
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Applying</span> == '''Modeling 'The Shapley Value' (Splitting a reward fairly):''' <syntaxhighlight lang="python"> def calculate_shapley_simplified(val_a, val_b, val_ab): """ How much should A and B get? A's value = Average of (A alone) and (Team - B's contribution) """ # A joins first: adds val_a # B joins first: A adds (val_ab - val_b) shapley_a = (val_a + (val_ab - val_b)) / 2 shapley_b = (val_b + (val_ab - val_a)) / 2 return {"A": shapley_a, "B": shapley_b} # Alice makes $10. Bob makes $10. Together they make $50. # Without Bob, Alice only adds $10. With Bob, she adds $40 ($50-$10). # Shapley: (10 + 40) / 2 = $25 each. print(calculate_shapley_simplified(10, 10, 50)) </syntaxhighlight> ; Cooperative Landmarks : '''The Shapley Value (1953)''' β The most famous formula in the field, now used to decide everything from "Who pays for a shared runway" to "How to rank the importance of different genes." : '''Gale-Shapley Algorithm''' β Used to match medical students to hospitals and kidneys to patients in a way that is "Stable" (no two people would prefer to be matched with each other instead). : '''The EU Voting Power''' β Using game theory to calculate how much "Say" each country has in the European Union based on their population. : '''Carbon Credit Allocations''' β Deciding how many "Pollution Rights" each company deserves based on their historical output and their efforts to clean up. </div> <div style="background-color: #8B4500; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information