






































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The concept of standard binary cube calculus, a method used to encode multi-valued and integer data in binary strings for efficient hardware representation and manipulation. It covers the encoding of variables, such as age and hair color, and the use of mvcc (multi-valued cube calculus) and generalized mv cube calculus. The document also discusses the simplified binary cube calculus and its benefits.
Typology: Slides
1 / 46
This page cannot be seen from the preview
Don't miss anything!







































Our hardwareOur hardware
: the
: the
DEC-PERLE-
DEC-PERLE-
board.
board.
Programming/designing environment for DEC-PERLE/XILINX.
Programming/designing environment for DEC-PERLE/XILINX.
Two different concepts of designing Learning Hardware using
Two different concepts of designing Learning Hardware using the DEC-PERLE-1 board.
the DEC-PERLE-1 board.
CompareCompare
logic
logic
versus ANN and GA approaches to learning.versus ANN and GA approaches to learning.
Introduce the concept ofIntroduce the concept of
Learning Hardware
Learning Hardware
Methods ofMethods of
knowledge representation
knowledge representation
in the
in the
Universal
Universal
Logic Machine (ULM):Logic Machine (ULM):
variants of Cube Calculus
variants of Cube Calculus
.
.
operate on logic data:operate on logic data:A general-purpose computer with instructions specialized toA general-purpose computer with instructions specialized to
Cube Calculus Machine
Cube Calculus Machine
.
.
Variants of cube calculus -
Variants of cube calculus - arithmetics
arithmetics for combinatorial
for combinatorial
problems
problems
Our approach to Cube Calculus Machine
Our approach to Cube Calculus Machine
A processor for only one application:A processor for only one application:
Curtis DecompositionCurtis Decomposition
MachineMachine
.
.
here We are
Represents product terms as cubes where the state of each
Represents product terms as cubes where the state of each input variable is specified by a
input variable is specified by a symbol:
symbol:
positive (1),
positive (1),
negative (0),negative (0),
non-existing (a don't care) (X),non-existing (a don't care) (X),
or contradictory (or contradictory (epsilon
epsilon).
).
Each of these symbols is encoded in
Each of these symbols is encoded in
positional notation
positional notation
with two bits as follows: 1 = 01, 0 = 10, X = 11,
with two bits as follows: 1 = 01, 0 = 10, X = 11, epsilon
epsilon = 00.
Positional notation
Positional notation for cube 0X1 is 10-11-01.
for cube 0X1 is 10-11-01.
Each position represents a state of the variable by the presence
Each position represents a state of the variable by the presence of "one" in it: left bit - value 0, right bit - value 1.
of "one" in it: left bit - value 0, right bit - value 1.
This
This encoding
encoding presents simple reduction to
presents simple reduction to
set-theoretical
set-theoretical
representations
representations
AA cube can represent
cube can represent :
:
a product, a sum,
a product, a sum,
a set of symmetry coefficients of a symmetric function,
a set of symmetry coefficients of a symmetric function,
a spectrum of the function,
a spectrum of the function,
or another piece of data on which some symbol-manipulation (usually set-
or another piece of data on which some symbol-manipulation (usually set-
theoretical) operations are executed.
theoretical) operations are executed.
Usually the cube corresponds to aUsually the cube corresponds to a product term of
of literals
literals.
.
For instance,For instance, assume the following order of binary variables:
assume the following order of binary variables:
age
age
,
,
sex
sex
andand
color_of_hair.color_of_hair.
Assume also that the
Assume also that the discretization
discretization of variable
of variable
age
age
is:age = 0 for person'sis:age = 0 for person's
age
age
< 18
< 18
and
and
age = 1
age = 1
otherwise
otherwise
MenMen are encoded by value 0 of attribute
are encoded by value 0 of attribute
sex
sex
and women by value 1.
and women by value 1.
color_of_haircolor_of_hair
is 0 for black and 1 for blond.is 0 for black and 1 for blond.
AA blond woman of age 19
blond woman of age 19 is denoted by 110
and a black-hair seven-years
is denoted by 110
and a black-hair seven-years
old person of unknown sex is described by cube 0X1.old person of unknown sex is described by cube 0X1.
Cube XXXCube XXX is the set of all possible people for the selected set of attribute
is the set of all possible people for the selected set of attribute
variables and theirvariables and their discretized
discretized values.
values.
ocsity.co
age
age,
young =
young =
age_
age_
age_2}
age_2}
medium
medium
age_
age_
age_
age_
old = age_
old = age_1 NOT
NOT{age_2}.
{age_2}.
SIMPLIFIED MV CUBE CALCULUS
SIMPLIFIED MV CUBE CALCULUS
Examples:
Examples: Reed-Muller FPRM and GRM spectra, Walsh
Reed-Muller FPRM and GRM spectra, Walsh
spectrum, various orthogonal spectra.
spectrum, various orthogonal spectra.
These representations represent function as a
These representations represent function as a sequence of
sequence of
spectral coefficients
spectral coefficients or
or selected coefficient values with their
selected coefficient values with their
numbers
numbers.
Some spectral representations are useful to represent data for
Some spectral representations are useful to represent data for genetic algorithms
genetic algorithms
: the sequence of spectral coefficients is a
: the sequence of spectral coefficients is a
chromosome.
chromosome.
For instance, in the Fixed-Polarity Reed-Muller (FPRM)
For instance, in the Fixed-Polarity Reed-Muller (FPRM) canonical AND/EXOR forms for n variables, every variable can
canonical AND/EXOR forms for n variables, every variable can have two polarities, 0 and 1.
have two polarities, 0 and 1.
Thus there are
Thus there are
n
n
different polarities for a function and the GA
different polarities for a function and the GA
algorithm has to search for the polarity that has the minimum
algorithm has to search for the polarity that has the minimum number of ones in the chromosome.
number of ones in the chromosome.
ROUGH PARTITIONS AND
ROUGH PARTITIONS AND
LABELED ROUGH PARTITIONS
LABELED ROUGH PARTITIONS
Rough Partitions (RP) represented as Bit Sets (
Rough Partitions (RP) represented as Bit Sets (Luba
Luba).
This representation stores the two-dimensional table column-
This representation stores the two-dimensional table column- wise,
and not row-wise as MVCC does.
wise,
and not row-wise as MVCC does.
In r-partition every variable
(a column of a table) induces a
In r-partition every variable
(a column of a table) induces a
partition of the set of rows (cubes)
to blocks, one block for
partition of the set of rows (cubes)
to blocks, one block for
each value the variable can take
(there are two blocks for a
each value the variable can take
(there are two blocks for a
binary variable, and
binary variable, and
k
k
blocks for
a
blocks for
a
k
k
-valued variable).
-valued variable).
Rough Partitions are a good
idea but they don't really form a
Rough Partitions are a good
idea but they don't really form a
representation of a function.
representation of a function.
Since the values of a variable are not stored together with
Since the values of a variable are not stored together with partition blocks, the essential information on the function is lost
partition blocks, the essential information on the function is lost and the original data can not be recovered from it.
and the original data can not be recovered from it.
This is kind of an abstraction of a function, useful for instance
This is kind of an abstraction of a function, useful for instance in various decomposition algorithms.
in various decomposition algorithms.
LABELED ROUGH PARTITIONS (2)
LABELED ROUGH PARTITIONS (2)