Plot optimization curves and cache hits.
Create a plot summarizing the optimization / learning process of an SSVM. It plots the primal and cutting plane objective (if applicable) and also the target loss on the training set against training time. For one-slack SSVMs with constraint caching, cached constraints are also contrasted against inference runs.
ssvm : object
time : boolean, default=True
Warm-starting a model might mess up the alignment of the curves. So if you warm-started a model, please don’t count on proper alignment of time, cache hits and objective.