Download Package `RSNNS`
Transcript
outputColumns 33 See Also splitForTrainingAndTest, normalizeData, denormalizeData, getNormParameters Examples data(iris) #shuffle the vector iris <- iris[sample(1:nrow(iris),length(1:nrow(iris))),1:ncol(iris)] irisValues <- iris[,1:4] irisTargets <- decodeClassLabels(iris[,5]) iris <- splitForTrainingAndTest(irisValues, irisTargets, ratio=0.15) normTrainingAndTestSet(iris) outputColumns Get the columns that are targets Description This function extracts all columns from a matrix whose column names begin with "out". The example data of this package follows this naming convention. Usage outputColumns(patterns) Arguments patterns matrix or data.frame containing the patterns plotActMap Plot activation map Description Plot an activation map as a heatmap. Usage plotActMap(x, ...) Arguments x the input data matrix ... parameters passed to image