Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Code missing for results mentioned in Chapter 11.2.1? #112

@MoonCastle85

Description

@MoonCastle85

In Chapter 11.2.1, there is a mention of results from an initial model:

The initial analysis of the training set showed that there were 5 predictors with an area under the ROC curve of at least 0.80 and 21 were between 0.75 and 0.80.

Where in the code can these numbers be found? Or are they external?

A few paragraphs below it's mentioned that:

During resampling the number of predictors selected ranged from 2 to 12 with an average of 5.7. Some predictors were selected regularly; 2 of them passed the ROC threshold in each resample. For the final model, a total of 5 predictors were selected. For this set of predictors, the PLSDA model was optimized with only 4 components. The corresponding estimated area under the ROC curve was 0.827.

When I run the code, the selectedVars from the variables in pls_filtered are always only 'std_delta_log_energy' and 'std_delta_delta_log_energy' for all resamples except one where there is also 'std_Log_energy'. Is this where the range of 2-12 with an average of 5.7 is suppose to come from? The number of components I get is 1, not 4, too.

  1. I don't see the code for figure 11.3 anywhere, Where are the predictors for the heatmap found?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions