Jul-29-2020, 10:53 AM
I try to make model to predict 'people_in_poverty' of each 'state' with inputs of 'earning' and 'races'. So my feature matrix would be like below,
State Earnings Hispanic Indian Asian Black White people_in_poverty Alabama 0.2 0.4 0.6 0.6 0.2 0.8 [[2010-08-27,0.2], [2010-09-27,0.7], [2010-10-27,0.6], [2010-11-27,0.9]] Florida 0.5 0.6 0.4 0.1 0.6 0.7 [[2010-08-27,0.5], [2010-09-27,0.6], [2010-10-27,0.2], [2010-11-27,0.8]] Kentucky 0.7 0.7 0.9 0.8 0.3 0.6 [[2010-08-27,0.1], [2010-09-27,0.4], [2010-10-27,0.5], [2010-11-27,0.5]] Minnesota 0.3 0.1 0.2 0.5 0.2 0.7 [[2010-08-27,0.6], [2010-09-27,0.3], [2010-10-27,0.7], [2010-11-27,0.3]]