Compare two binary classifiers on the same observations and stop a release when mistake costs or Brier score regress.
This extension includes the Blyx ModelGate 0.1.2 source, a runnable example and completions for its public functions. It uses the Blyx Language extension for syntax highlighting and execution.
Run in the editor
Open an empty file named modelgate-demo.blyx.
Type blyx-modelgate-demo and select ModelGate — runnable example. You can also use Snippets: Fill File with Snippet.
Choose Blyx: Run File from the command palette. Change an argument near the end of fn main() to try another input.
Expected output
0.25
1.25
false
Use ModelGate in a project
Extract the starter into a new folder. It contains main.blyx, the licensed framework source in vendor/modelgate, and a VS Code task. With the Blyx 0.2.1 compiler and host toolchain installed, run blyxc native-run main.blyx from that folder. Type blyx-modelgate- in a Blyx file to see the framework completions. Download the starter ZIP