Automatic classification of deposits