Question: Please use Rstudio not python! python doesnt work for this only Rstudio code will! thank you! tayko.csv is the dataset for the question Tayko Software

Please use Rstudio not python! python doesnt work for this only Rstudio code will! thank you!
Please use Rstudio not python! python doesnt work
tayko.csv is the dataset for the question
Tayko Software is a software catalog firm that sells games and educational software. It started out as a software manufacturer and then added third-party titles to its offerings. It recently revised its collection of items in a new catalog, which it mailed out to its customers. This mailing yielded 2000 purchases. The file tayko.csv contains information on 2000 purchases. The description of the variables is given below Variable Description freq Number of transactions in the preceding year last_update Number of days since last update to customer record web 1 if customer purchased by web order at least once, 0 otherwise gender 1 if customer is male, 0 otherwise address_res 1 if it is a residential address, otherwise address_us 1 if it is a US address, 0 otherwise Spending (response) Amount spending by customer in test mailing (dollars) a) Partition the data into training (70%) and validation (30%) sets. Build an optimal regression tree on the training data. Report all the accuracy measures for the validation data. (15pt) (Instruction: Set seed to 3)

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 General Management Questions!