Function for plotting the maximal margin classifier. Function inspired by http://scikit-learn.org/0.10/auto_examples/svm/plot_separating_hyperplane.htm l
1  | max_marg_class(set_seed = 1001, save_path = NULL, do_print = TRUE)
 | 
set_seed | 
 An integer, setting the seed. Default value matches graph in topic  | 
save_path | 
 A path string. If given, saves an .eps file to local hard drive  | 
do_print | 
 A string, yes or no  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.