Advanced data mining codes