public DataPointPair < Double > getDataPointPair ( int i ) { return new DataPointPair <> ( getDataPoint ( i ) , targets . get ( i ) ) ; }
Returns the i th data point in the data set paired with its target regressor value . Modifying the DataPointPair will effect the data set .