Income detectorΒΆ
Our income detector checks for income and tries to predict optimal days for repayment. Income detection is done using 3 different approaches that we call A, B and C. Approach A is the most strict but it provides largest accuracy, while approach C is less acurate, but its able to find income when other approaches can not.
Here is one example of income detector response:
Response
{"income":
{"income_A":
{"income_transactions":[{
"amount":1082.0,
"day_in_month":30,
"description":"nomina (trf) - 00000000-nombre empresa",
"month":0.0,
"onDate":"2019-03-30"
},
{
"amount":1018.0,
"day_in_month":1,
"description":"nomina (trf) - 0000000000-nombre empresa",
"month":1.0,
"onDate":"2019-03-01"
},
{
"amount":550.0,
"day_in_month":1,
"description":"nomina (trf) - 0000000000-nombre empresa",
"month":2.0,
"onDate":"2019-02-01"
}],
"number_of_income_transactions":3
},
"income_B":
{"income_transactions":[{
"amount":1018.0,
"day_in_month":1,
"description":"nomina (trf) - 0000000000-nombre empresa",
"month":1.0,
"onDate":"2019-03-01"
},
{
"amount":550.0,
"day_in_month":1,
"description":"nomina (trf) - 0000000000-nombre empresa",
"month":2.0,
"onDate":"2019-02-01"
}],
"number_of_income_transactions":2},
"income_C":
{"income_transactions":[{
"amount":1018.0,
"day_in_month":1,
"description":"nomina (trf) - 0000000000-nombre empresa",
"month":1.0,
"onDate":"2019-03-01"}],
"number_of_income_transactions":1}
},
"optimal_days":[
"2019-05-01 00:00:00",
"2019-06-03 00:00:00",
"2019-07-01 00:00:00",
"2019-08-01 00:00:00",
"2019-09-02 00:00:00",
"2019-10-01 00:00:00",
"2019-11-01 00:00:00",
"2019-12-02 00:00:00",
"2020-01-01 00:00:00",
"2020-02-03 00:00:00",
"2020-03-02 00:00:00",
"2020-04-01 00:00:00"]
}