Machine Learning with Spark(Second Edition)
上QQ阅读APP看书,第一时间看更新

Vector types

In Scala, we will use the Breeze library to represent a vector. The vector can be represented as a dense or a sparse vector.