tool_process: Code for sampling tool in Alteryx

Description Usage Arguments Value

Description

Code for sampling tool in Alteryx

Usage

1
2
3
tool_process(method, chunkSize, seed, count, distribution, params, bounds,
  process, possible, type, id, value, name, roulette, dataName, sampleSource,
  replace, totalSize)

Arguments

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

Value

function writes to Alteryx output 1


alteryx/AlteryxSim documentation built on May 10, 2019, 10:26 a.m.