nlp
1.2.0
nlp
/
com.londogard.nlp.meachinelearning
/
Dataset
Dataset
public
final
class
Dataset
<
INPUT
extends
Number
,
OUTPUT
extends
Number
,
D
extends
Dimension
>
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Dataset
Link copied to clipboard
public
Dataset
<
INPUT
,
OUTPUT
,
D
>
Dataset
<
INPUT
extends
Number
,
OUTPUT
extends
Number
,
D
extends
Dimension
>
(
MultiArray
<
INPUT
,
D
>
X
,
MultiArray
<
OUTPUT
,
D
>
y
)
Content copied to clipboard
Functions
get
Num
Classes
Link copied to clipboard
public
final
Integer
getNumClasses
(
)
Content copied to clipboard
get
Num
Features
Link copied to clipboard
public
final
Integer
getNumFeatures
(
)
Content copied to clipboard
get
Num
Samples
Link copied to clipboard
public
final
Integer
getNumSamples
(
)
Content copied to clipboard
get
X
Link copied to clipboard
public
final
MultiArray
<
INPUT
,
D
>
getX
(
)
Content copied to clipboard
get
Y
Link copied to clipboard
public
final
MultiArray
<
OUTPUT
,
D
>
getY
(
)
Content copied to clipboard
Properties
num
Classes
Link copied to clipboard
private
final
Integer
numClasses
Content copied to clipboard
num
Features
Link copied to clipboard
private
final
Integer
numFeatures
Content copied to clipboard
num
Samples
Link copied to clipboard
private
final
Integer
numSamples
Content copied to clipboard
X
Link copied to clipboard
private
final
MultiArray
<
INPUT
,
D
>
X
Content copied to clipboard
y
Link copied to clipboard
private
final
MultiArray
<
OUTPUT
,
D
>
y
Content copied to clipboard