addSVMPackage: Make a new SVM package known to the bridge.

Description Usage Arguments Note

Description

This function will create an object corresponding to the SVM object. By using the findSVMSoftware/findSVMWrapper functions., one can add search for the corresponding wrappe and the software. To avoid lengthy searches, this function can be used to directly 'shortcut' the search, by specifiying the directories where the wrapper/software lies. If this is successful, later findSVM.. calls are unneccessary.

Usage

1
2
addSVMPackage(method = NA, wrapperName = NA, wrapperPath = NA,
  softwarePath = NA, verbose = FALSE)

Arguments

method

Name of solver

wrapperName

Name of the wrapper (as filename). if none given, method_wrapper.R will be used.

wrapperPath

File path to the wrapper. if none is given, findSVMWrapper needs to be called

softwarePath

Path where to find the solver (software), if none is given, findSVMSoftware has to be called

verbose

Be verbose?

Note

first the given train and testBinaryPaths will be directly checked. if the binary does not exist there, the softwarePath will be added and rechecked and only if this does not work, the software will be searched via softwarePath. so one can override the search by specifiying train-/testBinaryPath.

If the wrapper searches for software, it will NOT execute it, existance is enough at this point.


aydindemircioglu/SVMBridge documentation built on May 11, 2019, 4:13 p.m.