as_task_regr_st function

Convert to a Spatiotemporal Regression Task