nlp
1.2.0
nlp
/
com.londogard.nlp.meachinelearning.metrics
/
Metrics
Metrics
public
class
Metrics
Content copied to clipboard
Metrics
is a utility object/namespace to provide metric functions
Functions
Properties
Functions
accuracy
Link copied to clipboard
public
final
Double
accuracy
<
T
extends
Number
>
(
NDArray
<
T
,
D2
>
test
,
NDArray
<
T
,
D2
>
predicted
)
Content copied to clipboard
r
Squared
Link copied to clipboard
public
final
Float
rSquared
(
NDArray
<
Float
,
D2
>
test
,
NDArray
<
Float
,
D2
>
predicted
)
Content copied to clipboard
Properties
INSTANCE
Link copied to clipboard
public
final
static
Metrics
INSTANCE
Content copied to clipboard