Applications and Techniques for Fast Machine Learning in Science