genFriedman: genFriedman

Description Usage Arguments Examples

View source: R/genFriedman.R

Description

Simulate data from the Friedman benchmark problem 1.

Usage

1
2
3
4
5
6
7
genFriedman(
  noFeatures = 10,
  noSamples = 100,
  sigma = 1,
  bins = NULL,
  seed = NULL
)

Arguments

noFeatures

Integer specifying the number of features/variables to generate. Default is 10.

noSamples

Integer specifying the number of samples to generate. Default is 100

sigma

Numreic specifying standard deviation of the noise.

bins

Integer specifiying the number of bins to split responce variable into. Setting a value greater than 1 turns this into a classification problem whre bins determines the number of classes.

seed

Integer specifying the random seed.

Examples

1
genFriedman(noFeatures = 10, noSamples = 100, sigma = 1, seed = NULL)

AlanInglis/vivid documentation built on July 9, 2020, 1:53 a.m.