Improving large margin classifiers using relationships among samples