Question: Your training data is in dataframe df . The target value is in column 'target', and can have value 0 or 1 . You run
Your training data is in dataframe df The target value is in column 'target', and can have value or You run two commands and see the following output:
dfshape
dftargetvaluecountsvalues
If you use oversampling to balance your data set, how many rows will you end up with?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
