This reverts commit f1f48f305e. The use of sklearn unfortunately caused a substantial slowdown to the Zulip provisioning process, which didn't seem worth it for a relatively minor feature.
f1f48f305e
Fixes: #780