A libsvm format checking tool
svm-checkdata dataset
svm-train(1) conducts only a simple check of the input data. To do a detailed check, we provide this python script.
See svm-train(1) for the format of dataset
> cat bad_data
1 3:1 2:4
> svm-checkdata bad_data
line 1: feature indices must be in an ascending order, previous/current features 3:1 2:4 Found 1 lines with error.
Please report bugs to the Debian BTS.
Chih-Chung Chang, Chih-Jen Lin <[email protected]>, Chen-Tse Tsai <[email protected]> (packaging)