Visual classification algorithms