Hubro Connect
Toggle table of contents
android
Platform filter
android
Switch theme
Search in API
Hubro Connect
hubro-connect
/
no.hubroplatform.hubroconnect
/
SampleSpec
Sample
Spec
android
data
class
SampleSpec
<
X
,
Y
>
(
val
convertX
:
(
List
<
X
>
)
->
Array
<
X
>
,
val
convertY
:
(
List
<
Y
>
)
->
Array
<
Y
>
,
val
emptyY
:
(
Int
)
->
Array
<
Y
>
,
val
loss
:
(
MutableList
<
Sample
<
X
,
Y
>
>
,
Array
<
Y
>
)
->
Float
,
val
accuracy
:
(
MutableList
<
Sample
<
X
,
Y
>
>
,
Array
<
Y
>
)
->
Float
)
Members
Constructors
Sample
Spec
Link copied to clipboard
android
constructor
(
convertX
:
(
List
<
X
>
)
->
Array
<
X
>
,
convertY
:
(
List
<
Y
>
)
->
Array
<
Y
>
,
emptyY
:
(
Int
)
->
Array
<
Y
>
,
loss
:
(
MutableList
<
Sample
<
X
,
Y
>
>
,
Array
<
Y
>
)
->
Float
,
accuracy
:
(
MutableList
<
Sample
<
X
,
Y
>
>
,
Array
<
Y
>
)
->
Float
)
Properties
accuracy
Link copied to clipboard
android
val
accuracy
:
(
MutableList
<
Sample
<
X
,
Y
>
>
,
Array
<
Y
>
)
->
Float
convert
X
Link copied to clipboard
android
val
convertX
:
(
List
<
X
>
)
->
Array
<
X
>
convert
Y
Link copied to clipboard
android
val
convertY
:
(
List
<
Y
>
)
->
Array
<
Y
>
empty
Y
Link copied to clipboard
android
val
emptyY
:
(
Int
)
->
Array
<
Y
>
loss
Link copied to clipboard
android
val
loss
:
(
MutableList
<
Sample
<
X
,
Y
>
>
,
Array
<
Y
>
)
->
Float