Implementation of Machine Learning Pipelines for Clinical Practice: Development and Validation Study