sid_get_goodness: Get the goodness (accuracy) of a classifier.

Description Usage Arguments Value

View source: R/sid_main_algorithm.R

Description

Get the goodness (accuracy) of a classifier.

Usage

1
sid_get_goodness(data_train, data_test, classifier = svm)

Arguments

data_train

Training data.

data_test

Testing data.

classifier

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

Value

The accuracy of the classifier.


bwrc/astrid-r documentation built on June 24, 2017, 8:05 p.m.