Description Objects from the Class Slots Methods Note Author(s) References Examples
helps depict prediction hyperregions from high-dimensional models
Objects can be created by calls of the form new("projectedLearner", ...)
.
fittedLearner
:Object of class "classifierOutput"
trainingSetPCA
:Object of class "prcomp"
trainingLabels
:Object of class "ANY"
given
labels for features used in training
testLabels
:Object of class "ANY"
given labels
for features used in testing
gridFeatsProjectedToTrainingPCs
:Object of class "matrix"
rotated coordinates of training features
gridPredictions
:Object of class "ANY"
predicted
labels for all grid points
trainFeatsProjectedToTrainingPCs
:Object of class "matrix"
rotated coordinates of training features
testFeatsProjectedToTrainingPCs
:Object of class "matrix"
rotated coordinates of test features
trainPredictions
:Object of class "ANY"
predicted
labels for training features
testPredictions
:Object of class "ANY"
predicted
labels for test features
theCall
:Object of class "call"
call used to
generate this wonderful thing
signature(x = "projectedLearner")
: uses
rgl
to give a dynamic 3d-like projection of labels in
colored regions. See projectLearnerToGrid
for an
example.
signature(x = "projectedLearner", y = "ANY")
: pairs
plot of the tesselated PCA of the training features
signature(x = "projectedLearner")
: a 2d plot
of tesselation projection for selected axes of the PCA
signature(object = "projectedLearner")
: object
housing numerical resources for the renderings
plot
may need to be modified when there are many features/PCs in use
plotOne
has additional arguments ind1
, ind2
, and type
. ind1 and ind2 specify the PCs to display. type is one of
"showTestPredictions"
(default),
"showTrainPredictions"
,
"showTestLabels"
,
"showTrainLabels"
. These indicate what will be used to locate
glyphs with labels in the projected scatterplots.
VJ Carey <stvjc@channing.harvard.edu>
None.
1 | showClass("projectedLearner")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.