Question: Data Preparation Load the R data set AirlineDataV2.RData (this will load a data frame called df). Delete the variables S_CODE, E_CODE, S_CITY, E_CITY from the

Data Preparation Load the R data set AirlineDataV2.RData (this will load a data frame called df). Delete the variables S_CODE, E_CODE, S_CITY, E_CITY from the data frame. Convert VACATION, GATE and SLOT to numerical dummy variables. Set SW as a factor variable with SW = Yes the success class. Scale all variables except SW (which is a factor variable). Partition the data set into training (50%), validation (25%) and test (25%) data sets. Use the seed 7131

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 Mathematics Questions!