CompileML
Get StartedConceptsUser GuideAPI ReferenceExamplesPyPIGitHub

API Reference

OverviewArtifact JSON schema

compileml

Module overviewcompile_selecteddecideload_artifactverify_artifact

compileml.datasets

Module overviewload_credit_defaultmake_credit_data

compileml.select

Module overviewcompile_selectedSelectionResultmake_partitionsdefault_gridchoose

compileml.batch

Module overviewscore_batch

compileml.compile

Module overviewExtractedModelextract_treesmax_depthnormalize_constraintsquantization_error_boundquantize_modelrhascore_floatscorecard_monotone_reporttrain_whiteboxvalidate_extractionverify_monotone_constraints

compileml.artifact

Module overviewbuild_artifactfit_isotonic_tablerecalibrate_artifactsave_artifact

compileml.bands

Module overviewBandSpecband_efficiencygovernance_bandsmonotone_quantile_bandsquantile_bandssemantic_bands

compileml.reference

Module overviewReferenceModelfit_referencereference_gini

compileml.runtime

Module overviewdecideload_artifactverify_artifactArtifactError

compileml.runtime — primitives

Module overviewscore_microlatent_from_rawband_indexband_labelcalibrate_ppmcontributions_half_microdisplay_impactsformat_reasonscanonical_hashvalidate_structure

compileml.scorecard

Module overviewbuild_scorecardscore_from_scorecardscorecard_to_csvscorecard_to_markdown

compileml.tune

Module overviewretention_by_segmentsweep_bandssweep_whitebox

compileml.validate

Module overviewvalidate_artifact

compileml.fairness

Module overviewFairnessAuditapproval_ratesattribution_concentrationattribution_disparityboundary_fragilitycalibration_by_groupcounterfactualerror_ratesfeature_swingmodel_interaction_structurereason_parityrepresentationscore_distributionwilson_interval

compileml.monitor

Module overviewdrift_decompositionband_driftbaseline_staleness

compileml.export

Module overviewExportErrorexport_cobolexport_sql

compileml.viz

Module overviewband_conditioned_decision_driversband_driversband_ladderdecision_driverswaterfallwaterfall_svg

API Reference

compileml.datasets

The data the documentation compiles against. One real credit panel, fetched and cached; one synthetic generator that needs no network.

import compileml.datasets

load_credit_default()Load the UCI credit-card default panel.make_credit_data()Generate a synthetic credit-style dataset with a known structure.
Previousverify_artifactNextload_credit_default

CompileML · Apache-2.0 · Copyright 2026 Carlos Ortiz

Artifact SpecCLIFAQContributingAboutDiscussionsGitHubPyPI