inputSelectPlot

Plot for input selection

Contents

Syntax

Description

inputSelectPlot(allRecogRate, allSelectedInput, inputName, callingFunction) plots the result of input selection

Example

DS=prData('iris');
[bestSelectedInput, bestRecogRate, allSelectedInput, allRecogRate]=inputSelectSequential(DS);
inputSelectPlot(allRecogRate*100, allSelectedInput, DS.inputName, 'inputSelectSequential');
Construct 10 knnc models, each with up to 4 inputs selected from 4 candidates...

Selecting input 1:
Model 1/10: selected={sepal length} => Recog. rate = 58.7%
Model 2/10: selected={sepal width} => Recog. rate = 48.0%
Model 3/10: selected={petal length} => Recog. rate = 88.0%
Model 4/10: selected={petal width} => Recog. rate = 88.0%
Currently selected inputs: petal length

Selecting input 2:
Model 5/10: selected={petal length, sepal length} => Recog. rate = 90.7%
Model 6/10: selected={petal length, sepal width} => Recog. rate = 90.7%
Model 7/10: selected={petal length, petal width} => Recog. rate = 95.3%
Currently selected inputs: petal length, petal width

Selecting input 3:
Model 8/10: selected={petal length, petal width, sepal length} => Recog. rate = 95.3%
Model 9/10: selected={petal length, petal width, sepal width} => Recog. rate = 95.3%
Currently selected inputs: petal length, petal width, sepal length

Selecting input 4:
Model 10/10: selected={petal length, petal width, sepal length, sepal width} => Recog. rate = 96.0%
Currently selected inputs: petal length, petal width, sepal length, sepal width

Overall maximal recognition rate = 96.0%.
Selected 4 inputs (out of 4): petal length, petal width, sepal length, sepal width

Top page   Next: inputSelectExhaustive4reg.m   Prev:inputSelectSequential.m