public class Bag
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Bag(weka.core.Instance bagInstance)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
bagWeight()
The bag's weight.
|
void |
disableInstances(java.util.List<java.lang.String> deactivated)
Disables the bag.
|
weka.core.Instances |
instances()
Returns the instances in the bag.
|
boolean |
isEnabled()
Is the bag enabled?
|
boolean |
isPositive()
Is the bag positive?
|
static void |
printDeactivatedInstances(java.util.List<java.lang.String> deactivated)
Prints all the deactivated instances to standard out.
|
void |
setBagWeightMultiplier(double multiplier)
The multiplier for the bag weight.
|
public weka.core.Instances instances()
public boolean isPositive()
public double bagWeight()
public void setBagWeightMultiplier(double multiplier)
public boolean isEnabled()
public void disableInstances(java.util.List<java.lang.String> deactivated)
public static void printDeactivatedInstances(java.util.List<java.lang.String> deactivated)