Primary competition visual

SFC PAYGo Solar Credit Repayment Competition

Helping Africa
$5 000 USD
Completed (over 4 years ago)
Prediction
1060 joined
275 active
Starti
Jun 06, 21
Closei
Aug 29, 21
Reveali
Aug 29, 21
Target Variable in R
Data · 22 Jul 2021, 09:07 · 3

I am working in R. I have merged the datasets but not able to generate target variable.

Discussion 3 answers

There are different approaches to the target variable. You can use each of m1, m2 to build separate models or create a column that will have m1, m2 etc in the rows in addition to a column that specifies the payment number 1,2,3etc

22 Jul 2021, 09:21
Upvotes 0
User avatar
University of dar es salaam

Hi Bro,

Good idea,

Based to your idea above regarding how to prepare single output target, your idea is pretty good. I think when we create six rows per ID variable (mean that, eg. in test data we have 9336 number of records when we add six rows per records/ ID, the records will increase to 9336 * 6 = 56016). It seem that we will also have six duplicates rows per predictor variables (six rows will reperesent the same value). Can you help me to understand your idea please. may be I didnt understood well your idea. Thank you.

All but one of the columns will be duplicates I. E. The column that has values m1,m2 and so on