Hi,
do you know the best way, how to read sorted data from SortedExampleSet?
I have an implementation for ExampleSet through DataRowReader:
DataRowReader dataRowReader = exampleTable.getDataRowReader();
while( dataRowReader.hasNext() )
{
DataRow dr = dataRowReader.next();
dr.get( attribute );
...
}
But SortedExampleSet has ExampleSet and his mapping indicies. Indicies and Iterator in while cycle is not good way to solve (conditions if counter = 33 then ...).
I found SortedExampleReader, but he not inherits from DataRowReader and I dont know how to use it.
Thanks for ideas
Regards,
John