Serialized Form


Package marf

Class marf.Configuration extends java.lang.Object implements Serializable

Serialized Fields

iPreprocessingMethod

int iPreprocessingMethod
Indicates what preprocessing method to use in the pipeline.


iFeatureExtractionMethod

int iFeatureExtractionMethod
Indicates what feature extraction method to use in the pipeline.


iClassificationMethod

int iClassificationMethod
Indicates what classification method to use in the pipeline.


iSampleFormat

int iSampleFormat
Indicates what sample format is in use.


iCurrentSubject

int iCurrentSubject
ID of the currently trained speaker.


strFileName

java.lang.String strFileName
Indicates current incoming sample filename.


strSamplesDir

java.lang.String strSamplesDir
Indicates directory name with training samples.


oModuleParams

ModuleParams oModuleParams
Stores module-specific parameters in an independent way.


bDumpSpectrogram

boolean bDumpSpectrogram
Indicates whether or not to dump a spectrogram at the end of feature extraction.


bDumpWaveGraph

boolean bDumpWaveGraph
Indicates whether or not to dump a wave graph.


strSampleLoaderPluginClass

java.lang.String strSampleLoaderPluginClass
Fully-qualified class name of a sample loader plug-in.


strPreprocessingPluginClass

java.lang.String strPreprocessingPluginClass
Fully-qualified class name of a preprocessing plug-in.


strFeatureExtractionPluginClass

java.lang.String strFeatureExtractionPluginClass
Fully-qualified class name of a feature extraction plug-in.


strClassificationPluginClass

java.lang.String strClassificationPluginClass
Fully-qualified class name of a classification plug-in.


bDebug

boolean bDebug
Debug flag.


Package marf.Classification

Class marf.Classification.Classification extends StorageManager implements Serializable

serialVersionUID: 7933249658173204609L

Serialized Fields

oFeatureExtraction

IFeatureExtraction oFeatureExtraction
Reference to the enclosed FeatureExtraction object.


oTrainingSet

TrainingSet oTrainingSet
TrainingSet Container.


adFeatureVector

double[] adFeatureVector
Local reference to the array of features, either obtained from the feature extraction module or passed directly to train() or classify. Used in prevention of NullPointerException, bug #1539695.

Since:
0.3.0.6
See Also:
Classification.train(double[]), IClassification.classify(double[])

oResultSet

ResultSet oResultSet
Classification result set. May contain one or more results (in case of similarity).

Since:
0.3.0.2

Class marf.Classification.ClassificationException extends MARFException implements Serializable

serialVersionUID: -1088263414931478219L


Package marf.Classification.Distance

Class marf.Classification.Distance.ChebyshevDistance extends Distance implements Serializable

serialVersionUID: -9173510703171507530L

Class marf.Classification.Distance.DiffDistance extends Distance implements Serializable

serialVersionUID: 4805074823902537333L

Class marf.Classification.Distance.Distance extends Classification implements Serializable

serialVersionUID: -6142163714569438592L

Class marf.Classification.Distance.EuclideanDistance extends Distance implements Serializable

serialVersionUID: 6805036936942102456L

Class marf.Classification.Distance.HammingDistance extends Distance implements Serializable

Serialized Fields

iDistanceType

int iDistanceType

dAllowedError

double dAllowedError

Class marf.Classification.Distance.MahalanobisDistance extends Distance implements Serializable

serialVersionUID: -6720267386878796592L

Serialized Fields

oC

Matrix oC
Covariance Matrix.

Class marf.Classification.Distance.MinkowskiDistance extends Distance implements Serializable

serialVersionUID: 5195894141171408028L

Serialized Fields

r

double r
Minkowski Factor. Default is 3; r = 1 is Chebyshev distance, r = 2 is Euclidean distance.


Package marf.Classification.Markov

Class marf.Classification.Markov.Markov extends Stochastic implements Serializable

serialVersionUID: 4931363558439103262L


Package marf.Classification.NeuralNetwork

Class marf.Classification.NeuralNetwork.Layer extends BaseThread implements Serializable

serialVersionUID: 6204412694265536336L

Serialized Fields

oLayerData

java.util.ArrayList oLayerData
Layer's data (a collection of neurons).

Since:
0.3.0.5

Class marf.Classification.NeuralNetwork.NeuralNetwork extends Classification implements Serializable

serialVersionUID: 6116721242820120028L

Serialized Fields

oLayers

java.util.ArrayList oLayers
Collection of layers.


oInputs

Layer oInputs
Input layer.


oOutputs

Layer oOutputs
Output layer.

