yawn.nn.fuzzyartmap.fuzzyart
Class FuzzyArt
java.lang.Object
yawn.nn.fuzzyartmap.fuzzyart.FuzzyArt
public class FuzzyArt
- extends java.lang.Object
This is yawn.nn.fuzzyartmap.fuzzyart.FuzzyArt, part of the yawn project.
$Id: FuzzyArt.java,v 1.9 2005/04/07 17:28:30 supermarti Exp $
- Version:
- $Revision: 1.9 $
- Author:
- Luis Martí (luis dot marti at uc3m dot es)
Constructor Summary |
FuzzyArt()
|
FuzzyArt(double alpha,
double beta,
double vigilance,
int numberInputs,
int maxEpochs,
boolean complementCoding)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
complementCoding
public boolean complementCoding
currentUncommitted
public boolean currentUncommitted
hasIncreased
public boolean hasIncreased
numberUsedNodes
public int numberUsedNodes
sumInputs
public double sumInputs
sumIW
public double[] sumIW
vigilance
public double vigilance
winner
public int winner
FuzzyArt
public FuzzyArt()
FuzzyArt
public FuzzyArt(double alpha,
double beta,
double vigilance,
int numberInputs,
int maxEpochs,
boolean complementCoding)
getMatchCritetionValue
public double getMatchCritetionValue()
activate
public boolean activate()
binaryTest
public void binaryTest(int numPatterns,
int patLength)
complementCode
public double[] complementCode(double[] in)
doubleTest
public void doubleTest(int numPatterns,
int patLength)
getF2NodeActivation
public double getF2NodeActivation(int nodeIndex)
getI
public double[] getI()
getNumberOfCommitedNodes
public int getNumberOfCommitedNodes()
getNumberOfInputs
public int getNumberOfInputs()
getWeightVector
public double[] getWeightVector(int index)
getY
public double[] getY()
hasIncreased
public boolean hasIncreased()
learn
public void learn()
resetCategory
public void resetCategory(int index)
setIncreasedFlag
public void setIncreasedFlag(boolean value)
setInputPattern
public void setInputPattern(double[] pattern)
setNumberOfInputs
public void setNumberOfInputs(int numberOfInputs)
train
public void train(double[][] dataset)
trainCurrentPattern
public void trainCurrentPattern()
trainRandom
public void trainRandom(double[][] dataset)
unComplementCode
public double[] unComplementCode(double[] in)
Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.