Removed deprecated function from data_mining.py