|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.ObjectjAudioFeatureExtractor.AudioFeatures.FeatureExtractor
jAudioFeatureExtractor.AudioFeatures.MetaFeatureFactory
jAudioFeatureExtractor.AudioFeatures.Mean
public class Mean
Calculates the running mean of an underlying feature.
フィールドの概要 | |
---|---|
protected int |
runningAverage
|
クラス jAudioFeatureExtractor.AudioFeatures.MetaFeatureFactory から継承されたフィールド |
---|
fe_ |
クラス jAudioFeatureExtractor.AudioFeatures.FeatureExtractor から継承されたフィールド |
---|
definition, dependencies, offsets, parent |
コンストラクタの概要 | |
---|---|
Mean()
Basic constructor that initializes the metafeautres values properly for use as a factory. |
|
Mean(MetaFeatureFactory mff)
Convenience constructor to create a new factory object with the given dependant metafeature |
メソッドの概要 | |
---|---|
java.lang.Object |
clone()
Create an identical copy of this feature. |
MetaFeatureFactory |
defineFeature(FeatureExtractor fe)
Factory method for this class which generates a fully usable MetaFeature object. |
double[] |
extractFeature(double[] samples,
double sampling_rate,
double[][] other_feature_values)
Calculates the mean over last 100 windows |
java.lang.String |
getElement(int index)
Function permitting an unintelligent outside function (ie. |
FeatureDefinition |
getFeatureDefinition()
Overridden to regenerate the feature definition. |
void |
setElement(int index,
java.lang.String value)
Function permitting an unintelligent outside function (ie. |
void |
setWindow(int n)
Changes the number of dependant samples extracted for each object. |
クラス jAudioFeatureExtractor.AudioFeatures.MetaFeatureFactory から継承されたメソッド |
---|
chainMetaFeatureFactory, setParent |
クラス jAudioFeatureExtractor.AudioFeatures.FeatureExtractor から継承されたメソッド |
---|
getDepenedencies, getDepenedencyOffsets |
クラス java.lang.Object から継承されたメソッド |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected int runningAverage
コンストラクタの詳細 |
---|
public Mean()
public Mean(MetaFeatureFactory mff)
mff
- metafeature factory that this newly created object should
depend upon.メソッドの詳細 |
---|
public MetaFeatureFactory defineFeature(FeatureExtractor fe)
MetaFeatureFactory
内の defineFeature
fe
- Feature to be used as base for feature extraction
public double[] extractFeature(double[] samples, double sampling_rate, double[][] other_feature_values) throws java.lang.Exception
FeatureExtractor
内の extractFeature
samples
- signal being processedsampling_rate
- sample rate of the signalother_feature_values
- dependancies of the current signal
java.lang.Exception
- Throws an informative exception if the feature cannot be
calculated.public void setWindow(int n) throws java.lang.Exception
MetaFeatureFactory
内の setWindow
n
- number of samples that should be included in the running
average.
java.lang.Exception
- thrown if n is equal to or less than onepublic java.lang.String getElement(int index) throws java.lang.Exception
As a metafeature, recursively calls children for the feature requested.
FeatureExtractor
内の getElement
index
- which of AreaMoment's attributes should be edited.
java.lang.Exception
public void setElement(int index, java.lang.String value) throws java.lang.Exception
As a metafeature, recursively calls children to set the feature requested.
FeatureExtractor
内の setElement
index
- attribute to be setvalue
- new value of the attribute
java.lang.Exception
public java.lang.Object clone()
FeatureExtractor
内の clone
public FeatureDefinition getFeatureDefinition()
FeatureExtractor
内の getFeatureDefinition
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |