yawn.nn.fuzzyartmap.fuzzyart
Class FuzzyArt

java.lang.Object
  extended by 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)

Field Summary
 boolean complementCoding
           
 boolean currentUncommitted
           
 boolean hasIncreased
           
 int numberUsedNodes
           
 double sumInputs
           
 double[] sumIW
           
 double vigilance
           
 int winner
           
 
Constructor Summary
FuzzyArt()
           
FuzzyArt(double alpha, double beta, double vigilance, int numberInputs, int maxEpochs, boolean complementCoding)
           
 
Method Summary
 boolean activate()
           
 void binaryTest(int numPatterns, int patLength)
           
 double[] complementCode(double[] in)
           
 void doubleTest(int numPatterns, int patLength)
           
 double getF2NodeActivation(int nodeIndex)
           
 double[] getI()
           
 double getMatchCritetionValue()
           
 int getNumberOfCommitedNodes()
           
 int getNumberOfInputs()
           
 double[] getWeightVector(int index)
           
 double[] getY()
           
 boolean hasIncreased()
           
 void learn()
           
 void resetCategory(int index)
           
 void setIncreasedFlag(boolean value)
           
 void setInputPattern(double[] pattern)
           
 void setNumberOfInputs(int numberOfInputs)
           
 void train(double[][] dataset)
           
 void trainCurrentPattern()
           
 void trainRandom(double[][] dataset)
           
 double[] unComplementCode(double[] in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

FuzzyArt

public FuzzyArt()

FuzzyArt

public FuzzyArt(double alpha,
                double beta,
                double vigilance,
                int numberInputs,
                int maxEpochs,
                boolean complementCoding)
Method Detail

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.