question: create a new data pair object of the correct size for the machine learning method that is being trained . this object will be passed to the getpair method to allow the data pair objects to be copied to it . concode_field_sep MLData input concode_elem_sep double significance concode_elem_sep MLData ideal concode_elem_sep long serialVersionUID concode_field_sep void setIdealArray concode_elem_sep double[] getInputArray concode_elem_sep void setInputArray concode_elem_sep Centroid<MLDataPair> createCentroid concode_elem_sep double[] getIdealArray concode_elem_sep String toString concode_elem_sep void setSignificance concode_elem_sep MLData getIdeal concode_elem_sep MLData getInput concode_elem_sep boolean isSupervised concode_elem_sep double getSignificance
target: MLDataPair function ( final int arg0 , final int arg1 ) { MLDataPair loc0 ; if ( arg1 > 0 ) { loc0 = new BasicMLDataPair ( new BasicMLData ( arg0 ) , new BasicMLData ( arg1 ) ) ; } else { loc0 = new BasicMLDataPair ( new BasicMLData ( arg0 ) ) ; } return loc0 ; }