If you use these codes, please cite the paper: @Article{ZhanJEI2016dec, author = {Zhan, Kun and Wang, Haibo and Huang, He and Xie, Yuange}, title = {Large margin distribution machine for hyperspectral image classification}, journal = {Journal of Electronic Imaging}, year = {2016}, volume = {25}, number = {6}, pages = {063024}, doi = {10.1117/1.JEI.25.6.063024} } If you have any questions, Feel free to contact me. (Email: ice.echo#gmail.com) http://www.escience.cn/people/kzhan Note: Find LDM Package at: http://lamda.nju.edu.cn/code_LDM.ashx