ANT Colony Optimization is a task scheduling algorithm in which we schedule tasks by allocating them to resources. In this project, resources are designated as virtual machines and tasks are designated as cloudlets. Earlier many task scheduling algorithms are proposed to improve the performance but have not cost efficient at the same time. PSO and Round Robin are efficient solutions but not cost effective. So to overcome the issues We have proposed learning based cost efficient algorithm for cloud infrastructure.