sampleDistribution Web service operation
Created: 2011-08-03 22:39:02
Last updated: 2011-08-04 11:40:14
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Inputs (3)
Name |
Description |
number |
Desired number of samples. Note: for the "full" method the resulting number of samples will be equal to number of samples to the power equal to dimension of each sample. |
distributionNameParamsList |
List of lists which specify probabilistic distributions to sample from. Size of this list defines dimension of samples.
Each distribution is specified by name and parameter values. Name is a string with a prefix from Mathematica's *Distribution symbols. See the Mathematica's documentation for comprehensive list o available distributions and their parameters: http://reference.wolfram.com/legacy/v7/guide/StatisticalDistributions.html . Parameters are specified using number, string, Mathematica symbol or heterogeneous list of any of those types . These are represented as:
d.n
"text"
Symbol
{ el1, el2, ... }
repectively, i.e. text containing '.' character is treated as a decimal number (e.g. '1.0', '0.15', etc.), quoted text is interpreted as a string, plain text w/o '.' character is interpreted as a Mathematica symbol and curly brackets delimit list, which elements are comma-separated. ATTENTION: comas and quotes inside of the string must be escaped with backslash (i.e. "\," or "\""); you can also escape curly brackets for consistency but it's not mandatory.
Example - two dimensional samples defined by two lists of three and two elements respectively:
"normal", 0.0, 1.0
"uniform", {0.0, 1.0} |
method |
Method is one of:
* "random" (default) - standard, random distribution sampling,
* "lhs" - Latin Hypercube sampling (see http://en.wikipedia.org/wiki/Latin_hypercube_sampling),
* "full" - "lhs" over each of the sampled dimensions with theirs full product, i.e. each grid part of the sample space is represented by one sample; note: returned number of samples is a given number of samples to the power equal to dimension of a sample. |
Processors (7)
Name |
Type |
Description |
sampleDistributionParamsXML |
local |
|
sampleXML |
local |
|
sampleDistributionResultXML |
local |
|
sampleDistribution |
arbitrarywsdl |
|
setDistributionXml |
beanshell |
|
headTail |
beanshell |
|
echo2DList |
beanshell |
|
Beanshells (3)
Name |
Description |
Inputs |
Outputs |
setDistributionXml |
|
name
parameterList
|
distributionXml
|
headTail |
|
list
|
head
tail
|
echo2DList |
|
in
|
out
|
Outputs (1)
Name |
Description |
sampleList |
|
Links (11)
Source |
Sink |
distributionNameParamsList |
echo2DList:in |
method |
sampleDistributionParamsXML:method |
number |
sampleDistributionParamsXML:number |
echo2DList:out |
headTail:list |
headTail:head |
setDistributionXml:name |
headTail:tail |
setDistributionXml:parameterList |
sampleDistribution:sampleDistributionResult |
sampleDistributionResultXML:input |
sampleDistributionParamsXML:output |
sampleDistribution:sampleDistributionParams |
sampleDistributionResultXML:sample |
sampleXML:input |
sampleXML:ArrayOfdecimal |
sampleList |
setDistributionXml:distributionXml |
sampleDistributionParamsXML:distribution |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment