EcoVal: An Efficient Data Valuation Framework for Machine Learning