Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code missing for results mentioned in Chapter 11.2.1? #112

Open
MoonCastle85 opened this issue Jan 14, 2024 · 0 comments
Open

Code missing for results mentioned in Chapter 11.2.1? #112

MoonCastle85 opened this issue Jan 14, 2024 · 0 comments

Comments

@MoonCastle85
Copy link

MoonCastle85 commented Jan 14, 2024

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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant