Showing content from http://spark.apache.org/docs/latest/api/scala/org/apache/spark/ml/linalg/SparseVector.html below:
Spark 4.0.0 ScalaDoc - org.apache.spark.ml.linalg.SparseVector
class SparseVector extends Vector
î·î
Ordering
- Alphabetic
- By Inheritance
Inherited
- SparseVector
- Vector
- Serializable
- AnyRef
- Any
Visibility
- Public
- Protected
Instance Constructors
- î
new SparseVector(size: Int, indices: Array[Int], values: Array[Double])
Value Members
- î
final def !=(arg0: Any): Boolean
- î
final def ##: Int
- î
final def ==(arg0: Any): Boolean
- î
def apply(i: Int): Double
- î
def argmax: Int
- î
final def asInstanceOf[T0]: T0
- î
def clone(): AnyRef
- î
def compressed: Vector
- î
def copy: SparseVector
- î
def dot(v: Vector): Double
- î
final def eq(arg0: AnyRef): Boolean
- î
def equals(other: Any): Boolean
- î
def foreachActive(f: (Int, Double) => Unit): Unit
- î
final def getClass(): Class[_ <: AnyRef]
- î
def hashCode(): Int
- î
val indices: Array[Int]
- î
final def isInstanceOf[T0]: Boolean
- î
final def ne(arg0: AnyRef): Boolean
- î
final def notify(): Unit
- î
final def notifyAll(): Unit
- î
def numActives: Int
- î
def numNonzeros: Int
- î
val size: Int
- î
final def synchronized[T0](arg0: => T0): T0
- î
def toArray: Array[Double]
- î
def toDense: DenseVector
- î
def toSparse: SparseVector
- î
def toString(): String
- î
val values: Array[Double]
- î
final def wait(arg0: Long, arg1: Int): Unit
- î
final def wait(arg0: Long): Unit
- î
final def wait(): Unit
Deprecated Value Members
- î
def finalize(): Unit
Inherited from AnyRef
Inherited from Any
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4