How Accountable should we hold AI algorithms?

#artificialintelligence 

As the capabilities of Artificial Intelligence systems increase everyday, government officials are under more pressure than ever to develop a comprehensive and robust set of policies and laws that holds these algorithms accountable for their decisions. The question on whether these algorithms should be held accountable has gained attention over the past few years through scandals such as Google's mislabeling of images and Microsoft Tay's racist tweets. In determining whether an algorithm should be held accountable or not, it is important to break the topic down into key questions. The first is what task is the algorithm completing? What are the implications to individuals/society resulting from the algorithm's decision.