Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cltrain

Training dataset for classification


Description

200 observations from a 2 population model. Under population 0, x_{1,i} has a standard normal distribution, and x_{2,i} = (2-x_{1,i}^2+z_i)/3, where z_i is also standard normal. Under population 1, x_{2,i} = -(2-x_{1,i}^2+z_i)/3. The optimal classification regions form a checkerboard pattern, with horizontal boundary at x_2=0, vertical boundaries at x_1 = \pm √{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.


locfit

Local Regression, Likelihood and Density Estimation

v1.5-9.4
GPL (>= 2)
Authors
Catherine Loader [aut], Jiayang Sun [ctb], Lucent Technologies [cph], Andy Liaw [cre]
Initial release
2020-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.