0 ×

Random Number Assigner (Apache)

KNIME Data Generation version 4.3.0.v202011191409 by KNIME AG, Zurich, Switzerland

Generates a new column with values selected from the selected distribution. There are two numerical parameters which can be controlled, Value1 and Value2. Based on the distribution which is selected the parameters have different meanings. See the section below for an explanation.

Gaussian

  • Value1: mean
  • Value2: standard deviation > 0
Generates a random value from the Normal (or Gaussian) distribution with specified mean and standard deviation.

Exponential

  • Value1: mean > 0
  • Value2: not used
Generates a random value from the exponential distribution with specified mean.

Gamma

  • Value1: shape > 0
  • Value2: scale > 0
Generates a random value from the Gamma Distribution.

T

  • Value1: df the degrees of freedom > 0
  • Value2: not used
Generates a random value from the T Distribution.

Weibull

  • Value1: shape > 0
  • Value2: scale > 0
Generates a random value from the Weibull Distribution.

Beta

  • Value1: alpha
  • Value2: beta
Generates a random value from the Beta Distribution.

Cauchy

  • Value1: median
  • Value2: scale
Generates a random value from the Cauchy Distribution.

ChiSquare

  • Value1: df - the degrees of freedom
  • Value2: not used
Generates a random value from the ChiSquare Distribution.

F

  • Value1: numeratorDf - the numerator degrees of freedom > 0
  • Value2: denominatorDf - the denominator degrees of freedom > 0
Generates a random value from the F Distribution.

Uniform

  • Value1: lower > upper
  • Value2: upper
Generates a uniformly distributed random value from the open interval (lower, upper) (i.e., endpoints excluded).

The generation is performed with the Data Generators as provided by Apache Commons Math.

Options

Select distribution
The distribution from which the value is generated
Column Name
The name of the column
Seed
The random seed, deactivate the seed if you want to generate different values in each run of the node.
Value 1
The first parameter.
Value 2
The second parameter.

Input Ports

Icon
Some data

Output Ports

Icon
one additional column containing the random distributed value

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install KNIME Data Generation from the following update site:

KNIME 4.3

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.