Some general scrips written in sql, python and R for data mining