Result: E01Loss: A Python library for solving the exact 0-1 loss linear classification problem

Title:
E01Loss: A Python library for solving the exact 0-1 loss linear classification problem
Publisher Information:
Zenodo
Publication Year:
2023
Collection:
Zenodo
Document Type:
Electronic Resource software
Language:
English
DOI:
10.5281/zenodo.7814259
Rights:
GNU Affero General Public License v3.0 only ; agpl-3.0-only ; https://www.gnu.org/licenses/agpl.txt
Accession Number:
edsbas.EC6D9A9E
Database:
BASE

Further Information

Algorithms for solving the linear classification problem have a long history, dating back at least to 1936 with Ronald Fisher's discriminant analysis. For linearly separable data, many algorithms can obtain the exact solution to the corresponding 0-1 loss classification problem efficiently, but for data which is not linearly separable, it has been shown that this problem, in full generality, is NP-hard. Alternative approaches all involve approximations of some kind, including the use of surrogates for the 0-1 loss (for example, the hinge or logistic loss) or approximate combinatorial search, none of which can be guaranteed to solve the problem exactly. Finding efficient algorithms to obtain an exact i.e. globally optimal solution for the 0-1 loss linear classification problem with fixed dimension D, is a long-standing problem. The E01Loss library provides Python implementations of several novel polynomial-time algorithms (currently: incremental combinatorial generation, incremental combinatorial purging, cell enumeration) which are provably correct and practical for small to medium-sized problems.