Python Forum
Regarding how to randomizing list with having equal probability
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regarding how to randomizing list with having equal probability
#5
Quote:Each of the images are eventually presented 50 times.

Unfortunately that is impossible given the constraints. 9 images per set * 150 sets does not equal 24 images * 50 times. The math does work out for 8 images per set.

Either the set size has to be 8 or the requirement is "Each of the images are eventually presented at least 50 times." If the set size is 9, the problem is tricky. You cannot randomly shuffle and process sequentially because the number of images is not evenly divisible by the set size.
Reply


Messages In This Thread
RE: Regarding how to randomizing list with having equal probability - by deanhystad - Nov-04-2022, 06:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Check if two matrix are equal and of not add the matrix to the list quest 3 898 Jul-10-2023, 02:41 AM
Last Post: deanhystad
  detect equal sequences in list flash77 17 3,060 Oct-28-2022, 06:38 AM
Last Post: flash77
  is there equal syntax to "dir /s /b" kucingkembar 2 1,045 Aug-16-2022, 08:26 AM
Last Post: kucingkembar
  How to draw the Probability Density Function (PDF) plot regardless of sampe size? amylopectin 3 3,664 Mar-02-2022, 09:34 PM
Last Post: Larz60+
  Can a variable equal 2 things? Extra 4 1,551 Jan-18-2022, 09:21 PM
Last Post: Extra
  finding probability of exceding certain threshold Staph 1 1,959 Dec-14-2019, 04:58 AM
Last Post: Larz60+
  Not equal a dictionary key value bazcurtis 2 1,975 Dec-11-2019, 11:15 PM
Last Post: bazcurtis
  Randomizing Color Output ammorgan 0 2,020 Dec-27-2018, 03:31 AM
Last Post: ammorgan
  Realized variance and daily probability distribution petergarylee 1 2,491 Jul-06-2018, 02:21 PM
Last Post: buran
  Misunderstanding with the “if” statement and “not equal” scriptoghost 6 4,497 Jun-23-2017, 09:43 AM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020