Parse the input string as an SparseInstance class.
Parse the input string as an SparseInstance class. The input and output instances are separated by a whitespace character, of the form "output_instance<whitespace>input_instance<whitespace>weight". The output and the weight can be missing.
the String line to be read
String specifying the format of the output instance
a DenseInstance which is parsed from input