public double[] getFeatures() {
    	double[] filteredFeatures = new double[features.length-1];
    	for (int i = 0; i<filteredFeatures.length; i++)
    		filteredFeatures[i]=features[i];
        return filteredFeatures;
    }
public double [ ] getFeatures ( ) { double [ ] filteredFeatures = new double [ features . length - 1 ] ; for ( int i = 0 ; i < filteredFeatures . length ; i ++ ) filteredFeatures [ i ] = features [ i ] ; return filteredFeatures ; }
Returns the features (label attribute excluded).
@return An array <code>double[]</code> with the features.