Package smile.validation
Class Bag
java.lang.Object
smile.validation.Bag
- All Implemented Interfaces:
Serializable
A bag of random selected samples.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
samples
public final int[] samplesThe random samples. -
oob
public final int[] oobThe index of testing instances.
-
-
Constructor Details
-
Bag
public Bag(int[] samples, int[] oob) Constructor.- Parameters:
samples
- the random samples.oob
- the out of bag samples.
-