Rank: 3873 based on 31 downloads (last 30 days) and 1 file submitted
photo

Rami AbouSleiman

E-mail
Company/University
Chrysler Group/Oakland University
Lat/Long
42.672977, -83.21578

Personal Profile:
Professional Interests:
Electrons and Sunshine

 

Watch this Author's files

 

Files Posted by Rami
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Jun 2014 roulette wheel selection roulette wheel selection, input is an array of probabilities, output is an index Author: Rami AbouSleiman roulette wheel select... 31 6
  • 5.0
5.0 | 1 rating
Comments and Ratings by Rami View all
Updated File Comments Rating
27 May 2014 roulette wheel selection roulette wheel selection, input is an array of probabilities, output is an index Author: Rami AbouSleiman

To Jonathan O'Keeffe:
Please make sure that the inputs are real numbers that are greater than ZERO otherwise the function WILL output an empty array. This happens because array indexing is used. To fix the problem just follow the note above.
There is no bug here, you can multiply the inputs by 100 if you want.

17 May 2014 roulette wheel selection roulette wheel selection, input is an array of probabilities, output is an index Author: Rami AbouSleiman

Great submission

09 Mar 2014 roulette wheel selection roulette wheel selection, input is an array of probabilities, output is an index Author: Rami AbouSleiman

Please make sure that the inputs are real numbers that are greater than ZERO. If there is a possibility that the input might be zero or even (0.9 as an example) just add +10 for example to all the inputs. That will not alter the results!

06 Jan 2011 Optimizing breakpoints for Tables MATLAB code to support the "Generating Optimal Tables using MATLAB" webinar. Author: Richard Willey

This submission would have been nicer if it run on older versions of Matlab which is by no means hard to implement. Also the probability toolbox is also needed along with the curve fitting and the optimization toolboxes.

Comments and Ratings on Rami's Files View all
Updated File Comment by Comments Rating
11 Jul 2014 roulette wheel selection roulette wheel selection, input is an array of probabilities, output is an index Author: Rami AbouSleiman Tyler

05 Jun 2014 roulette wheel selection roulette wheel selection, input is an array of probabilities, output is an index Author: Rami AbouSleiman Jos (10584)

I do not understand the description completely, but this seems similar to RANDP: http://www.mathworks.nl/matlabcentral/fileexchange/8891-randp

04 Jun 2014 roulette wheel selection roulette wheel selection, input is an array of probabilities, output is an index Author: Rami AbouSleiman O'Keeffe, Jonathan

Hi Rami, Let's not let the tone of this get too curt and keep it civil, eh? It's a well conceived function mate, but the fact is that Roulette wheel selection is supposed to allow you to sample over an array of indexes using an associated probability distribution. Now, probabilities may take values between 0 and 1. Your function therefore does not accept certain well defined probability distributions (i.e. ones where one or more index has an associated mass of 0). Does that make sense?

27 May 2014 roulette wheel selection roulette wheel selection, input is an array of probabilities, output is an index Author: Rami AbouSleiman AbouSleiman, Rami

To Jonathan O'Keeffe:
Please make sure that the inputs are real numbers that are greater than ZERO otherwise the function WILL output an empty array. This happens because array indexing is used. To fix the problem just follow the note above.
There is no bug here, you can multiply the inputs by 100 if you want.

24 May 2014 roulette wheel selection roulette wheel selection, input is an array of probabilities, output is an index Author: Rami AbouSleiman O'Keeffe, Jonathan

Hi, I think there is a bug in this. It occasionally produced an empty array instead of an index. I have put a working version here:
http://www.mathworks.co.uk/matlabcentral/fileexchange/46734-roulettewheelselection-m

Contact us