In the realm of algorithms, Machine Learning is the epicenter of intelligent transactions. There are multiple approaches and kinds of algorithms, however in the legality of machine learning algorithms have emerged as a conundrum for regulators because of the way in which they ‘behave’ in artificially intelligent ambience. Issues concerning their structure, ownership, accountability mark a grey area for research and reflection. The first part of this paper aims to explain various approaches and supervision of algorithms. This is the quintessential first step to decide the accountability of algorithms. Second part addresses case studies and issues concerning algorithms and energy sector. India is undergoing a pragmatic shift of energy efficiency and sustainable development. It necessitates an in- depth look into the various instances which have been judicially decided, such that the policy makers can adapt respectively. The third part of this paper is a policy perspective on this issue, specifically to the energy sector in India. Fourth part deals with a comparative study between India and European Union for a futuristic analysis. Lastly, the paper deals with solutions for policy makers and regulators for an energy efficient India.