public abstract class AbstractFrequentItemsetAlgorithm extends AbstractAlgorithm<FrequentItemsetsResult>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractFrequentItemsetAlgorithm.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected int |
maxlength
Parameter for minimum and maximum length.
|
protected int |
minlength
Parameter for minimum and maximum length.
|
private double |
minsupp
Minimum support.
|
ALGORITHM_ID
Constructor and Description |
---|
AbstractFrequentItemsetAlgorithm(double minsupp)
Constructor.
|
AbstractFrequentItemsetAlgorithm(double minsupp,
int minlength,
int maxlength)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getMinimumSupport(int size)
Get the minimum support for a given data set size.
|
getInputTypeRestriction, getLogger, run
private double minsupp
protected int minlength
protected int maxlength
public AbstractFrequentItemsetAlgorithm(double minsupp, int minlength, int maxlength)
minsupp
- Minimum supportminlength
- Minimum lengthmaxlength
- Maximum lengthpublic AbstractFrequentItemsetAlgorithm(double minsupp)
minsupp
- Minimum supportCopyright © 2019 ELKI Development Team. License information.