Random % Sample - How can I randomize the seed number to be different each time?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have utilized a random sampling workflow to generate random samples of data I have input. However, I noticed that I am locked into only using a specified set seed number in my workflow -- Therefore, if I were to rerun it on the same data again I would receive the same sample as the first run of the workflow.
Does anyone know of a way to insert a formula to randomize the "random seed" field for the deterministic output, so that I don't always end up with the same seed used if I rerun my workflow?
- Labels:
- Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@AndrewLantz01
Maybe we can use Numeric up Down tool?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Random Sample Tool will be first choice. Do not forget to uncheck option "Deterministic Output" to unlock random seed.
If you cannot use it for some reason, try other method with reference to my WF that uses Rand() function of Formula tools. Rand() returns double value between 0 and 1, and return the different value everytime you run. The attached workflows utilize its nature to get random sampling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm a fan of creating a Random Field as rand() and then sitting on it. Now I can choose to sample a number or percentage of records.
cheers,
mark
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
