Learning convex polytopes with margin