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 all 4 inputs...

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

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

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

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

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