Class marf.Classification.NeuralNetwork.Neuron extends BaseThread implements Serializable

serialVersionUID: -1386828790026558068L

Serialized Fields

strName

java.lang.String strName
Neuron's name.


iType

int iType
Current neuron type.


oInputs

java.util.ArrayList oInputs
Inputs of the current Neuron.


oWeights

java.util.ArrayList oWeights
Inputs' weights.


oWeightsBuffer

java.util.ArrayList oWeightsBuffer
Buffered weights to be committed.


oOutputs

java.util.ArrayList oOutputs
Outputs of the current Neuron.


dDelta

double dDelta
Used in error calculation.


dThreshold

double dThreshold
Activation threshold.


dResult

double dResult
Current Neuron's result.


Package marf.Classification.RandomClassification

Class marf.Classification.RandomClassification.RandomClassification extends Classification implements Serializable

serialVersionUID: -6770780209979417110L

Serialized Fields

oIDs

java.util.Vector oIDs
Vector of integer IDs.


Package marf.Classification.Similarity

Class marf.Classification.Similarity.CosineSimilarityMeasure extends Classification implements Serializable


Package marf.Classification.Stochastic

Class marf.Classification.Stochastic.MaxProbabilityClassifier extends Stochastic implements Serializable

serialVersionUID: 8665926058819588355L

Serialized Fields

oStatisticalEstimator

StatisticalEstimator oStatisticalEstimator
Local reference to some instance of a statistical estimator for probability computation.


oAvailLanguages

java.util.Vector oAvailLanguages
A collection of available natural languages.

Class marf.Classification.Stochastic.Stochastic extends Classification implements Serializable

serialVersionUID: -415255678695729045L

Class marf.Classification.Stochastic.ZipfLaw extends Stochastic implements Serializable

serialVersionUID: -7356104653992493029L

Serialized Fields

oStats

java.util.Hashtable oStats
Local collection of word stats.


aoSortedStatRefs

StatisticalObject[] aoSortedStatRefs
Sorted references to stats. As of 0.3.0.6 was set to the base type StatisticalObject instead of WordStats to allow other than word elements.


bDumpLogariphm

boolean bDumpLogariphm
Indicates whether to dump in log-log scale format or not.


iMaxWordLength

int iMaxWordLength
The length of a longest word found in characters.

Since:
0.3.0.5

iMinWordLength

int iMinWordLength
The length of a smallest word found in characters.

Since:
0.3.0.5

iOutputPageSize

int iOutputPageSize
When the results are dumped in the text mode, tell how many records to show per page.

Since:
0.3.0.6

Package marf.FeatureExtraction

Class marf.FeatureExtraction.FeatureExtraction extends StorageManager implements Serializable

serialVersionUID: 7608607169147548576L

Serialized Fields

oPreprocessing

IPreprocessing oPreprocessing
Internal reference to the Preprocessing module.


adFeatures

double[] adFeatures
An array of features extracted (coefficiencies and/or amplitude values).


oFeatureSet

FeatureSet oFeatureSet
A collection of feature vectors or sets for a subject.

Since:
0.3.0.6

Class marf.FeatureExtraction.FeatureExtractionAggregator extends FeatureExtraction implements Serializable

serialVersionUID: -8848546172469832656L

Class marf.FeatureExtraction.FeatureExtractionException extends MARFException implements Serializable

serialVersionUID: -2325585432639761782L


Package marf.FeatureExtraction.Cepstral

Class marf.FeatureExtraction.Cepstral.Cepstral extends FeatureExtraction implements Serializable

serialVersionUID: -1963503086097237420L


Package marf.FeatureExtraction.F0

Class marf.FeatureExtraction.F0.F0 extends FeatureExtraction implements Serializable

serialVersionUID: -3839525282289019623L


Package marf.FeatureExtraction.FFT

Class marf.FeatureExtraction.FFT.FFT extends FeatureExtraction implements Serializable

serialVersionUID: 4400274959804693096L

Serialized Fields

iChunkSize

int iChunkSize
FFT chunk size. Must be a power of 2.

Since:
0.3.0.4

Package marf.FeatureExtraction.LPC

Class marf.FeatureExtraction.LPC.LPC extends FeatureExtraction implements Serializable

serialVersionUID: 7960314467497310447L

Serialized Fields

iPoles

int iPoles
Number of poles.

A pole is a root of the denominator in the Laplace transform of the input-to-output representation of the speech signal.


iWindowLen

int iWindowLen
Window length.


Package marf.FeatureExtraction.MinMaxAmplitudes

Class marf.FeatureExtraction.MinMaxAmplitudes.MinMaxAmplitudes extends FeatureExtraction implements Serializable

