Primary competition visual

SFC PAYGo Solar Credit Repayment Competition

Helping Africa
$5 000 USD
Completed (~5 years ago)
Prediction
1072 joined
275 active
Starti
06 Jun 21
Closei
29 Aug 21
Reveali
29 Aug 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
User avatar

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

Upvotes 0
User avatar

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.

Upvotes 0
User avatar

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

Upvotes 0