Hi all--Alteryx beginner here. I have a large file that I need to run multiple random samples using pre-determined seeds. I have a list of the seeds but can't figure out how to "feed" that listing into the seed input in the random sample tool--the only option I see is to type in a number. I basically want to provide the sample tool two inputs: 1) the file i want sampled, and 2) a listing of seeds to use when generating the sample. Is it possible to 1) feed a listing of seed into the random tool, and 2) have the tool loop and provide separate outputs for each seed provided? I'm very new to Alteryx, but it seems like I would need to edit the tool as a macro, but might need some guidance (couldn't find a clear link/answer on the boards to help me move in the right direction). Thanks in advance!!
Yes. You can use a batch macro to feed a random seed in to the Create Sample tool or the Random Sample tool. If you can explain your full workflow (i.e. are you feeding into a model etc) that can help.
here is a snap of the workflow--super basic
Snap of the seeds
snap of the config for the random sample tool--the random seed is what im trying to feed from the file
User | Count |
---|---|
60 | |
24 | |
24 | |
21 | |
21 |