Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use RStudio to solve the following problems. Help with part B please!! 6. Suppose we are running a fraud classification model, with a training set
Use RStudio to solve the following problems. Help with part B please!!
6. Suppose we are running a fraud classification model, with a training set of 10,000 records of which only 400 are fraudulent.
a) How many fraudulent records need to be resampled if we would like the proportion of fraudulent records in the balanced data set to be 20%?
2,000 need to be resampled
b) How many non-fraudulent records need to be set aside if we would like the proportion of fraudulent records in the balanced data set to be 20%?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started