Active Inference for Collective Classification