Applications of Machine Learning in Physics