serialVersionUID: 5096308560737883614L


Package marf.FeatureExtraction.RandomFeatureExtraction

Class marf.FeatureExtraction.RandomFeatureExtraction.RandomFeatureExtraction extends FeatureExtraction implements Serializable

serialVersionUID: -5469714962808143269L


Package marf.FeatureExtraction.RawFeatureExtraction

Class marf.FeatureExtraction.RawFeatureExtraction.RawFeatureExtraction extends FeatureExtraction implements Serializable

Serialized Fields

iMode

int iMode

Package marf.FeatureExtraction.Segmentation

Class marf.FeatureExtraction.Segmentation.Segmentation extends FeatureExtraction implements Serializable

serialVersionUID: -8113388768153118543L


Package marf.gui

Class marf.gui.GUIException extends MARFException implements Serializable

serialVersionUID: -2165583195552754018L

Class marf.gui.Spectrogram extends StorageManager implements Serializable

serialVersionUID: -8219029755014757254L

Serialized Fields

oData

java.util.Vector oData
The data vector.


dMin

double dMin
Current minimum.


dMax

double dMax
Current maximum.


strMethod

java.lang.String strMethod
To differentiate file names based on the feature extraction method name.

Class marf.gui.SpectrogramPanel extends BorderPanel implements Serializable

serialVersionUID: 6943369072027609738L

Serialized Fields

oSpectrogram

Spectrogram oSpectrogram
Reference to the spectrogram object to draw.


oStatusPanel

ColoredStatusPanel oStatusPanel
Status panel reference.

Class marf.gui.WaveGrapher extends StorageManager implements Serializable

serialVersionUID: -8014202943411824894L

Serialized Fields

adDataArray

double[] adDataArray
Data to graph.


dXmin

double dXmin
Range of data for the X axis -- Minimum.


dXmax

double dXmax
Range of data for the X axis -- Maximum.

Class marf.gui.WaveGrapherPanel extends BorderPanel implements Serializable

serialVersionUID: 3804010606988001885L

Serialized Fields

oWaveGrapher

WaveGrapher oWaveGrapher
Local reference to the wave grapher object for data.


oStatusPanel

ColoredStatusPanel oStatusPanel
Local reference to the status panel.


Package marf.gui.util

Class marf.gui.util.BorderPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 5958419285249288359L

Class marf.gui.util.ColoredStatusBox extends javax.swing.JPanel implements Serializable

Serialized Fields

oStatusLabel

javax.swing.JLabel oStatusLabel

Class marf.gui.util.ColoredStatusPanel extends SmartSizablePanel implements Serializable

serialVersionUID: 2835022627059977227L

Serialized Fields

iLowerBound

int iLowerBound
Lower bound.


iUpperBound

int iUpperBound
Upper bound.


iCurrentStatus

int iCurrentStatus
Should be between lower and upper bounds.

Class marf.gui.util.SmartSizablePanel extends java.awt.Panel implements Serializable

serialVersionUID: 6046101142847554184L

Serialized Fields

iX

int iX
The X position of the top-left corner.


iY

int iY
The Y position of the top-left corner.


iWidth

int iWidth
The width of the panel.


iHeight

int iHeight
The height of the panel.


Package marf.math

Class marf.math.ComplexMatrix extends Matrix implements Serializable

Serialized Fields

adImaginaryMatrix

double[] adImaginaryMatrix
The corresponding imaginary data to the real data array.

Class marf.math.ComplexNumber extends java.lang.Object implements Serializable

Serialized Fields

dReal

double dReal

dImaginary

double dImaginary

Class marf.math.ComplexVector extends ComplexMatrix implements Serializable

Class marf.math.MathException extends MARFException implements Serializable

serialVersionUID: -5874565130017306067L

Class marf.math.Matrix extends java.lang.Object implements Serializable

serialVersionUID: -4663728617934529725L

Serialized Fields

iRows

int iRows
Actual number of rows in the matrix.


iCols

int iCols
Actual number of columns in the matrix.


adMatrix

double[] adMatrix
Matrix itself.

Class marf.math.Vector extends Matrix implements Serializable

serialVersionUID: -220324533429950897L


Package marf.nlp

Class marf.nlp.NLPException extends MARFException implements Serializable

serialVersionUID: -6738475142356489003L


Package marf.nlp.Parsing

Class marf.nlp.Parsing.CompilerError extends NLPException implements Serializable

serialVersionUID: -6425511198047596019L

Serialized Fields

iCurrentErrorCode

int iCurrentErrorCode
Error code of the last error occurred.

Since:
October 2, 2001

iLineNo

int iLineNo
Line number where the given error occurred. The default value of (-1) means it was not yet initialized.

Since:
October 2, 2001

Class marf.nlp.Parsing.LexicalError extends CompilerError implements Serializable

serialVersionUID: -3570759402876617546L

Serialized Fields

oFaultingToken

Token oFaultingToken
Token information at which Lexer encountered the error.

Since:
October 2, 2001

Class marf.nlp.Parsing.ProbabilisticParser extends StorageManager implements Serializable

serialVersionUID: -2675525629027897961L

Serialized Fields

adParseMatrix

double[][][] adParseMatrix
3-dimensional parse matrix for CYK.


aoBack

java.util.Vector[][][] aoBack
3-dimensional collection of back-vectors for CYK.


oWords

java.util.Vector oWords
A collection of words (dictionary).


oGrammar

Grammar oGrammar
Instance of the grammar data structure to be used.

Class marf.nlp.Parsing.SemanticError extends CompilerError implements Serializable

serialVersionUID: 2985322185168851077L

Serialized Fields

oFaultingToken

Token oFaultingToken
Token information at which Lexer encountered the error.

Since:
October 2, 2001

Class marf.nlp.Parsing.SyntaxError extends CompilerError implements Serializable

serialVersionUID: -7701158080244875322L

Serialized Fields

oFaultingToken

Token oFaultingToken
Token information at which Parser encountered the error.

Since:
October 2, 2001

iRecoveryActionCode

int iRecoveryActionCode
Recovery action code specifies which action to take to recover from this error.

Class marf.nlp.Parsing.Token extends java.lang.Object implements Serializable

serialVersionUID: 3470336900324740404L

Serialized Fields

strLexeme

java.lang.String strLexeme
Spelling of the token.


oPosition

java.awt.Point oPosition
Line and column where the token occurred.


oTokenType

TokenSubType oTokenType
Token type.


dNumericalValue

double dNumericalValue
Numerical value associated with the token to be mapped to StreamTokenizer.nval

See Also:
StreamTokenizer.nval

Class marf.nlp.Parsing.TokenSubType extends TokenType implements Serializable

serialVersionUID: 8570456006441229360L

Serialized Fields

iSubtype

int iSubtype
Token subtype; default is UNKNOWN.

See Also:
TokenType.UNKNOWN

Class marf.nlp.Parsing.TokenType extends java.lang.Object implements Serializable

serialVersionUID: 8903691871078901508L

Serialized Fields

iType

int iType
Current token type.

Class marf.nlp.Parsing.TransitionTable extends java.lang.Object implements Serializable

serialVersionUID: 7463126736067849797L

Serialized Fields

oTT

java.util.Vector oTT
Transition Table (TT) is a Vector of Vectors of Objects, such as Rules and SyntaxErrors.

See Also:
Rule, SyntaxError

oNonTerminals

java.util.Vector oNonTerminals
Vector of NonTerminals as "row-pointers" to TT.


oTerminals

java.util.Vector oTerminals
Vector of Terminals as "column-pointers" to TT.


iEOFTerminalID

int iEOFTerminalID

iStartNonTerminalID

int iStartNonTerminalID

Package marf.nlp.Parsing.GrammarCompiler

Class marf.nlp.Parsing.GrammarCompiler.Grammar extends java.lang.Object implements Serializable

serialVersionUID: 6609212530215315816L

Serialized Fields

oTerminalList

java.util.Vector oTerminalList
List of terminals.


oNonTerminalList

java.util.Vector oNonTerminalList
List of non-terminals.


oRules

java.util.Vector oRules
A vector of rules.


oEOFTerminal

Terminal oEOFTerminal
A local EOF terminal reference.


oEpsilonTerminal

Terminal oEpsilonTerminal
The epsilon token.


oStartNonTerminal

NonTerminal oStartNonTerminal
A reference to the starting state.

Class marf.nlp.Parsing.GrammarCompiler.GrammarCompiler extends StorageManager implements Serializable

serialVersionUID: -8821074737532287405L

Serialized Fields

oGrammar

Grammar oGrammar
Instance of the grammar as a set of production Rules, First and Follow sets.


strGrammarFileName

java.lang.String strGrammarFileName
Source grammar filename.


oGrammarAnalyzer

GrammarAnalyzer oGrammarAnalyzer
Lexical Analyzer for the grammar.


oGrammarElement

GrammarElement oGrammarElement
Current grammar element.


oToken

Token oToken
Current lexical token.


oRule

Rule oRule
Current grammar rule.

Class marf.nlp.Parsing.GrammarCompiler.GrammarElement extends java.lang.Object implements Serializable

serialVersionUID: -7580710676855516151L

Serialized Fields

strName

java.lang.String strName
A name of a token to refer to.


iID

int iID
ID to act as an index to table.


oToken

Token oToken
A bit extra info in the encapsulated token.


oFirstSet

java.util.Vector oFirstSet
FirstSet of us.

Class marf.nlp.Parsing.GrammarCompiler.GrammarTokenType extends TokenSubType implements Serializable

serialVersionUID: -7553127246479223050L

Class marf.nlp.Parsing.GrammarCompiler.NonTerminal extends GrammarElement implements Serializable

serialVersionUID: 5638226005744022394L

Serialized Fields

bDefined

boolean bDefined
Flag indicating whether this non-terminal is defined or not.


oFollowSet

java.util.Vector oFollowSet
Follow set of this non-terminal.

Class marf.nlp.Parsing.GrammarCompiler.ProbabilisticGrammarCompiler extends GrammarCompiler implements Serializable

serialVersionUID: -5611774474809711992L

Class marf.nlp.Parsing.GrammarCompiler.ProbabilisticGrammarTokenType extends GrammarTokenType implements Serializable

serialVersionUID: 2537398679757478875L

Class marf.nlp.Parsing.GrammarCompiler.ProbabilisticRule extends Rule implements Serializable

serialVersionUID: 1346265103950170148L

Serialized Fields

dProbability

double dProbability
Probability of the rule.

Class marf.nlp.Parsing.GrammarCompiler.Rule extends java.lang.Object implements Serializable

serialVersionUID: 1346265103950170148L

Serialized Fields

iID

int iID
ID for reference and debugging.


oLHS

NonTerminal oLHS
Left-hand side of this rule. Must be a non-terminal.


oRHS

java.util.Vector oRHS
A vector of grammar elements on the right-hand-side of a production.

Class marf.nlp.Parsing.GrammarCompiler.SemanticToken extends GrammarElement implements Serializable

serialVersionUID: 2945717735922665260L

Class marf.nlp.Parsing.GrammarCompiler.Terminal extends GrammarElement implements Serializable

serialVersionUID: 1691151577764029404L

Serialized Fields

oType

GrammarTokenType oType
Grammar token type.


Package marf.nlp.Storage

Class marf.nlp.Storage.CorporaStorageManager extends StorageManager implements Serializable

Class marf.nlp.Storage.Corpus extends java.lang.Object implements Serializable

Serialized Fields

iCaseSensitivity

int iCaseSensitivity

oRawCorpusTextBuffer

java.lang.StringBuffer oRawCorpusTextBuffer
Plain-text container.


iMatches

int iMatches

iInserts

int iInserts

iDeletes

int iDeletes

iModifications

int iModifications

oTokenizedCorpus

java.util.List oTokenizedCorpus

Package marf.Preprocessing

Class marf.Preprocessing.Filter extends Preprocessing implements Serializable

Class marf.Preprocessing.Preprocessing extends StorageManager implements Serializable

serialVersionUID: 1311696194896319668L

Serialized Fields

oSample

Sample oSample
Sample reference.


dSilenceThreshold

double dSilenceThreshold
Current silence removal threshold.

Since:
0.3.0.6
See Also:
Preprocessing.DEFAULT_SILENCE_THRESHOLD

bRemoveNoise

boolean bRemoveNoise
By default we do not remove noise.


bRemoveSilence

boolean bRemoveSilence
By default we do not remove silence.

Class marf.Preprocessing.PreprocessingException extends MARFException implements Serializable

serialVersionUID: 7005439039328507785L


Package marf.Preprocessing.CFEFilters

Class marf.Preprocessing.CFEFilters.BandPassFilter extends CFEFilter implements Serializable

Class marf.Preprocessing.CFEFilters.BandStopFilter extends CFEFilter implements Serializable

Class marf.Preprocessing.CFEFilters.CFEFilter extends Filter implements Serializable

Serialized Fields

a00

double a00

a01

double a01

a10

double a10

a11

double a11

b00

double b00

b01

double b01

b10

double b10

b11

double b11

a1

double a1

a2

double a2

b1

double b1

b2

double b2

k1

double k1

k2

double k2

strConfig

java.lang.String strConfig

oZ1

ComplexMatrix oZ1

oZ2

ComplexMatrix oZ2

iChunkSize

int iChunkSize

H

ComplexMatrix H

Class marf.Preprocessing.CFEFilters.HighPassFilter extends LowPassFilter implements Serializable

