sim.Circle {bark}R Documentation

Simulated Classification Problem Circle

Description

The classification problem Circle is described in the BARK paper (2008). Inputs are dim independent variables uniformly distributed on the interval [-1,1], only the first 2 out of these dim are actually signals. Outputs are created according to the formula

y = 1(x1^2+x2^2 <= 2/π)

Usage

sim.Circle(n, dim=5)

Arguments

n number of data points to create
dim number of dimension of the problem, no less than 2.

Value

Returns a list with components

x input values (independent variables)
y 0/1 output values (dependent variable)

References

Ouyang, Zhi (2008) Bayesian Additive Regression Kernels. Duke University. Ph.D. dissertation, page 58. at: http://stat.duke.edu/people/theses/OuyangZ.html


[Package bark version 0.1-0 Index]