public abstract class BaseUnderSamplingPreProcessor extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
tbpttWindowSize |
Constructor and Description |
---|
BaseUnderSamplingPreProcessor() |
Modifier and Type | Method and Description |
---|---|
INDArray |
adjustMasks(INDArray label,
INDArray labelMask,
int minorityLabel,
double targetDist) |
void |
donotMaskAllMajorityWindows()
If a tbptt segment is all majority class labels default behaviour is to mask all time steps in the segment.
|
void |
donotMaskMinorityWindows()
If set will not mask timesteps if they fall in a tbptt segment with at least one minority class label
|
public void donotMaskAllMajorityWindows()
public void donotMaskMinorityWindows()
Copyright © 2019. All rights reserved.