-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
36 lines (21 loc) · 1.84 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
== Overview
Opportune is intended to abstract optimal decision making, by suggesting actions that maximize expected utility (or alternatively, minimize expected regret). Think for example multi-armed bandit algorithms. See http://en.wikipedia.org/wiki/Multi-armed_bandit or http://en.wikipedia.org/wiki/Optimal_design.
== Installation
gem install opportune
== Terminology
Opportunity: The point where a decision is called for. Opportunities exist in a context. They allow one or more actions, which can each result in one or more outcomes.
Context: Anything known at the point a decision must be made. Under the hood, these facts are assumed to influence the frequency of outcomes given actions.
Actions: The options available at the time the opportunity is presented.
Outcomes: The outcome of the action performed.
Utility: This is the abstract value associated with actions and outcomes. Actions usually have negative utility, outcomes can have positive or negative utility.
Regret: The difference between the utility of the best possible outcome, and the actual outcome is regret.
== Contributing to opportune:
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
* Fork the project
* Start a feature/bugfix branch
* Commit and push until you are happy with your contribution
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
== Copyright
Copyright (c) 2012 Ben Doyle. See LICENSE.txt for further details.