Closed austin-marcus closed 1 year ago
This section causes the input redundancy of a single-variable constant function to be erroneously calculated as 0, when it should be 1.
Example:
from cana.boolean_node import BooleanNode as BN print(BN(k=1, outputs=[0,0]).input_redundancy()) print(BN(k=1, outputs=[1,1]).input_redundancy()) print(BN(k=1, outputs=[0,1]).input_redundancy())
produces:
0.0 0.0 0.0
and I believe it should be:
1.0 1.0 0.0
I believe Felipe's fork already has a fix for this.
Resolved by #30.
This section causes the input redundancy of a single-variable constant function to be erroneously calculated as 0, when it should be 1.
Example:
produces:
and I believe it should be: