PlotNewInstance: Plots a new instance in the instance space.

Description Usage Arguments Value Examples

Description

Plots a new instance in the instance space.

Usage

1
PlotNewInstance(svm_out, feat, vis = TRUE)

Arguments

svm_out

The output of the trained svm using function InstSpace

feat

The features of the new instance/dataset. This can be computed using ComputeMetaFeaturesAll or ComputeMetaFeaturesMM.

vis

If TRUE then the instance space along with the new instance is plotted.

Value

new_coords Coodinates of the new instance in the instance space

Examples

1
2
3
4
5
6
7
8
## Not run: 
data(Arrhythmia_withoutdupl_05_v05)
dat <- Arrhythmia_withoutdupl_05_v05
feat <- ComputeMetaFeaturesMM(dat)
svmout <- InstSpace(d=1)
PlotNewInstance(svmout, feat, vis=FALSE)

## End(Not run)

sevvandi/outselect documentation built on June 1, 2019, 3:58 a.m.