plt plot([ ][ ]' 'color='black'markeredgewidth= markersize= for mb in [( )( )(- )]plt plot(xfitm xfit '- 'plt xlim(- )the output is as followswe can see from the above output that there are three different separators that perfectly discriminate the above samples as discussedthe main goal of svm is to divide the datasets into classes to find maximum marginal hyperplane (mmhhence rather than drawing zero line between classes we can draw around each line margin of some width up to the nearest point it can be done as followsxfit np linspace(- plt scatter( [: ] [: ] =ys= cmap='summer'for mbd in [( )( )(- )]yfit xfit plt plot(xfityfit'- 'plt fill_between(xfityfit dyfit dedgecolor='none'color='#aaaaaa'alpha= plt xlim(- )