io
.
radanalytics
.
silex
.
util
.
VectorID
SparseVectorID
Related Docs:
object SparseVectorID
|
package VectorID
class
SparseVectorID
[
ID
]
extends
SparseVector
Linear Supertypes
SparseVector
,
Vector
,
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
SparseVectorID
SparseVector
Vector
Serializable
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
SparseVectorID
(
sz:
Int
,
idx:
Array
[
Int
]
,
data:
Array
[
Double
]
,
id:
ID
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
apply
(
i:
Int
)
:
Double
Definition Classes
Vector
Annotations
@Since
(
"1.1.0"
)
def
argmax
:
Int
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"1.5.0"
)
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
asML
:
SparseVector
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"2.0.0"
)
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
compressed
:
Vector
Definition Classes
Vector
Annotations
@Since
(
"1.4.0"
)
def
copy
:
SparseVector
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"1.1.0"
)
val
data
:
Array
[
Double
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
other:
Any
)
:
Boolean
Definition Classes
SparseVector → Vector → AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
foreachActive
(
f: (
Int
,
Double
) ⇒
Unit
)
:
Unit
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"1.6.0"
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
SparseVector → Vector → AnyRef → Any
val
id
:
ID
val
idx
:
Array
[
Int
]
val
indices
:
Array
[
Int
]
Definition Classes
SparseVector
Annotations
@Since
(
"1.0.0"
)
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
numActives
:
Int
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"1.4.0"
)
def
numNonzeros
:
Int
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"1.4.0"
)
val
size
:
Int
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"1.0.0"
)
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
sz
:
Int
def
toArray
:
Array
[
Double
]
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"1.0.0"
)
def
toDense
:
DenseVector
Definition Classes
Vector
Annotations
@Since
(
"1.4.0"
)
def
toJson
:
String
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"1.6.0"
)
def
toSparse
:
SparseVector
Definition Classes
SparseVector → Vector
Annotations
@Since
(
"1.4.0"
)
def
toString
()
:
String
Definition Classes
SparseVector → AnyRef → Any
val
values
:
Array
[
Double
]
Definition Classes
SparseVector
Annotations
@Since
(
"1.0.0"
)
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
SparseVector
Inherited from
Vector
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped