as_task_classif_st function

Convert to a Spatiotemporal Classification Task