mlquantify.solvers#

Solvers#

solve_binary

Minimize a scalar objective over the binary prevalence space [0, 1].

ternary_search

Find the minimum of a unimodal function via ternary search.

solve_simplex

Minimize a function over the probability simplex using SLSQP.

minimize_prevalence

Minimize an objective function over the probability simplex.

minimize_prevalence_blocks

Minimize a loss over multiple representation blocks and aggregate results.