Description Usage Arguments Value

View source: R/sid_main_algorithm.R

Get the goodness (accuracy) of a tree.

1 2 | ```
sid_tree_goodness(data_train, data_test, tree, classifier, R = 10,
parallel = TRUE, stats = FALSE)
``` |

`data_train` |
Training data. |

`data_test` |
Testing data. |

`classifier` |
A classifier function, default is svm (from the e1071 package). |

`R` |
Number of replications. Default is 10. |

`parallel` |
Calculate in parallel (Boolean, default is |

`stats` |
Return statistics for the tree. Default is |

The average goodness.

bwrc/astrid-r documentation built on June 24, 2017, 8:05 p.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.