demo/demoPlots.r

data('vV70genesDataset')

expeOfInterest <- new("experiment", dataset=vV70genes,
                                   noFolds1stLayer=3,
                                   noFolds2ndLayer=2,
                                   classifierName="svm",
                                   typeFoldCreation="original",
                                   svmKernel="linear",
                                   noOfRepeat=10,
                                   featureSelectionOptions=new("geneSubsets", optionValues=c(1,2,3,4,5,6)))

expeOfInterest <- runOneLayerExtCV(expeOfInterest)
plotErrorsSummaryOneLayerCV(expeOfInterest)
plotErrorsRepeatedOneLayerCV(expeOfInterest)

expeOfInterest <- runTwoLayerExtCV(expeOfInterest)
plotErrorsFoldTwoLayerCV(expeOfInterest)

Try the Rmagpie package in your browser

Any scripts or data that you put into this service are public.

Rmagpie documentation built on Nov. 8, 2020, 11:09 p.m.