Class marf.Preprocessing.CFEFilters.LowPassFilter extends CFEFilter implements Serializable


Package marf.Preprocessing.Dummy

Class marf.Preprocessing.Dummy.Crop extends Raw implements Serializable

Serialized Fields

iCropLeft

int iCropLeft
Where to start cropping from, by default (chunk-size, i.e. preserving the elements from 0 to chunk-size - 1).


iCropChunkSize

int iCropChunkSize

iCropRight

int iCropRight
Where to stop cropping, by default "the rest of the sample".

Class marf.Preprocessing.Dummy.Dummy extends Preprocessing implements Serializable

serialVersionUID: -8360158324170431628L

Class marf.Preprocessing.Dummy.Raw extends Dummy implements Serializable

serialVersionUID: 6915809043983583380L


Package marf.Preprocessing.Endpoint

Class marf.Preprocessing.Endpoint.Endpoint extends Preprocessing implements Serializable

serialVersionUID: -3032497180742434272L

Serialized Fields

bCompress

boolean bCompress
Indicates whether to compress or not the sample before extracting edpoints. Default is false.

Since:
0.3.0.5

bConsiderEdges

boolean bConsiderEdges
Indicates whether to consider or or not the edge points (at the beginning and the end of the sample) as endpoints. Default is true.

Since:
0.3.0.5

Package marf.Preprocessing.FFTFilter

Class marf.Preprocessing.FFTFilter.BandpassFilter extends FFTFilter implements Serializable

serialVersionUID: -8413024016319719417L

Class marf.Preprocessing.FFTFilter.BandStopFilter extends FFTFilter implements Serializable

serialVersionUID: -8413024016319719417L

Class marf.Preprocessing.FFTFilter.FFTFilter extends Filter implements Serializable

serialVersionUID: 6541078445959523547L

Class marf.Preprocessing.FFTFilter.HighFrequencyBoost extends FFTFilter implements Serializable

serialVersionUID: 7235987711570372477L

Serialized Fields

dBoostCoefficient

double dBoostCoefficient
Current boost coefficient. By default is set to BASE_BOOST_COEFFICIENT.

Since:
0.3.0.5
See Also:
HighFrequencyBoost.BASE_BOOST_COEFFICIENT

dHighFrequencyCutoff

double dHighFrequencyCutoff
Current high frequency cut off. By default is set to DEFAULT_HIGH_FREQUENCY_CUTOFF.

Since:
0.3.0.5
See Also:
HighFrequencyBoost.DEFAULT_HIGH_FREQUENCY_CUTOFF

Class marf.Preprocessing.FFTFilter.HighPassFilter extends FFTFilter implements Serializable

serialVersionUID: 6784418884789745008L

Class marf.Preprocessing.FFTFilter.LowPassFilter extends FFTFilter implements Serializable

serialVersionUID: 3977132223367145970L


Package marf.Stats

Class marf.Stats.Ngram extends Observation implements Serializable

serialVersionUID: -7377051981115115072L

Serialized Fields

iSize

int iSize
0 - unset (default), 1 - unigram, 2 - bigram, 3 - trigram, etc.


iCapacity

int iCapacity
N-gram's current capacity. Default is 0.


aoNgramElements

Ngram[] aoNgramElements
N-gram's parts.

Class marf.Stats.Observation extends WordStats implements Serializable

serialVersionUID: 608350003332106275L

Serialized Fields

dPriorProbability

double dPriorProbability
Probability of the observation of happening prior it actually being observed.


dPosteriorProbability

double dPosteriorProbability
Probability of the observation after it was observed.


bSeen

boolean bSeen
Indicates a fact that this observation has been "seen".

Class marf.Stats.ProbabilityTable extends java.lang.Object implements Serializable

serialVersionUID: 8675912614927409276L

Serialized Fields

oColumnIndex

java.util.Vector oColumnIndex
Observations by columns. Observation's index in the vector is the one in the table by n-grams.


oNMatrix

Matrix oNMatrix
Vector of vectors of probabilities, which are Double objects. To save space null means 0.0.


strLang

java.lang.String strLang
Current natural language. Default is "en".

Class marf.Stats.StatisticalObject extends java.lang.Object implements Serializable

serialVersionUID: 3277836605237662721L

Serialized Fields

iFrequency

int iFrequency
Number of occurrences of this object basic data in a given document (for example a corpus or a WAVE file). Default 0.


iRank

int iRank
Rank of the object in the document. The rank of 1 indicates the most frequent. Default is -1, i.e. unset.

Class marf.Stats.WordStats extends StatisticalObject implements Serializable

