Machine learning using support vector machines : Application to human brain decoding and weld flaws classification