Power-law Dynamic arising from machine learning