Detection of Fires using Machine Learning