Class-modeling for food authentication