void function ( double [ ] arg0 ) { datasetSize = ( double ) arg0 . length ; Arrays . sort ( arg0 ) ; empiricalDist = new EmpiricalDist ( arg0 ) ; RandomStream loc0 = new MRG31k3p ( ) ; NormalGen loc1 = new NormalGen ( loc0 ) ; kernelDensityGen = new KernelDensityGen ( loc0 , empiricalDist , loc1 ) ; }
this method initiates the kde , i.e. sort values in ascending order , compute an empirical distribution out of it , makes use of a normalgen to generate random variates from the normal distribution , and then use these variates to generate a kernel density generator of the empirical distribution . concode_field_sep int n concode_elem_sep EmpiricalDist empiricalDist concode_elem_sep KernelDensityGen kernelDensityGen concode_elem_sep double datasetSize concode_field_sep double[] excludeNullValues concode_elem_sep ArrayList estimateDensityFunction concode_elem_sep ArrayList estimateDensityFunction concode_elem_sep ArrayList estimateDensityFunction