A Vectorization Method Induced By Maximal Margin Classification For Persistent Diagrams