An adaptive probabilistic classification method for dynamic class hierarchies