Suppose [1 0 0 1 0 1] <--> [0 0 0 1], this is a association then in implementing BAM, why we convert 0 to -1 and then calculate weight matrix.
BAM(Bidirectional Associative Memory)
786 views Asked by Abhishek Raj At
2
There are 2 answers
0
Muskan Pathan
On
In testing, the goal is to verify if our weight matrix is correct. In forward testing, the Y matrices will be multiplied with the weights to obtain corresponding X matrices. In backward testing, the X matrices will be multiplied with the weights to obtain corresponding Y matrices. I will be using the bipolar activation function, which will categorize the values <= 0 as -1 and values > 0 as 1.
This is because, considering the given sets A and B, the value domain consists of 1 and -1. Hence, this is the only activation function where f(x) = {-1, 1} for any x. BIPOLAR ACTIVATION FUNTION
IN SHORT BECAUSE WE USE BI-POLAR ACTIVATION FUNCTION WE NEED -1
Related Questions in NEURAL-NETWORK
- Influence of Unused FFN on Model Accuracy in PyTorch
- How to train a model with CSV files of multiple patients?
- Does tensorflow have a way of calculating input importance for simple neural networks
- My ICNN doesn't seem to work for any n_hidden
- a problem for save and load a pytorch model
- config QConfig in pytorch QAT
- How can I convert a flax.linen.Module to a torch.nn.Module?
- Spiking neural network on FPGA
- Error while loading .keras model: Layer node index out of bounds
- Matrix multiplication issue in a Bidirectional LSTM Model
- Recommended way to use Gymnasium with neural networks to avoid overheads in model.fit and model.predict
- Loss is not changing. Its remaining constant
- Relationship Between Neural Network Distances and Performance
- Mapping a higher dimension tensor into a lower one: (B, F, D) -> (B, F-n, D) in PyTorch
- jax: How do we solve the error: pmap was requested to map its argument along axis 0, which implies that its rank should be at least 1, but is only 0?
Related Questions in ARTIFICIAL-INTELLIGENCE
- Dots and Boxes with apha-beta pruning
- Node.js Chatbot Error: GoogleGenerativeAIError - Content should have 'parts' property with an array of Parts
- Integrating Mesonet algorithm with a webUI for deepfake detection model
- Pneumonia detection, using transfer learning
- Anybody knows where to learn AIMA python library?
- Training model for AirPassengers dataset
- I have question about the meanings of words coming out during training YOLOv7(WongKinYiu)
- LangChain OpenAI Agent with Sources
- recognize_google fails with WinError 10060
- combination of 2 classes
- How to Text To Speech a IA text generation that is streaming response
- How to integrate source section in chat gpt API in py?
- Why does this error keep showing, what am i missing? await message.channel.send(f"Answer: {bot_response}") IndentationError: unexpected indent
- How can I upload/attach file like PDF in Google Gemini AI API ? (Model Gemini 1.5 Pro)
- How to use Google Gemini API call to upload pdf, ppt, docs, etc files?
Related Questions in ROBOTICS
- Python cv2 imwrite() - RGB or BGR
- Linear trinagulation yields poor results
- Pick and place simulation using the Robotiq 2F-140 manipulator in drake
- Calculate Velocity from Accelerometer of Android Phone
- How do the Kitronik Robotics Boards' motor outputs work only for motors specifically?
- Raspberry Pi GPIO - device or resource busy
- trouble with Python package import command in Spyder5
- Drawing a circle in a 3D enviroment using a 3DOF arm
- Mujoco - Change MjModel instance during runtime in Python
- How to set up 2D pose with IMU and odometry using robot localization ekf?
- Obtaining rotation and translation matrix from homogeneous transformation matrix
- Lidar intensity value normalization
- My MG995 servo is not working with lipo power cells even though they can provide the right current
- Robot that moves with putting in X,Y coordinates of a U shaped field
- FailSafe mode is activated [unexpectedly] when PX4Multirotor takeoff
Related Questions in RECURRENT-NEURAL-NETWORK
- How to train a model with CSV files of multiple patients?
- Matrix multiplication issue in a Bidirectional LSTM Model
- How can i edit the "wake-word-detection notebook" on coursera so it fit my own word?
- Ask nn.MSELoss() calculation mechnism in pytorch framework
- Low Precision and Recall in LSTM Anomaly Detection Model
- Unable to store predictions of a LSTM network back in my original dataframe
- why different masking value impact the val_loss in LSTM?
- Pytorch LSTM - initializing hidden states during training
- How to feed or mask missing data to RNN, LSTM, and GRU with pytorch?
- RNN training metrics in python darts
- Getting error in Simple RNN model architecture while using Embedding layer
- How do I load (or reshape) my data to input into an LSTM?
- Creating a Pronounciation Checker for specific words using CNN-RNN machine learning in flask
- Initializing Hidden State for GRU RNN using feed forward neural network
- Trying to understand PyTorch RuntimeError: Trying to backward through the graph a second time
Related Questions in BIOLOGICAL-NEURAL-NETWORK
- DiO-Membrane Exosome Labeling Kits
- How can I plot cubes in R?
- Implementing hybrid Particle Swarm Optimization in CNNs? (And, general questions about the algorithms as a whole)
- Why do I have values outside the normalization range in my test set?
- How to declare per neuron connections in a pytorch model?
- Constructing a highly customized neural network in keras (weight sharing, custom connectivity)
- Is it possible to simultaneously use and train a neural network?
- How can i eliminate duplicated sequences in fasta file
- Parsing fasta with specific names in the header
- Recurrent Spiking Neural Networks
- Genetic algorithm for specific assignment
- Feedforward Algorithm in NEAT (Neural Evolution of Augmenting Topologies)
- How deeper layers learn from previous layers feature maps in Conv nets
- Test accuracy decrease during training iteration
- ANN Shape for Sale Prediction
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The fundamental reason why 0 are unsuitable for BAM storage is that 0's in binary patterns are ignored when added, but -1's in bipolar patterns are not: 1+0=1 but 1+(-1)=0. If the numbers are matrix entries that represent synaptic strengths, then multiplying and ass in binary quantities can only produce excitatory connections.
Meanwhile multiplying and add in bipolar quantities produces excitatory and inhibitory connections. The connections strengths represent the frequency of excitatory and inhibitory connections int the individual correlation matrices.
Refer: