You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we use Random.Next() with ratio(weight) to select random value.
But this is inconvenient and easy to make mistake.
Can we use different probability density function to get random value? This change can eliminate annoying ratio from CSV data I think.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, we use Random.Next() with ratio(weight) to select random value.
But this is inconvenient and easy to make mistake.
Can we use different probability density function to get random value? This change can eliminate annoying ratio from CSV data I think.
Beta Was this translation helpful? Give feedback.
All reactions