Closed romovpa closed 6 years ago
Thank you for the patch. But I don't think that the win probability can be a part of the TrueSkill library.
Here're the reasons:
But that's true, #1 is the most common issue on this project. So I suggest you write some note in the documentation instead of providing a code.
I would like to remark on some of those points:
3 that's not necessarily true, it took me a long time to find this, especially since I'm not familiar with stats at all, which means I'm not even sure what I'm looking for.
1 I would suggest that this is moved to an extras
module. I agree it should be out of the main module, but excluding it is a bit too strict. This is also not the official TrueSkill repo. And making extra features available is what I like of python being batteries included.
2 Yes, I'm specifically looking for FFA. Currently I'm looping through every player and making two teams with the one player filling up the first team and the rest in the second team. I don't even know if that works :p
Algorithms in this library are all proved by the TrueSkill™ paper. But in case of a win probability function, there's no reliable reference.
I designed this library's responsibility to be limited in only TrueSkill™. If this library provides more than that by extras
module, the responsibility will be expanded unexpectedly. So I reject providing batteries for TrueSkill™.
I agree with you it's not enough easy to find that the win probability function. At this point, I think a documentation about that can be enough to help people although it's not a battery.
Don't be discouraged. Your suggestion was reasonable. Keep your passion for the Open Source culture. 👍
I've implemented win probability function for the special case when one team plays versus another and exactly one team wins. This case occurs frequently in my practice, I want to use those function out of the box.
The formula is proposed to me by @AVSirotkin (co-author of trueskill modifications), but it also mentioned in #1 here. Unfortunately, I cant give detailed explanation of the math behind this formula.
Usage