Graph-Based Learning From Large Image Collections