org.apache.mahout.sparkbindings.blas
Turn RDD into dense row-wise vectors if density threshold is exceeded.
Turn rdd into sparse RDD if density threshold is underrun.