question: protected String sourceClass ( Attribute c , double [ ] dist ) { if ( c . isNominal ( ) ) { return Integer . toString ( Utils . maxIndex ( dist ) ) ; } else { return Double . toString ( dist [ 0 ] ) ; } }
target:  Returns the value as string out of the given distribution