Greedy Algorithm In Machin Learning