Method: Spark::Mllib::Vectors.sparse

Defined in:
lib/spark/mllib/vector.rb

.sparse(*args) ⇒ Object



9
10
11
# File 'lib/spark/mllib/vector.rb', line 9

def self.sparse(*args)
  SparseVector.new(*args)
end