top | item 45900844

Proving two ML models are equivalent using Z3 (with code)

3 points| mpcsb | 3 months ago |testingbranch.com

1 comment

order

mpcsb|3 months ago

My post: I used the Z3 SMT solver to test if two models are logically equivalent across the entire input space (not just in the sample data). It either finds a counterexample or proves none exists. To be considered when simplifying complex models or when retraining routines in mlops. Post includes code and discussion.