Iterative Supervised Classification Algorithm