tag: scikit-learn

Decision trees in python again, cross-validation

Jun 25, 2015

This is my second post on decision trees using scikit-learn and Python. The first post focused on visualizing the resulting tree. This post will concentrate on using cross-validation methods to choose the parameters used to train the tree. In particular, I'll focus on grid and random search for decision tree parameter settings. If this sounds interesting to you, following along. As always, comments, questions and corrections are welcome below.

Decision trees in python with scikit-learn and pandas

Jun 8, 2015

In this post I will cover decision trees (for classification) in python, using scikit-learn and pandas. The emphasis will be on the basics and understanding the resulting decision tree.

Install Python packages on Ubuntu 14.04

Jun 4, 2014

In this post I will document my setup of Python 2.7.6 in Ubuntu 14.04. Of course, the base Python is installed by default, but both Python 2.7.6 and Python 3.4 are available.