# Optimal classification/Rypka/equations

## Equations[edit | edit source]

### [edit | edit source]

These equations determine the truth table size *from* the highest value of logic and the number of characteristics in the set and in the group for the **bounded** class^{[1]} of elements and denote the range of the truth table values for the set and the group.^{[2]}

#### Group size[edit | edit source]

- , where:

is the group size**Q**^{[3]}is the highest value of logic in the group,**V**is the highest number of characteristics in the group.**C**

#### Set size[edit | edit source]

- , where:

is the set size**R**^{[4]}is the highest value of logic in the group,**V**is the highest number of characteristics in the set.**K**

### Theoretical and Empirical Separatory Equations[edit | edit source]

#### [edit | edit source]

##### Maximum number of pairs of elements to separate[edit | edit source]

Maximum number of pairs of elements to separate refers to triangularization of the matrix to permit comparison of each element with every other element to determine the number of pairs that are separable or disjoint. Pairs are separable or disjoint whenever the logic values of the elements that make up a pair are different. In theory, therefore the maximum possible number of pairs that can be separated is determined by the following equation:^{[5]}

- , where:
^{[6]}

is the maximum number of pairs to separate, and**p**_{max}is the number of elements in the**G****bounded**class.

##### Order of elements[edit | edit source]

The elements are arranged in descending order according to their truth table value, i.e., the value calculated as the sum of each characteristic's logic state value times the highest value of logic raised to the power of the order of the characteristic.^{[7]} The element truth table value allows elements to be sorted and identified as unique or equivalent.

- , where:

is the element truth table value in the group,**e**_{i}is the highest value of logic in the group,**V**is the value of logic of each characteristic in the group,**v**is the**j**characteristic index, where:**jth**

and where:**j = 0..C**is the number of characteristics in the group,**C**

is the**i**element index, where:**ith**

and where:**i = 0..G**is the number of elements in the**G****bounded**class.

#### [edit | edit source]

##### Theoretical separation[edit | edit source]

###### The general identification equation[edit | edit source]

- , where:
^{[8]}

is the theoretical separatory value per**S**_{j}characteristic,**jth**is the highest number of characteristics in the group,**C**is the highest value of logic in the group and**V**is the**j**characteristic index in the target set, where:**jth**

and where:**j = 0..K**is the number of characteristics in the target set.**K**

###### Minimal number of characteristics to result in theoretical separation[edit | edit source]

- , where:
^{[9]}

is the minimal number of characteristics to result in theoretical separation,**t**_{min}is the number of elements in the in the**G****bounded**class andis the highest value of logic in the group.**V**

##### Empirical separation[edit | edit source]

###### Target set truth table values[edit | edit source]

, where:^{[10]}

is the truth table value of the target set,**t**_{i}

is the element's attribute value,**v**_{i,j}

is the**i**th element's index value, where,**i**

where**i = 0...G'**is the number of elements in the**G****bounded**class, and,

is the**j**th characteristic's index value, where,**j**

and where,**j = 0...K**

is the number of characteristics in the target set,**K**

is highest value of logic in the group,**V**is the positional value of the**V**^{(K-j)}th characteristic.**j**

, where,

**n**_{ti}contains the multiset count for each truth table value^{[11]}.

###### Separatory equation[edit | edit source]

###### Initial separation[edit | edit source]

, where:^{[12]}

is the initial empirical separatory value for each characteristic, where,**S**_{j}

and is the index of the**j = 0...C**th characteristic in the group and**j**is the number of characteristics in the group, and,**C**and is the truth table value of the**l = 0...R**th characteristic, where**j**is the truth table size, where:**R**=**R****V**, and,^{0}is the highest value of logic in the group and,**V**is the target set exponent for a single characteristic, and,**0**

is the number of elements in the**G****bounded**class.

###### Subsequent separation[edit | edit source]

, where:

is the initial empirical separatory value for each characteristic, where,**S**_{j}

and is the target set truth table index value, where**l = 0...R**is the target set truth table size value, where:**R**=**R****V**, and,^{K}is the highest value of logic in the group and,**V**is the number of characteristics in the target set, and,**K**

is the number of elements in the**G****bounded**class.

## Notes[edit | edit source]

- ↑ See page 158, Table II of the
**primary reference** - ↑ See page 172 of the
**primary reference**. - ↑ group - Columns C1 to C5 (0 to C, C=5)
- ↑ Target set - Columns C1 to C3 (0 to K, K=3)
- ↑ See page 176 Table XI of the
**primary reference**. - ↑ Triangular Number
- ↑ See Number Systems - essentially using the characteristic values to compute a network or memory address, followed by sorting.
- ↑ See page 153, page 167, Fig. 2. & page 175 of the
**primary reference** - ↑ See page 157,
*Primary Schemes*footnote of the**primary reference** - ↑ As the characteristic with the greatest separatory value is moved to the next most significant position, K is incremented to expand the target set size from two characteristics to the number of characteristics in the group or the the number of characteristics which result in 100% separation. For the initial target set with one characteristic the separatory value is computed individually for each characteristic in the group to find the initial characteristic with the highest separatory value.
- ↑ coefficient of association, , see page 172 of the
**primary reference** - ↑ Must be applied initially to each characteristic. (The equations have been implemented in w:Mathcad and using the Visual Basic programming language. See Application Example - Flag Recognition