How Do I modify a decision tree classifier to do regression?

Follow the full discussion on Reddit.
I have code for a classifier decision tree, using cross-entropy. It chooses the label based on the most common predicted label. I would like to transform this into a regressor decision tree. I have read that this involves using MSE, but I can't figure out if I need to build an entirely new tree, or merely adapt this one in a few steps. Any guidance? I can provide my code if that would help.

Comments

There's unfortunately not much to read here yet...

Discover the Best of Machine Learning.

Ever having issues keeping up with everything that's going on in Machine Learning? That's where we help. We're sending out a weekly digest, highlighting the Best of Machine Learning.

Join over 900 Machine Learning Engineers receiving our weekly digest.

Best of Machine LearningBest of Machine Learning

Discover the best guides, books, papers and news in Machine Learning, once per week.

Twitter