Description Usage Arguments Value
Code for sampling tool in Alteryx
1 2 3 | tool_process(method, chunkSize, seed, count, distribution, params, bounds,
process, possible, type, id, value, name, roulette, dataName, sampleSource,
replace, totalSize)
|
method |
sampling method used: "MC" for Monte Carlo or "LH" for Latin Hypercube |
chunkSize |
int > 0 - maximal number of records to be processed at time |
seed |
seed to intialize tool with |
count |
number of samples to draw |
distribution |
valid distribution name |
params |
parameter list for distribution |
bounds |
vector - first element is lower bound, second is upper. Closed intervals only |
process |
sampling method for data - "entire" to sample records, "each" to sample from columns independently, "best" to fit then sample |
possible |
vector of distribution options to be fit to data |
type |
whether data is "binned", comes from "roulette" widget, or is standard |
id |
name of id field for binned data |
value |
name of value field for binned data |
name |
name of output vector for roulette or binned data or parametric input |
roulette |
json string for roulette data |
dataName |
incomming data if process = "data" |
sampleSource |
sample source |
replace |
whether or not to sample with replacement |
totalSize |
total size |
function writes to Alteryx output 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.