inductive learning algorithm