question: public void writeTo ( PrintWriter out , boolean writeWeights ) { out . println ( "ByteValuedFeatureProcessors" ) ; for ( int i = 0 ; i < numByteFeatures ; i ++ ) { if ( writeWeights ) { out . print ( featureWeights [ i ] + " | " ) ; } out . print ( getFeatureName ( i ) ) ; for ( int v = 0 , vmax = getNumberOfValues ( i ) ; v < vmax ; v ++ ) { out . print ( " " ) ; String val = getFeatureValueAsString ( i , v ) ; out . print ( val ) ; } out . println ( ) ; } out . println ( "ShortValuedFeatureProcessors" ) ; for ( int i = 0 ; i < numShortFeatures ; i ++ ) { if ( writeWeights ) { out . print ( featureWeights [ numByteFeatures + i ] + " | " ) ; } out . print ( getFeatureName ( numByteFeatures + i ) ) ; for ( int v = 0 , vmax = getNumberOfValues ( numByteFeatures + i ) ; v < vmax ; v ++ ) { out . print ( " " ) ; String val = getFeatureValueAsString ( numByteFeatures + i , v ) ; out . print ( val ) ; } out . println ( ) ; } out . println ( "ContinuousFeatureProcessors" ) ; for ( int i = 0 ; i < numContinuousFeatures ; i ++ ) { if ( writeWeights ) { out . print ( featureWeights [ numByteFeatures + numShortFeatures + i ] ) ; out . print ( " " ) ; out . print ( floatWeightFuncts [ i ] ) ; out . print ( " | " ) ; } out . print ( getFeatureName ( numByteFeatures + numShortFeatures + i ) ) ; out . println ( ) ; } }
target:  Export this feature definition in the text format which can also be read by this class.