50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

mlbench (version 2.1-3.1)

mlbench.friedman1: Benchmark Problem Friedman 1

Description

The regression problem Friedman 1 as described in Friedman (1991) and Breiman (1996). Inputs are 10 independent variables uniformly distributed on the interval [0,1], only 5 out of these 10 are actually used. Outputs are created according to the formula y=10sin(πx1x2)+20(x30.5)2+10x4+5x5+e

where e is N(0,sd).

Usage

mlbench.friedman1(n, sd=1)

Value

Returns a list with components

x

input values (independent variables)

y

output values (dependent variable)

Arguments

n

number of patterns to create

sd

Standard deviation of noise

References

Breiman, Leo (1996) Bagging predictors. Machine Learning 24, pages 123-140.

Friedman, Jerome H. (1991) Multivariate adaptive regression splines. The Annals of Statistics 19 (1), pages 1-67.