finalized active learning pipeline itself