added db population to machine learning script