com.mancrd.ahah.commons.spikes
Class AHaHA2D
java.lang.Object
com.mancrd.ahah.commons.spikes.AHaHA2D
- All Implemented Interfaces:
- Serializable
public class AHaHA2D
- extends Object
- implements Serializable
An AHaHA2D instance is used to convert real-valued signals into a spike code. It is a decision tree nodes operating anti-hebbian plasticity. A AHaHA2D takes values in the update
method and bins the data set into the low or high bin recursively from the trunk
of the decision tree to the leaves. The update method returns a binary number encoded as an integer giving routing path up the tree. A call to "putAndParse" will convert this path to a spike code
consisting of the distinct nodes alone the route.
- Author:
- alexnugent
- See Also:
- Serialized Form
Constructor Summary |
AHaHA2D(int depth)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AHaHA2D
public AHaHA2D(int depth)
- Constructor
- Parameters:
depth
-
put
public int put(double input)
putAndParse
public int[] putAndParse(double input)
get
public double get(int id)
getNumBits
public static int getNumBits(int value)
getlRate
public double getlRate()
setlRate
public void setlRate(double lRate)
Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.