May 5, 2021
I guess you use python 2? In python 3 `cnf_matrix.sum()` returns a scalar i.e. 38 so the example and code is valid.
I guess you use python 2? In python 3 `cnf_matrix.sum()` returns a scalar i.e. 38 so the example and code is valid.
Data Scientist @ Natural Cycles (Switzerland). PhD, MSc, M.Eng. Bespoke services on demand