made alchemie work with both supervised and unsupervised models