Description Usage Arguments Value Source References See Also Examples
View source: R/dagsvm_classification_predict.R
dagsvm_classification_predict
takes a tuned DAG-SVM and the respective paramters
as returned by tunedagsvm_extractoptimisedparametersandmodels
and a directory
name with images to classify and returns the images that were classified with the DAG-SVM.
The construction of DAG-SVM is derived according to \insertCitePlatt.2000TraceIdentification
1 | dagsvm_classification_predict(optimparam, optimmodels, directorydata)
|
optimparam |
A |
optimmodels |
A list corresponding to the second element of a
list returned by |
directorydata |
A character string representing the directory where the image files to be classified are stored. No other files must be in this directory. |
The function returns a list with an element for each image file in directorydata
containing the classified image.
The function relies on the R packages raster
(\insertCiteHijmans.2017TraceIdentification) and e1071
(\insertCiteMeyer.2015TraceIdentification).
tunedagsvm
, tunedagsvm_extractoptimisedparametersandmodels
.
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.