serialVersionUID: 1553592340644601516L

Serialized Fields

strLexeme

java.lang.String strLexeme
Spelling of the word.


Package marf.Stats.StatisticalEstimators

Class marf.Stats.StatisticalEstimators.GLI extends StatisticalEstimator implements Serializable

serialVersionUID: -2834387217504589395L

Class marf.Stats.StatisticalEstimators.KatzBackoff extends StatisticalEstimator implements Serializable

serialVersionUID: 7089278009894659434L

Class marf.Stats.StatisticalEstimators.MLE extends AddDelta implements Serializable

serialVersionUID: -2490823052719390594L

Class marf.Stats.StatisticalEstimators.SLI extends StatisticalEstimator implements Serializable

serialVersionUID: -4349244415620171096L

Class marf.Stats.StatisticalEstimators.StatisticalEstimator extends StorageManager implements Serializable

serialVersionUID: -7023903602882315275L

Serialized Fields

oProbabilityTable

ProbabilityTable oProbabilityTable
Probabilities table to perform estimation on.


oStreamTokenizer

NLPStreamTokenizer oStreamTokenizer
Stream tokenizer for NLP processing to get word and non-word tokens from.


Package marf.Stats.StatisticalEstimators.Smoothing

Class marf.Stats.StatisticalEstimators.Smoothing.AddDelta extends Smoothing implements Serializable

serialVersionUID: -3936382438064284172L

Serialized Fields

dDelta

double dDelta
Default is 0.5: Expected Likelihood Estimation (ELE).

Class marf.Stats.StatisticalEstimators.Smoothing.AddOne extends AddDelta implements Serializable

serialVersionUID: 3966754485295753364L

Class marf.Stats.StatisticalEstimators.Smoothing.GoodTuring extends Smoothing implements Serializable

serialVersionUID: -2336791420487311348L

Serialized Fields

iThreshold

int iThreshold
Good-Turing threshold value.

Class marf.Stats.StatisticalEstimators.Smoothing.Smoothing extends StatisticalEstimator implements Serializable

serialVersionUID: 3404406955334414583L

Class marf.Stats.StatisticalEstimators.Smoothing.WittenBell extends Smoothing implements Serializable

serialVersionUID: 4056635859068758735L


Package marf.Storage

Class marf.Storage.Cluster extends TrainingSample implements Serializable

serialVersionUID: -8773915807751754560L

Serialized Fields

iMeanCount

int iMeanCount
How many times the mean was computed. Used in recomputation of it when new data is coming in.

Class marf.Storage.Database extends StorageManager implements Serializable

serialVersionUID: -2712666434829768112L

Serialized Fields

bConnected

boolean bConnected
Indicates whether we are connected or not.

Class marf.Storage.FeatureSet extends Cluster implements Serializable

serialVersionUID: -1931299425905008139L

Serialized Fields

oFeatureVectors

java.util.Vector oFeatureVectors
A Vector of TrainingSamples.


iLastTypeVectorComputed

int iLastTypeVectorComputed
Type of the primary vector data member computed last.

See Also:
CACHED_VECTOR_TYPE_INVALID, CACHED_VECTOR_TYPE_MEAN, CACHED_VECTOR_TYPE_MEDIAN

iMaxColumns

int iMaxColumns

Class marf.Storage.ModuleParams extends java.lang.Object implements Serializable

serialVersionUID: -4980315360455857956L

Serialized Fields

oPreprocessingParams

java.util.Vector oPreprocessingParams
A Vector of preprocessing parameters.


oFeatureExtractionParams

java.util.Vector oFeatureExtractionParams
A Vector of feature extraction parameters.


oClassificationParams

java.util.Vector oClassificationParams
A Vector of classification parameters.

Class marf.Storage.Result extends java.lang.Object implements Serializable

serialVersionUID: 5289013996325438809L

Serialized Fields

iID

int iID
Identified subject's ID.


strDescription

java.lang.String strDescription
Textual result description.

Since:
0.3.0

dOutcome

double dOutcome
Distance/probability.

Since:
0.3.0

Class marf.Storage.ResultSet extends java.lang.Object implements Serializable

serialVersionUID: -3133714664001380852L

Serialized Fields

oResultSet

java.util.Vector oResultSet
Distances from other samples and other stats or probabilities and likelihood (growable and shrinkable).


aoResultSetSorted

Result[] aoResultSetSorted
References to the objects in the oResultSet in the sorted order.


iSortMode

int iSortMode
Used to remember in which direction sorting was performed, so some methods can work correctly. Default is UNSORTED. Otherwise, it is SortComparator.ASCENDING or SortComparator.DESCENDING. It is set by the sort() method only.

