cltrain {locfit}R Documentation

Training dataset for classification

Description

200 observations from a 2 population model. Under population 0, x1,ix_{1,i} has a standard normal distribution, and x2,i=(2x1,i2+zi)/3x_{2,i} = (2-x_{1,i}^2+z_i)/3, where ziz_i is also standard normal. Under population 1, x2,i=(2x1,i2+zi)/3x_{2,i} = -(2-x_{1,i}^2+z_i)/3. The optimal classification regions form a checkerboard pattern, with horizontal boundary at x2=0x_2=0, vertical boundaries at x1=±2x_1 = \pm \sqrt{2}.

This is the same model as the cltest dataset.

Usage

data(cltrain)

Format

Data Frame. Three variables x1, x2 and y. The latter indicates class membership.


[Package locfit version 1.5-9.10 Index]