Question: Use R Studio a. Make sure you install and library below four packages - AppliedPredictiveModeling - caret - corrplot - pls b. Load the data

Use R Studio
Use R Studio a. Make sure you install and library below four
packages - AppliedPredictiveModeling - caret - corrplot - pls b. Load the

a. Make sure you install and library below four packages - AppliedPredictiveModeling - caret - corrplot - pls b. Load the data set by running R code: data(permeability) After you load the dataset, you will see two subsets- fingerprints and permeability show up on the right-hand side of the RStudio window (under the Global Environment). fingerprints subset is the predictors subset, which contains the 1107 binary predictors indicating the presence or absence of substructures of a molecule. permeability is the outcome subset. Then, please proceed to explore answers for below questions. 1) Check whether there are any missing values in the fingerprimts subset. (1 point) Note: put your response in the comment starting with "\#" 2) Split the fingerprints (predictors) and permeability (outcome) subset into training (80%) and test set ( 20%) respectively. (1 point) Note: below R codes for splitting data into the training and test set respectively is provided for your reference. You may use different object namers) as needed. set.seed ( 0) training p=0.8. list = FALSE) predictors train =1:40" when tuning a PLS or PCR model. 5) Which model would you choose? Use your chosen model to predict the test set created from question 2). (2 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!