# Classify type of motion using decision trees and features

Consider a decision tree for separating between the following activities: Sitting, Driving, Running, Walking. Assume that you are given the following features: Dominant frequency (F1), meanX, meanY, and meanZ (mean acceleration along the three axes).

I know that we can separate walking from running using the Dominant Frequency Parameter. I also know that I can separate Driving from Sitting by looking at the mean for x if that is the horizontal axis. How do I go about separating Driving from (Walking and Running)?

Eg. in python you can use seaborn.pairplot with hue='activity' option.