Complement Coding
This software has been realized at the CNS Technology Lab at Boston University - http://techlab.bu.edu. The main author of this software is Chaitanya Sai ( http://techlab.bu.edu/members/sai/ ).
Complement Coding takes as input a vector of feature values, each with an associated lower and upper limit used for normalization. It normalizes each feature value and calculates its complement.
Reference
Carpenter, G.A. , Grossberg, S. , Rosen, D.B., Fuzzy ART: Fast stable learning and categorization of analog patterns by an adaptive resonance system, Neural Networks, 4, 759-771. (1991).
Abstract
Adaptive Resonance Theory (ART) and ARTMAP networks employ a preprocessing step called complement coding, which models the nervous system’s ubiquitous computational design known as opponent processing (Hurvich & Jameson, 1957). Balancing an entity against its opponent, as in agonist-antagonist muscle pairs, allows a system to act upon relative quantities, even as absolute magnitudes may vary unpredictably. In ART systems, complement coding (Carpenter, Grossberg, & Rosen, 1991) is analogous to retinal ON-cells and OFF-cells (Schiller, 1982). When the learning system is presented with a set of feature values, complement coding doubles the number of input components, presenting to the network both the original feature vector a and its complement.
Code Description
The complement.zip file contains the Complement Coding Matlab code plus associated documentation and GUI files. To run the code, unzip the files, run Matlab, and type "compgui" at the Matlab prompt.
- Contributors
Gail Carpenter
Ben Chandler
Robert Kozma
Praveen K. Pilly
Chaitanya Sai
Doug Sondak
Kadin Tseng
Max Versace
Cite As
Massimiliano Versace (2024). Complement Coding (https://www.mathworks.com/matlabcentral/fileexchange/24782-complement-coding), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Deep Learning Toolbox > Image Data Workflows > Pattern Recognition and Classification >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.