Since:
0.3.0.3
See Also:
ResultSet.getSecondClosestID(), ResultSet.sort(int), SortComparator.ASCENDING, SortComparator.DESCENDING, ResultSet.UNSORTED

Class marf.Storage.Sample extends java.lang.Object implements Serializable

serialVersionUID: 505671131094530371L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream poStream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Custom implementation of the object reading to be able to restore the transient data.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Since:
0.3.0.6

writeObject

private void writeObject(java.io.ObjectOutputStream poStream)
                  throws java.io.IOException
Implements the serialization of the object data to pair-match the readObject.

Throws:
java.io.IOException
See Also:
Sample.readObject(java.io.ObjectInputStream)
Serialized Fields

iFormat

int iFormat
Local format code.

Since:
0.3.0.6

adSample

double[] adSample
Sample data array (amplitudes).

Class marf.Storage.StorageException extends MARFException implements Serializable

serialVersionUID: 8148028971974635121L

Class marf.Storage.StorageManager extends java.lang.Object implements Serializable

serialVersionUID: -7137065556183693005L

Serialized Fields

oObjectToSerialize

java.io.Serializable oObjectToSerialize
Actual object to be serialized (primarily for DUMP_GZIP_BINARY and DUMP_BINARY modes). Has to be back-synchronized. In 0.3.0.6 the type was changed from Object to Serializable.

Since:
0.3.0.2
See Also:
StorageManager.backSynchronizeObject(), IStorageManager.DUMP_GZIP_BINARY, IStorageManager.DUMP_BINARY

Class marf.Storage.TrainingSample extends java.lang.Object implements Serializable

serialVersionUID: 440451144821982021L

Serialized Fields

iSubjectID

int iSubjectID
Which subject this feature vector is associated with. This is an application-independent ID within MARF to distinguish from other subjects. Typical subjects may include speakers, languages instruments, emotions, etc. that a give application is taken care of.


adDataVector

double[] adDataVector
Array representing either a feature vector, mean vector describing the cluster, or a median vector.


oFilenames

java.util.Vector oFilenames
A list of filenames that were used in training for this sample. Used to avoid duplicate training on the same filename.

Class marf.Storage.TrainingSet extends StorageManager implements Serializable

serialVersionUID: 2733362635058973185L

Serialized Fields

iTrainingSetFormat

int iTrainingSetFormat

oTrainingSamples

java.util.Vector oTrainingSamples
A collection of Clusters.


iPreprocessingMethod

int iPreprocessingMethod
Which preprocessing method was applied to the sample before this feature vector was extracted.


iFeatureExtractionMethod

int iFeatureExtractionMethod
Which feature extraction method was used to determine this feature vector.


Package marf.util

Class marf.util.FreeVector extends java.util.Vector implements Serializable

serialVersionUID: 8706834105778495182L

Class marf.util.InvalidSampleFormatException extends MARFException implements Serializable

serialVersionUID: -4262507209933509360L

Class marf.util.MARFException extends java.lang.Exception implements Serializable

serialVersionUID: -36051376447916491L

Serialized Fields

strMessage

java.lang.String strMessage
Our own error message container. Needed as we don't have access to the parent's. Initially an empty string.

Class marf.util.MARFRuntimeException extends java.lang.RuntimeException implements Serializable

Serialized Fields

strMessage

java.lang.String strMessage
Our own error message container. Needed as we don't have access to the parent's. Initially an empty string.

Class marf.util.Matrix extends FreeVector implements Serializable

serialVersionUID: 3533845945234893934L

Serialized Fields

aiDimensions

int[] aiDimensions
Matrix dimensions.

Class marf.util.NotImplementedException extends MARFRuntimeException implements Serializable

serialVersionUID: -52979270946708931L

Class marf.util.OptionProcessor.OptionsHashtable extends java.util.Hashtable implements Serializable

serialVersionUID: 8686199546957797968L

Class marf.util.SortComparator extends java.lang.Object implements Serializable

serialVersionUID: -3395493010875051653L

Serialized Fields

iSortMode

int iSortMode
Current sorting mode: either ASCENDING or DESCENDING.


Package marf.util.comparators

Class marf.util.comparators.FrequencyComparator extends SortComparator implements Serializable

serialVersionUID: 5923172975252427681L

Class marf.util.comparators.RankComparator extends SortComparator implements Serializable

serialVersionUID: -4257414077743470961L

Class marf.util.comparators.ResultComparator extends SortComparator implements Serializable

serialVersionUID: -5312907998392826142L



SourceForge Logo