g.a.svm.start: Classifier Support Vector Machine - Wrapper function

Description Usage Arguments Value Author(s) Examples

View source: R/svm.R

Description

To get (back) to the overview of all steps and functions use this link: a.a.main

This is a wrapper function for classifying data with support vector machines

It executes these functions:

  1. g.b.step1

  2. g.c.step2

Usage

1
g.a.svm.start(block, feature1, saveFile, classLabel, feature2 = NULL)

Arguments

block

A string that holds a path to a cross-validation block file

feature1

A string that holds a path to a feature data file (hog or colorHist)

saveFile

A string that holds a path to which the result should be stored as .rda file.

classLabel

A string that holds a path to a file with classification labels for the feature data

feature2

A string that holds a path to a second feature data file (the type that was not used in feature1).This parameter is optional

Value

A table that holds the pairs of correct and not correct predicted images, the number of correct predicted images and the accuracy percentage

Author(s)

Colin Juers

Examples

1
2
3
\code{result <- d.a.randomForest.start("data/blocks2677IMG.rda", "data/hog_original_8_9_complete.rda",
"data/colorHistRGBNorm_original_255buckets_hog_original_8_9_nodes7_svm_result.rda", "data/classesOrig.rda",
100, feature2 = "data/colorHistOriginalRGBNorm255Buckets.rda")}

Vitlik/DA2-17 documentation built on May 20, 2019, 11:12 a.m.