#16332: Game Theory: Build capacity to calculate Shapley value of cooperative
games.
-------------------------------------+-------------------------------------
       Reporter:  vinceknight        |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.3
      Component:  game theory        |   Resolution:
       Keywords:  Game Theory,       |    Merged in:
  Cooperative Games                  |    Reviewers:  Karl-Dieter Crisman,
        Authors:  James Campbell,    |  Travis Scrimshaw
  Vince Knight                       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  128a4f935b9ddd2e631b4bc12e056ff950c8b173
  public/game_theory/Shapley_value_coop_games-16332|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by vinceknight):

 Replying to [comment:37 kcrisman]:
 > > We have implemented a check such that if a user accidentally enters
 (1) it gets changed to (1,). Python automatically recognises that A, ==
 (A,) anyway as tuples are defined by the commas and not the brackets.
 > What I mean is that perhaps the ''desired'' input method should be
 without commas.  Vince's comment seems good - maybe one could include an
 example and then clarify where/when it would be suboptimal to use the
 `(1)` notation.  I'm not worried about `A,` versus `(A,)` because most
 non-Python-gurus are not going to be putting the commas in!

 We had a long think about this and have included some text in the
 documentation to justify what is happening now. In particular we think
 that `A` alone should not necessarily be allowed as we don't really want
 to map `A` to a value but the set containing `A`...

 Otherwise, pretty sure that we've addressed everything else you raised.

 > >Thanks for the comments Karl, busy (with Dana and TJ actually!) right
 now but will get those changes done this evening :)
 > No rush on my part - I heard from both of them about your adventure this
 week.  Slightly jealous, but I hope you all have a great time and that
 some fruit comes of it!

 Not meaning to make you more jealous but it really was a great week, it
 was awesome to meet Dana and TJ: they're great! Sadly, I forgot the one in
 joke you told me about Dana, I seem to remember you telling me to ask him
 about something... Perhaps the next time the 3 of us will be in the same
 spot and you could remind me (I realise trac probably isn't the right
 place for this chat - apologies) :)

--
Ticket URL: <http://trac.sagemath.org/ticket/16332#comment:39>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to