Reply
Thread Tools
Posts: 193 | Thanked: 201 times | Joined on Dec 2009 @ Subotica, Serbia
#831
Originally Posted by neal View Post
??? My script generates a ranking.
I wanted to say the problem with frictional transfer, and not your script, was that it doesn't give ranking.
I'm trying to find a solution which would use the same algorithm only with ranking.
__________________
Demine
PeQersi
 
Posts: 96 | Thanked: 107 times | Joined on Aug 2011
#832
Originally Posted by mmlado View Post
diff? Sorry, no.
I did it only on Business & Office Category, by hand. So run election for 1 seat, copy the winner. Add winner to the withdrawn list, run the election again.
I think it should give same results as frictional transfer, only we would have ranking.
I still don't understand. My script generates a ranking. Why do you think it doesn't?
 
Posts: 96 | Thanked: 107 times | Joined on Aug 2011
#833
Originally Posted by mmlado View Post
I wanted to say the problem with frictional transfer, and not your script, was that it doesn't give ranking.
I'm trying to find a solution which would use the same algorithm only with ranking.
My script does that.
 
Posts: 193 | Thanked: 201 times | Joined on Dec 2009 @ Subotica, Serbia
#834
Originally Posted by neal View Post
My script does that.
Your script uses fractional transfer?
In that case I'm sorry. I've lost track. You have my support.
__________________
Demine
PeQersi
 
Posts: 96 | Thanked: 107 times | Joined on Aug 2011
#835
Originally Posted by mmlado View Post
Your script uses fractional transfer?
In that case I'm sorry. I've lost track. You have my support.
My script uses FTSTV (which is what was used in the last maemo community coucil election, as I understand it) and generates a ranking, yes.
 

The Following User Says Thank You to neal For This Useful Post:
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#836
I'm really sorry to ask... but if the "fractional transfer" from mmlado and neal does the same but in different ways... why are the results different?


Originally Posted by mmlado View Post
We already have a mechanism to remove candidates, by saying they have withdrawn. It's even easier to run my proposal.
Here are the results I got, in less then 5 minutes :
So, where is the difference if I remove a person after the first run or if I say the person has withdrawn?
There must be a small mistake in one of those algorithm... or have I overseen something?

Last edited by Helmuth; 2011-11-30 at 15:18. Reason: Added the first sentence - I'm sure I will feel soon sorry about asking such a silly question... ;-)
 

The Following User Says Thank You to Helmuth For This Useful Post:
erendorn's Avatar
Posts: 738 | Thanked: 983 times | Joined on Apr 2010 @ London
#837
Both scripts generate a ranking, both are based on the STV used in the council election, but they are not necessarily equivalent (ie I cannot prove nor disprove it)

By construction, mmlado's method (which is the one I proposed some pages ago, but he has a working implementation) will give a consistent ranking.

Not sure about neals one (ie, can it produce {A}, {A,D}, {A,B,C} out of the A,B, C and D participants?) as far as I know it didn't happen, but I don't know if it can.

Last edited by erendorn; 2011-11-30 at 15:34.
 

The Following User Says Thank You to erendorn For This Useful Post:
Posts: 96 | Thanked: 107 times | Joined on Aug 2011
#838
Originally Posted by Helmuth View Post
I'm really sorry to ask... but if the "fractional transfer" from mmlado and neal does the same but in different ways... why are the results different?






So, where is the difference if I remove a person after the first run or if I say the person has withdrawn?
There must be a small mistake in one of those algorithm... or have I overseen something?
Good point. It would be good if mmlado would indicate exactly how he came up with his results (preferably with a script so it is easy to reproduce and debug).

Thanks.
 

The Following User Says Thank You to neal For This Useful Post:
Posts: 193 | Thanked: 201 times | Joined on Dec 2009 @ Subotica, Serbia
#839
Originally Posted by Helmuth View Post
I'm really sorry to ask... but if the "fractional transfer" from mmlado and neal does the same but in different ways... why are the results different?

So, where is the difference if I remove a person after the first run or if I say the person has withdrawn?
There must be a small mistake in one of those algorithm... or have I overseen something?
Good question. Maybe it's that by withdrawing, usually apps win by reaching the threshold and not by elimination.

As I see it we both get the apps in list that would be returned by FTSTV if we run them for the appropriate number of seats, only the ranking is different. And that can be a big difference for the winners.
__________________
Demine
PeQersi
 

The Following User Says Thank You to mmlado For This Useful Post:
Posts: 456 | Thanked: 1,580 times | Joined on Dec 2009
#840
Originally Posted by Helmuth View Post
So, where is the difference if I remove a person after the first run or if I say the person has withdrawn?
As far as I understand, neal's approach does not remove candidates. Instead the process is as follows:
  1. Run election for one seat. This one will be the winner. (This step is common for neal's and mmlado's approach). In the example MeePasswords gets chosen and is selected as first.
  2. Next: run election for two seats. Now MeePasswords and LUCID iron get elected. MeePasswords was already chosen as first place so LUCID iron is chosen for second place.
  3. Next: run election for three seats. Now MeePasswords, LUCID iron, and ClipMan get elected. MeePasswords and LUCID iron had already been assigned to places 1 and 2 so ClipMan is chosen for place 3.
  4. etc.

mmlado's approach explicitly eliminates candidates for the next voting run by saying already chosen candidates have withdrawn. I don't know the mechanics/mathematics well enough but the different results are most probably caused by the remaining votes being distributed differently among the remaining candidates as compared to neal's approach.
__________________
 

The Following 4 Users Say Thank You to Wonko For This Useful Post:
Reply

Tags
coding, community, competition, contest, development, intel, meego, meetmeego, nokia


 
Forum Jump


All times are GMT. The time now is 20:52.