Temporal-spatial model via Trend Filtering