Description Usage Format Details
A dataset that contains the testing portion of the sine classifier data.
1 |
A data.frame.
The sine classifier data contains 600 observations with three features and one response variable. The features, x_1, x_2, and x_3, were randomly sampled from Unif(-10, 10), Unif(-10, 10), and N(0,1) distributions, respectively. A binary response variable y was created using a rotated sine curve. In particular, let x'_1=x_1\cos(θ)-x_2\sin(θ) and x'_2=x_1\sin(θ)+x_2\cos(θ) where θ=-0.9. Then y is defined as
y=\begin{cases} 1 & \mbox{ if } x'_2 > \sin≤ft(x'_1\right) \\ 0 & \mbox{ if } x'_2 ≤ \sin≤ft(x'_1\right). \end{cases}
100 observations were randomly selected from the generated data to be included in the training portion of the data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.