A revised SVM library based on LIBSVM targeting resource-constrained embedded systems