Registry / Framework

framework · v0.1.2
ModelGate
Compare two binary classifiers on the same observations and stop a release when mistake costs or Brier score regress.
Use ModelGate
use vendor::modelgate::gate;
Run the example
nest demo modelgate@0.1.2
blyxc native-run modelgate-demo/main.blyx
Example source and expected output
use vendor::modelgate::gate;
fn main() {
let baseline_cost = 1.0 / 4.0;
let candidate_cost = 5.0 / 4.0;
println!(baseline_cost);
println!(candidate_cost);
println!(gate_passes(0.105, 0.105, baseline_cost, candidate_cost, 0.0));
}
Expected output
0.25
1.25
false
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.2 | Download ZIP | 0aa7b9dd06 | bfba9486761f8a1badc3b33336ada08c7a722d2970abbd7a373bb4d56a6d6435 |