datamining task code