A Unified Algebraic Framework Extending From A 6-Set Discrete Probability Algebra And Its Application In Deep Learning