I recently developed two machine learning algorithms for drchrono to help with their billing process.
For a number of reasons, including HIPAA compliance, I'm unable to disclose code for this project, but please check out the following link for a discussion on the topic.