Combining Induction and Transduction for Abstract Reasoning