Any utility to load LibSVM file with weight and aid embedded


#1

If LibSVM file has data in the following format:

1:0.5 qid:1 101:1.2 102:0.03
0:1.0 qid:1 1:2.1 10001:300 10002:400
0:1.0 qid:2 0:1.3 1:0.3
1:1.0 qid:2 0:0.01 1:0.3
0:0.5 qid:3 0:0.2 1:0.3

Is there a utility to load the file?
from sklearn.datasets, load_svmlight_file does not support this format.