plotErrorsSummaryOneLayerCV-methods package:Rmagpie R Documentation

_p_l_o_t_E_r_r_o_r_s_S_u_m_m_a_r_y_O_n_e_L_a_y_e_r_C_V  _M_e_t_h_o_d _t_o _p_l_o_t _t_h_e _s_u_m_m_a_r_y _e_s_t_i_m_a_t_e_d _e_r_r_o_r _r_a_t_e_s _o_f _a _o_n_e-_l_a_y_e_r _C_r_o_s_s-_v_a_l_i_d_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     This method creates a plot that represent the summary estimated
     error rate of the one-layer cross-validation of the assessment at
     stake. The plot represents the summary estimate of the error rate
     (averaged over the repeats) versus the size of gene subsets (for
     SVM-RFE) or the threshold values (for NSC).

_M_e_t_h_o_d_s:


     _o_b_j_e_c_t = "_a_s_s_e_s_s_m_e_n_t" The method is only applicable on objects of
          class assessment.

_S_e_e _A_l_s_o:

     'plotErrorsFoldTwoLayerCV-methods',
     'plotErrorsRepeatedOneLayerCV-methods'

_E_x_a_m_p_l_e_s:

     data('vV70genesDataset')

     expeOfInterest <- new("assessment", 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)

