Description Usage Arguments Author(s)

Recursive Backward Elimination Feature Selection with Random KNN

1 2 3 4 |

`data` |
An n x p numeric design matrix. |

`y` |
A vector of responses. For a numeric vector, Random Knn regression is performed. For a factor, Random classification is performed. |

`k` |
An integer for the number of nearest neighbors. |

`r` |
An integer for the number of base KNN models. |

`mtry` |
Number of features to be drawn for each KNN. |

`fixed.partition` |
Logical. Use fixed partition of dynamic partition of the data into training and testing subsets for each KNN. |

`pk` |
A real number between 0 and to indicate the proportion of the feature set to be kept in each step. |

`d` |
A integer to indicate the number of features to be dropped in each step. |

`stopat` |
an integer for the minimum number of variables. |

`cluster` |
An object of class ‘c("SOCKcluster", "cluster")’ |

`seed` |
An integer seed. |

Shengqiao Li<lishengqiao@yahoo.com>

rknn documentation built on May 20, 2017, 1:14 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.