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<[email protected]>

rknn documentation built on May 30, 2017, 3:33 a.m.

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.