|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.generator.SinusFactory
public class SinusFactory
Factory class to produce new attributes based on the fourier synthesis of the label mapped on an attribute dimension.
| Field Summary | |
|---|---|
static java.lang.String[] |
ADAPTION_TYPES
|
static int |
GAUSSIAN
|
static int |
UNIFORMLY
|
static int |
UNIFORMLY_WITHOUT_NU
|
| Constructor Summary | |
|---|---|
SinusFactory(int maxPeaks)
Creates a new sinus factory which creates maxPeaks new
peaks. |
|
| Method Summary | |
|---|---|
void |
generateSinusFunctions(ExampleSet exampleSet,
java.util.List<AttributePeak> attributes,
java.util.Random random)
Generates a new sinus function attribute for all given attribute peaks. |
java.util.List<AttributePeak> |
getAttributePeaks(ExampleSet exampleSet,
Attribute first,
Attribute second)
Calculates the fourier transformation from the first attribute on the second and delivers the maxPeaks highest peaks. |
void |
setAdaptionType(int type)
|
void |
setAttributePerPeak(int attributesPerPeak)
Must be bigger than 2! |
void |
setEpsilon(double epsilon)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] ADAPTION_TYPES
public static final int UNIFORMLY
public static final int UNIFORMLY_WITHOUT_NU
public static final int GAUSSIAN
| Constructor Detail |
|---|
public SinusFactory(int maxPeaks)
maxPeaks new
peaks. Uses Blackman-Harris window function and no spectrum filter as
default. The adaption type is gaussian with an epsilon of 0.1. The
factory produces three attributes for each highest peak as default.
| Method Detail |
|---|
public void setAdaptionType(int type)
public void setEpsilon(double epsilon)
public void setAttributePerPeak(int attributesPerPeak)
public java.util.List<AttributePeak> getAttributePeaks(ExampleSet exampleSet,
Attribute first,
Attribute second)
throws OperatorException
maxPeaks highest peaks. Returns a
list with the highest attribute peaks.
OperatorException
public void generateSinusFunctions(ExampleSet exampleSet,
java.util.List<AttributePeak> attributes,
java.util.Random random)
throws GenerationException
GenerationException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||