title: Spark Decision tree with categorical variables
body: <p>My data has categorical variables (response and some of features variables).</p>
  
  <p>How can I convert it to <code>libsvm</code> format after converting the categorical variables to binary features?</p>