nlp
1.2.0
nlp
/
com.londogard.nlp.meachinelearning.loss
/
Loss
Loss
public
interface
Loss
Content copied to clipboard
Functions
Functions
gradient
Link copied to clipboard
public
abstract
NDArray
<
Float
,
D2
>
gradient
(
NDArray
<
Float
,
D2
>
weights
,
MultiArray
<
Float
,
D2
>
X
,
NDArray
<
Float
,
D2
>
y
)
Content copied to clipboard
loss
Link copied to clipboard
public
abstract
Float
loss
(
NDArray
<
Float
,
D2
>
weights
,
MultiArray
<
Float
,
D2
>
X
,
NDArray
<
Float
,
D2
>
y
)
Content copied to clipboard
numeric
Gradient
Link copied to clipboard
public
NDArray
<
Float
,
D2
>
numericGradient
(
NDArray
<
Float
,
D2
>
weights
,
MultiArray
<
Float
,
D2
>
X
,
NDArray
<
Float
,
D2
>
y
,
Float
eps
)
Content copied to clipboard