nak
.
space
.
nca
.
NCAObjectives
.
Objectives
NCABatchObjective
class
NCABatchObjective
[
L
,
T
,
M
]
extends
BatchDiffFunction
[
M
]
Linear Supertypes
BatchDiffFunction
[
M
], (
M
,
IndexedSeq
[
Int
]) ⇒
Double
,
DiffFunction
[
M
],
StochasticDiffFunction
[
M
], (
M
) ⇒
Double
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
NCABatchObjective
BatchDiffFunction
Function2
DiffFunction
StochasticDiffFunction
Function1
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
NCABatchObjective
(
data:
Iterable
[
Example
[
L
,
T
]]
)
(
implicit
vspace:
MutableRestrictedDomainTensorField
[
T
,
Int
,
Double
]
,
mvspace:
MutableTensorField
[
M
, (
Int
,
Int
),
Double
]
,
opTrans:
CanTranspose
[
T
,
Transpose
[
T
]]
,
opMulMV:
breeze.linalg.operators.OpMulMatrix.Impl2
[
M
,
T
,
T
]
,
opMulVTV:
breeze.linalg.operators.OpMulMatrix.Impl2
[
T
,
Transpose
[
T
],
M
]
,
opMulMM:
breeze.linalg.operators.OpMulMatrix.Impl2
[
M
,
M
,
M
]
)
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
andThen
[
A
]
(
g: (
Double
) ⇒
A
)
: (
M
) ⇒
A
Definition Classes
Function1
Annotations
@unspecialized
()
def
apply
(
x:
M
,
batch:
IndexedSeq
[
Int
]
)
:
Double
Definition Classes
BatchDiffFunction → Function2
final
def
apply
(
x:
M
)
:
Double
Definition Classes
StochasticDiffFunction → Function1
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
cached
(
implicit
copy:
CanCopy
[
M
]
)
:
DiffFunction
[
M
]
Definition Classes
BatchDiffFunction → DiffFunction
def
calculate
(
A:
M
,
batch:
IndexedSeq
[
Int
]
)
: (
Double
,
M
)
Definition Classes
NCABatchObjective
→ BatchDiffFunction
def
calculate
(
x:
M
)
: (
Double
,
M
)
Definition Classes
BatchDiffFunction → StochasticDiffFunction
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
compose
[
A
]
(
g: (
A
) ⇒
M
)
: (
A
) ⇒
Double
Definition Classes
Function1
Annotations
@unspecialized
()
def
curried
: (
M
) ⇒ (
IndexedSeq
[
Int
]) ⇒
Double
Definition Classes
Function2
Annotations
@unspecialized
()
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
featureSize
:
Int
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
fullRange
:
IndexedSeq
[
Int
]
Definition Classes
NCABatchObjective
→ BatchDiffFunction
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
gradientAt
(
x:
M
)
:
M
Definition Classes
BatchDiffFunction → StochasticDiffFunction
def
gradientAt
(
x:
M
,
batch:
IndexedSeq
[
Int
]
)
:
M
Definition Classes
BatchDiffFunction
def
groupItems
(
groupSize:
Int
)
:
BatchDiffFunction
[
M
]
Definition Classes
BatchDiffFunction
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
iData
:
IndexedSeq
[
T
]
val
iLabel
:
IndexedSeq
[
L
]
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
val
size
:
Int
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
throughLens
[
U
]
(
implicit
l:
Isomorphism
[
M
,
U
]
)
:
DiffFunction
[
U
]
Definition Classes
StochasticDiffFunction
def
toString
()
:
String
Definition Classes
Function2 → AnyRef → Any
def
tupled
: ((
M
,
IndexedSeq
[
Int
])) ⇒
Double
Definition Classes
Function2
Annotations
@unspecialized
()
def
valueAt
(
x:
M
)
:
Double
Definition Classes
BatchDiffFunction → StochasticDiffFunction
def
valueAt
(
x:
M
,
batch:
IndexedSeq
[
Int
]
)
:
Double
Definition Classes
BatchDiffFunction
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
(
...
)
def
withRandomBatches
(
size:
Int
)
:
StochasticDiffFunction
[
M
]
Definition Classes
BatchDiffFunction
def
withScanningBatches
(
size:
Int
)
:
StochasticDiffFunction
[
M
]
Definition Classes
BatchDiffFunction
Inherited from
BatchDiffFunction
[
M
]
Inherited from (
M
,
IndexedSeq
[
Int
]) ⇒
Double
Inherited from
DiffFunction
[
M
]
Inherited from
StochasticDiffFunction
[
M
]
Inherited from (
M
) ⇒
Double
Inherited from
AnyRef
Inherited from
Any
Ungrouped