mixle packageΒΆ
mixle β a capability-oriented probability/statistics library.
The structure (see docs/architecture.md and docs/contracts.md):
Objects β the families:
mixle.dist(the umbrella over every distribution, including the graph / ranking / set / Markov families),mixle.process(stochastic processes),mixle.models(generic / applied models β GPs, neural nets, random forests, knowledge graphs, POMDPs β which arenβt full Distribution-contract families but still participate in some concerns), andmixle.relations.Concerns β what you can do, each its own module:
mixle.enumeration,mixle.inference,mixle.ops. (Drawing from a model is intrinsic behavior, not a separate concern:mixle.stats.sample()is the verb, and thePosteriorhierarchy that inference produces lives inmixle.stats.compute.posterior/mixle.inference.posterior.)Kernel β
mixle.contracts(every ABC/Protocol in one import) and the capability meta-layer re-exported here (supports(),capabilities(),describe(),catalog(),what_supports(),require()).
Start with mixle.describe(x) to see what any object can do.
- class Model(spec=None, *, notes=None)[source]
Bases:
objectOne object over the model lifecycle: build / fit / evaluate / enumerate / distill / deploy / use.
- fit(data, *, restarts='auto', calibrate=False, **optimize_kw)[source]
Fit via
mixle.inference.optimize(); the algorithm follows from the modelβs structure.The fit iterates EM to its tolerance: unless the caller passes
max_its=, the iteration cap defaults to 500 here (optimizeβs own default of 10 regularly stops a mixture fit on the initialization plateau β 58 nats short of the optimum on Old Faithful β with no signal). Thedeltastopping rule ends a converged fit long before the cap; a fit that does hit the cap without converging is disclosed innotesand inself._fit_info(n_iter,converged, read from the modelβsFitProvenance()receipt). Passingdelta=Nonethrough**optimize_kwrequests a fixed iteration count instead β seemixle.inference.optimize()βs owndeltadocs for the caveat that a rejected (non-improving) EM step still ends the loop early even then, whichoptimizediscloses via aUserWarning(notnotes) when it happens.A
specthat is a prototype distribution also supplies the EM starting point: its parameter values are honored as the initialization (optimizeβs bare prototype coercion keeps only the structure and draws a random subsample start). Passprev_estimate=yourself to override the start explicitly.restarts="auto"(default) makes latent-variable fitting genuinely automatic: after the plain fit, a family-agnostic saddle check runs (a mixture stuck at the symmetric saddle gives every observation a ~uniform component posterior) β and a latent fit that exhausted its iteration cap without converging is treated as equally suspect. On suspicion the fit reruns from diversified initializations (hard-partition component starts, falling back tomixle.inference.best_of()), keeping the better log-likelihood and recording what happened innotes. Pass an int to force that many restarts up front, orrestarts=Nonefor the raw single fit.calibrate(opt-in, default off): reserve a holdout slice (a fraction, orTruefor 25%), fit on the rest, and attach aCalibrationReportonself.calibrationmeasuring calibration quality on held-out data (PIT test + held-out log-density). Off by default because it costs training data.Neither evidence step can break a fit, but neither silently disappears either:
self.evidencecarries a typedsucceeded/failed/not_applicablerecord per step, naming the failure class and message when one failed, and a failure also lands innotes(soexplain()shows it).certificate=Nonealone cannot tell you whether certification was never applicable or raised.
- evaluate(data)[source]
Held-out fit quality: total and mean log-density over
data.A
-infentry is not raised on the wayNaN/+infare (see below): it is not necessarily a scoring bug. The common, DOCUMENTED cause is a field auto-inference froze as an identifier-like/high-cardinality categorical (mixle.utils.automatic.get_estimator, also reached throughoptimize(df)βsestimator=Nonepath) meeting, here, a label its training split never saw βCategoricalDistributionβs documenteddefault_value=0.0scores that at-infby design. Silently averaging it intomean_log_densitywould still hide the cause, so this warns (naming the affected rows) rather than staying quiet β but does not raise, unlikeNaN/+inf, both of which are unconditionally scorer bugs.
- sample(size=None, *, seed=None)[source]
Draw samples from the fitted distribution.
- enumerate()[source]
The fitted distributionβs enumerator (top-k / top-p / rank / seek), where supported.
- Return type:
- posterior(x)[source]
Latent posterior probabilities for one observation (mixtures, HMMs, β¦), where supported.
A component-latent model (a mixture) answers with its own
posterior: the(k,)component probabilities forx. A chain-latent model (an HMM), whosexis one observation sequence, has noposteriormethod β the module docstringβs promise used to die there as a bareAttributeErrorβ so it answers throughlatent_posterior: the(T, k)forward-backward smoothing marginals, one state distribution per timestep. The richer chain-posterior object (Viterbimode(), FFBSsample(),entropy()) stays available asmodel.fitted.latent_posterior(x).A model with no latent state (a plain Gaussian) raises
AttributeErrornaming the two supported shapes instead of the bare delegation failure.
- distill(teacher=None, inputs=None, **solve_kw)[source]
Distill a compact deployable student via
mixle.task.solve().With
teacher=Nonethe fitted model itself teaches: inputs are labeled by their most-probable latent component (posteriorargmax), so a fitted mixture becomes a fast, calibrated classifier of its own clusters. Returns amixle.task.Solution(call it,report(),improve()).
- deploy(path)[source]
Persist a durable artifact directory (model + manifest);
Model.load()restores it.A registry-serializable model is written as safe, type-tagged JSON (
model.json); a model the serialization registry cannot represent falls back to a pickle (model.pkl). βPure statisticalβ does not guarantee βJSONβ: besides the expected torch-backed leaves, any base-install family the registry has no JSON form for takes the pickle path too (the Bernoulli-set, Thurstone, and Spearman ranking families β modelspropose()itself selects for ordinary set-valued and ranking data β deployed that way until their 0.8.0 codec repair; they now write JSON). Two whole modules still fall back this way by design, not regression: every family inmixle.stats.directional(VonMises, WrappedCauchy, WrappedNormal, VonMisesFisher, Kent, Watson, Bingham, ProjectedNormal) andmixle.stats.matrix(Wishart, InverseWishart, MatrixNormal, LKJ) lacks the__pysp_setstate__hook a family needs to round-trip through JSON, sodeploy/loadalways take the pickle path for them today, pending a future implementation. Never assume the format: read it from the returned pathβsformatattribute (the return value is aDeployedArtifact, a plainstrannotated withformatandformat_fallback), from the warning a fallback raises here, or from the manifest.βCannot representβ is decided by trying it, not by predicting it: the JSON is decoded again before the artifact is accepted, so a model that encodes cleanly and then refuses to load β the state whole families were in, deployed successfully and readable by nothing β takes the pickle path instead of becoming a write-only artifact. Any such fallback is disclosed three ways rather than taken silently: a warning here,
format_fallbackin the manifest naming the model and the exact read-back error, and a note on the modelload()returns. It costs the reader atrust_code=True, so it should be visible; if that is unacceptable for a given family, the fix is a serialization hook on the family, not a quieter deploy.This is a model export, not an evidence export. The artifact carries the fitted distribution,
notes, and the fit record (n/when/artifact_hash) β and nothing else. TheEstimationCertificateoncertificate, theCalibrationReportoncalibrationand the candidatefrontierare not serialized and do not survive a round trip; a deployed model comes back able to predict but unable to show how it was chosen or how well it was calibrated. Whatever evidence was present at deploy time is listed in the manifestβsevidence_not_exportedand reported as a note on the loaded model, so the loss is visible rather than silent. Keep those receipts alongside the artifact yourself if a consumer needs to judge the model, not just run it.The model file is written first, then hashed, and the manifest naming it (
model_file) and binding itsmodel_sha256is promoted atomically last. A redeployment removes the previous generationβs other-format model file, so an artifact directory never holds a stalemodel.pklnext to a freshmodel.json, andload()re-checks the digest before deserializing anything.- Parameters:
path (str)
- Return type:
DeployedArtifact
- classmethod load(path, *, trust_code=False)[source]
Restore a
Modelfrom an artifact directory created bydeploy().Warning
A
pickle-format artifact (a torch-backed model, or one written by an older mixle) executes arbitrary code from the file when loaded, exactly likepickle.loadon any untrusted input. JSON-format artifacts are deserialized through a type-tagged registry that never imports or executes code from the payload β unless the model contains a NeuralLeaf-family component, whose weights are embedded as a pickle blob inside the otherwise-safe JSON (seemixle.models._neural_serial); loading one of those also executes code. There is no way to tell which case applies without attempting the load.Because of this,
loadrefuses to run any code-executing path unless the caller passestrust_code=Trueβ an explicit statement that the artifactβs source is trusted. Without it, a pickle-format artifact raises immediately, and a JSON artifact raises only if it actually contains an embedded module (a pure-statistical model still loads normally).trust_code=False,Noneand0are all read as βno trustβ (an artifact that needs no trust loads under any of them); any other value β a truthy string,1β is rejected loudly, because only the exactTruemay authorize code execution.When the manifest records a
model_sha256(every artifact written by this version does), the named model file is hashed and checked against it before anything is deserialized, so a model file edited, truncated or swapped after deployment β while the manifest stays intact β is refused rather than loaded. An older manifest without that field is loaded unverified, exactly as before β there is nothing to check it against.What these checks are, and are not. All of them read the manifest itself as ground truth: the digest binds the manifest to the model fileβs bytes, the
familycheck binds its self-description to what those bytes deserialize to, and themodel_content_hashcross-check (when recorded) compares the deserialized modelβs content hash against the one stamped at deploy time β a mismatch there means the manifestβs fit record and the model being served may not come from the same deployment, and it is disclosed as a warning and a note rather than a refusal (a content-hash recomputed by a different mixle version can legitimately drift; refusing would brick valid artifacts). None of this authenticates the manifest: a writer with write access to the artifact directory can rewrite the manifest and model together. Integrity against that threat needs a signature kept outside the directory (sign the artifact, or comparemodel_sha256against a digest recorded elsewhere).The restored
Modelcarries the fitted distribution,notesand the fit record. The certificate, calibration report and candidate frontier are not in the artifact at all (seedeploy()); when the deploying model had any of them, a note saying so is appended.
- explain_prediction(x)[source]
Exact per-part attribution of
log p(x)βmixle.inference.explain().- Parameters:
x (Any)
- forecast(history, horizon, **kw)[source]
Horizon predictions with MODEL-PREDICTIVE Monte Carlo intervals β
mixle.inference.forecast().The intervals are the fitted modelβs own predictive quantiles, not held-out-calibrated bands (STAT-P20-04);
forecast_priceis the recalibrated route.
- do(interventions, **kw)[source]
Graph-surgery intervention β
mixle.inference.do()(M0βs generic engine: dependency trees, Bayesian networks, composites, mixtures; reduces tomixle.inference.bn_do()βs exact behavior for a fittedHeterogeneousBayesianNetwork).
- propose(data, *, fit=False, llm=None, holdout=0.25, seed=0, max_its=25, max_candidates=None, timeout=None, **recommend_kw)[source]
Propose a model for
datafrom a verified frontier of candidates and return the winner.The winner comes back UNFITTED unless ``fit=True`` is passed. Candidate ranking fits every candidate internally (on the training split, scored held-out), but what returns by default is the winning specification:
Model.fittedisNoneand the scoring verbs raise untilfit(data)runs.propose(data, fit=True)is the one-call propose-and-fit form.datais anything row-shaped: a list of records, a numpy array, a pandasDataFrame(one record per row across its columns β never a model of the column names), a mapping of equal-length columns, aDataSource, or a one-shot iterator (materialized once).Two paths return an unverified winner, and both are honestly disclosed (never silently).
max_candidates=0ortimeout=0.0skips every candidate: the winner falls back to the raw heuristic recommendation, with a"search budget: skipped ..."line inModel.notesand a"skipped": "search budget reached (...)"entry per candidate inModel.frontier, both readable throughexplain(). And when every candidate fails to verify (scoring errors, or every fit rejected as degenerate), the same fallback applies with a"no candidate could be verified: ..."note naming each failure. On BOTH routes, withfit=Truetheevidence["certificate"]record is downgraded fromsucceededtoattemptedβ a certificate produced for a winner nothing verified out-of-sample is not verification, whether the candidates failed or the budget skipped them. Any othermax_candidates/timeoutstill verifies every candidate it has budget for before choosing a winner.The verified frontier is guarded against degenerate wins: a candidate whose held-out score is a likelihood spike β a continuous fit whose scale collapsed onto a repeated value, detected by a positive log-density spike (max over held-out rows above 0, whether localized or median-wide, per the median) combined with pathological PIT calibration (total-variation error >= 1.0 of the 1.8 maximum) β is rejected from the frontier with a note, and the win falls to the best non-degenerate candidate. The criterion is deterministic and never fires on a model without a scalar predictive CDF (see
_degenerate_likelihood_spike).A joint (multi-field) candidateβs held-out score is also guarded against one field wrongly voiding every other, well-behaved field: when a field legitimately meets a held-out label its training split never saw,
CategoricalDistributionβs documenteddefault_value=0.0scores that row at-inf(an identifier-like/high-cardinality field with a long tail is the common real-world trigger). That fieldβs contribution is excluded from the candidateβs held-out score β not the whole candidate β with a note naming the field and how many held-out rows it affected (see_unseen_label_rescue); an unexplained non-finite score still fails the candidate outright.For scalar data the candidate universe follows the ELEMENT TYPE, and the choice is recorded in
Model.notes: integer-typed values are modeled by discrete families (categorical / Poisson / binomial β¦), float-typed values by continuous densities β the two universes score in different units (log-mass vs log-density) and cannot be ranked against each other, so passing.astype(float)on a count column is an affirmative statement that it is continuous.Candidates come from every proposer the library has β the heuristic recommendation (
mixle.task.recommend.recommend_model(), dependency-aware in the narrow sense of a joint multivariate-Gaussian candidate for fully-observed numeric vector rows), a structured-search candidate (mixle.inference.optimize()called with no pre-built estimator β its own no-estimator auto-structure-search, the fuller copula/learned-Bayesian-network dependence upgrade described in The Automatic-Modeling Contractβs βDependence between fieldsβ), the plain independence baseline (mixle.utils.automatic.get_estimator()), and, when anllmhandle is given, an LLM-designed structure (mixle.task.design.design_model(), allowlisted-spec, fit-validated). Each candidate is generated from the training split only, fitted on it, and scored on held-out data β the outer holdout is invisible to every proposer until final ranking (STAT-RR18-01), so the ranking is out-of-sample, not a guess. The winner becomes the returnedModel; the full ranking lands inModel.frontierand the per-field confidence / dependency / candidate notes inModel.notes(shown byexplain()). Passfit=Trueto also fit the winner to all ofdatabefore returning.The frontier search is bounded by
max_candidates(evaluate at most this many candidates, in proposer order β the heuristic recommendation is always first) andtimeout(stop starting new candidate fits once this many wall-clock seconds have elapsed). Both default toNone(unbounded). A candidate skipped for budget is recorded inModel.frontierandModel.notes, never silently dropped, so a bounded search reports exactly what it did not evaluate.
- supports(obj, capability)[source]
Return whether
objprovidescapability(a Protocol, a PredicateCapability, or its name).capabilitymay be the capability class itself or the catalogued NAME STRING thatcapabilities()/describe()report (supports(x, "HasMoments")), so the query surface round-trips its own vocabulary.For a
runtime_checkableProtocol,isinstanceestablishes attribute presence only, not callable shape β an object withcondition = 3clearedsupports(obj, Conditionable)and thereforerequire(), and the routing failure surfaced later as aTypeErrorinside the operation. These are authoritative dispatch declarations, so every declared protocol method must at least be callable onobj.
- capabilities(obj)[source]
Return the set of capability names
objprovides β βwhat can I do with this?β.
- describe(obj)[source]
Return a plain-English summary of what
objis and what you can do with it.The one-call answer to βwhat can this do?β: its category, the capabilities it has and notably lacks, the engines it runs on, and how to fit it. Works on any object; richest for distributions.
- summarize(obj)[source]
Return every closed-form summary statistic
objexposes, selected by its capabilities.The numeric companion to
describe()(which says what an object can do): mean/variance/std (plus skewness/kurtosis when present) for aHasMomentsdistribution,entropyforHasEntropy, and the median forHasCDF. Two closed forms are DERIVED when the methods are absent: a finite mixtureβs mean/variance from its component moments (law of total variance), and exact mean/variance/std/entropy/median/mode for a small finite enumerable support by summing the whole support. Keys absent from the result are not available in closed form forobjβ and the_statusreceipt names each core statistic that could not be produced and why β sosummarizenever raises on a partially-featured distribution and never returns a bare empty report.
- catalog()[source]
Return the full capability vocabulary (every facet/contract/role), as data.
- Return type:
tuple[CapabilitySpec, β¦]
- what_supports(capability, among)[source]
Return the names of entries in
amongthat providecapability.amongis an iterable of instances (or classes for method-presence protocols) β e.g.what_supports(Conditionable, [mvn, gaussian, mixture]).
- require(obj, capability, op=None)[source]
Raise
CapabilityError(early, with a clear message) ifobjlackscapability.Accepts the capability class or its catalogued name string, exactly like
supports().
SubpackagesΒΆ
- mixle.analysis package
- Submodules
- mixle.analysis.biodiversity module
- mixle.analysis.carcinogenic_risk module
- mixle.analysis.covariance_shrinkage module
- mixle.analysis.coverage module
- mixle.analysis.developmental_risk module
- mixle.analysis.emissions module
- mixle.analysis.epidemiology module
- mixle.analysis.extreme module
- mixle.analysis.habitat_constraints module
- mixle.analysis.health_risk module
- mixle.analysis.kde module
- mixle.analysis.kriging module
- mixle.analysis.max_stable module
- mixle.analysis.objective module
- mixle.analysis.rank_aggregation module
- mixle.analysis.real_options module
- mixle.analysis.sdm module
- mixle.analysis.spatial_mixture module
- mixle.analysis.valuation module
- Submodules
- mixle.data package
- mixle.doe package
- Submodules
- mixle.doe.active module
- mixle.doe.amplify module
- mixle.doe.analysis module
- mixle.doe.batch module
- mixle.doe.bayesopt module
- mixle.doe.calibrate module
- mixle.doe.constrained module
- mixle.doe.designs module
- mixle.doe.distillation module
- mixle.doe.entropy module
- mixle.doe.factorial module
- mixle.doe.mixture module
- mixle.doe.multifidelity module
- mixle.doe.multiobjective module
- mixle.doe.optimal module
- mixle.doe.optimizer module
- mixle.doe.oracle module
- mixle.doe.propagate module
- mixle.doe.robust module
- mixle.doe.sensitivity module
- mixle.doe.sequential module
- mixle.doe.trust_region module
- Submodules
- mixle.engines package
- Submodules
- mixle.engines.affine module
- mixle.engines.arithmetic module
- mixle.engines.base module
- mixle.engines.bitpacked module
- mixle.engines.build_kernels module
- mixle.engines.error_tracing module
- mixle.engines.extended module
- mixle.engines.formats module
- mixle.engines.heterogeneous module
- mixle.engines.highprec module
- mixle.engines.jax_engine module
- mixle.engines.lns module
- mixle.engines.lns_nn module
- mixle.engines.numpy_engine module
- mixle.engines.packing module
- mixle.engines.precision module
- mixle.engines.qlut module
- mixle.engines.spectrum module
- mixle.engines.symbolic_engine module
- mixle.engines.symbolic_export module
- mixle.engines.torch_engine module
- Submodules
- mixle.enumeration package
- Subpackages
- Submodules
- mixle.enumeration.algorithms module
- mixle.enumeration.assignment module
- mixle.enumeration.autoregressive module
- mixle.enumeration.best_first module
- mixle.enumeration.density_rank module
- mixle.enumeration.envelope module
- mixle.enumeration.hmm_paths module
- mixle.enumeration.model_enumeration module
- mixle.enumeration.rescore module
- mixle.enumeration.seek_index module
- mixle.enumeration.spanning module
- mixle.enumeration.streams module
- mixle.epistemic package
- mixle.evolve package
- Submodules
- mixle.evolve.closed_loop module
- mixle.evolve.concept_discovery module
- mixle.evolve.improve module
- mixle.evolve.ledger module
- mixle.evolve.objective module
- mixle.evolve.operators module
- mixle.evolve.population module
- mixle.evolve.search module
- mixle.evolve.space module
- mixle.evolve.structure module
- mixle.evolve.verify module
- Submodules
- mixle.experimental package
- Subpackages
- Submodules
- mixle.experimental.active_causal module
- mixle.experimental.certified_bounds module
- mixle.experimental.context_parallel_spine module
- mixle.experimental.context_spine module
- mixle.experimental.cvi module
- mixle.experimental.e_process module
- mixle.experimental.equation_discovery module
- mixle.experimental.graduation module
- mixle.experimental.growth_operators module
- mixle.experimental.kv_cache_quant module
- mixle.experimental.law_discovery module
- mixle.experimental.long_context_eval module
- mixle.experimental.model_economy module
- mixle.experimental.moment_closure_attention module
- mixle.experimental.ot_geometry module
- mixle.experimental.pac_bayes module
- mixle.experimental.program module
- mixle.experimental.quantized_key_attention module
- mixle.experimental.retrieval_memory_spine module
- mixle.experimental.selective_scan module
- mixle.experimental.sketch_state_attention module
- mixle.experimental.spectral_health module
- mixle.experimental.ssm_hybrid module
- mixle.experimental.structure_edit_schedule module
- mixle.experimental.summary_tree module
- mixle.experimental.tensor_network module
- mixle.experimental.tensor_pipeline_context_parallel module
- mixle.experimental.tying_discovery module
- mixle.experimental.unlearning module
- mixle.experimental.v_information module
- mixle.experimental.wake_sleep module
- mixle.inference package
- Subpackages
- Submodules
- mixle.inference.backend_respecialization module
- mixle.inference.backends module
- mixle.inference.bayesian_network module
- mixle.inference.belief module
- mixle.inference.blackbox module
- mixle.inference.block_em module
- mixle.inference.block_gibbs module
- mixle.inference.calibrate_fit module
- mixle.inference.calibration module
- mixle.inference.calibration_gate module
- mixle.inference.causal module
- mixle.inference.condition module
- mixle.inference.conditional_jit_controller module
- mixle.inference.conformal module
- mixle.inference.copula_structure module
- mixle.inference.create module
- mixle.inference.cross_validation module
- mixle.inference.decision module
- mixle.inference.diagnostics module
- mixle.inference.em module
- mixle.inference.errors_in_variables module
- mixle.inference.estimation module
- mixle.inference.event_study module
- mixle.inference.explain module
- mixle.inference.fisher module
- mixle.inference.forecast module
- mixle.inference.freeze_rollup module
- mixle.inference.fusion_policy module
- mixle.inference.glm module
- mixle.inference.gradient_fit module
- mixle.inference.heterogeneous_executor module
- mixle.inference.integrity module
- mixle.inference.jit module
- mixle.inference.leaf_hotswap module
- mixle.inference.model_comparison module
- mixle.inference.multiple_testing module
- mixle.inference.node_precision_plan module
- mixle.inference.node_report module
- mixle.inference.nonparametric module
- mixle.inference.objectives module
- mixle.inference.orchestration module
- mixle.inference.ordinal module
- mixle.inference.placement module
- mixle.inference.planning module
- mixle.inference.posterior module
- mixle.inference.precision_plan module
- mixle.inference.price_forecast module
- mixle.inference.priors module
- mixle.inference.project module
- mixle.inference.receipt module
- mixle.inference.refine module
- mixle.inference.reproduce module
- mixle.inference.resampling module
- mixle.inference.risk module
- mixle.inference.robust module
- mixle.inference.scenario module
- mixle.inference.scoring module
- mixle.inference.select module
- mixle.inference.simulate module
- mixle.inference.skill module
- mixle.inference.spark_executor module
- mixle.inference.streaming module
- mixle.inference.structure module
- mixle.inference.structure_embedded module
- mixle.inference.survival module
- mixle.inference.synthesize module
- mixle.inference.target module
- mixle.inference.torsion module
- mixle.inference.transaction module
- mixle.inference.uncertainty module
- mixle.inference.uq module
- mixle.models package
- Submodules
- mixle.models.coarsening module
- mixle.models.compress module
- mixle.models.continual module
- mixle.models.dependence module
- mixle.models.dirichlet_process_mixture module
- mixle.models.dpo_leaf module
- mixle.models.embedding module
- mixle.models.energy module
- mixle.models.eval_harness module
- mixle.models.feature_map module
- mixle.models.gaussian_process module
- mixle.models.grad_leaf module
- mixle.models.grammar module
- mixle.models.hamiltonian module
- mixle.models.knowledge_graph module
- mixle.models.language_model module
- mixle.models.memory_efficient_training module
- mixle.models.mixture_density module
- mixle.models.moe module
- mixle.models.moment_propagation module
- mixle.models.mup module
- mixle.models.neural module
- mixle.models.neural_density module
- mixle.models.neural_families module
- mixle.models.neural_leaf module
- mixle.models.optimizer_routing module
- mixle.models.partially_observable_markov_decision_process module
- mixle.models.pinn module
- mixle.models.qat module
- mixle.models.quotient module
- mixle.models.random_forest module
- mixle.models.random_graph module
- mixle.models.self_distillation module
- mixle.models.sigma_weighted_projection module
- mixle.models.softmax_leaf module
- mixle.models.sorted_profile_quantizer module
- mixle.models.sparse_gaussian_process module
- mixle.models.sparsity_2_4 module
- mixle.models.streaming_transformer_leaf module
- mixle.models.train_search module
- mixle.models.transformer module
- mixle.models.unified_quantizer module
- Submodules
- mixle.pool package
- mixle.ppl package
- Submodules
- mixle.ppl.autograd module
- mixle.ppl.conformal module
- mixle.ppl.core module
- mixle.ppl.density module
- mixle.ppl.diagnostics module
- mixle.ppl.distributions module
- mixle.ppl.field module
- mixle.ppl.guide module
- mixle.ppl.inference module
- mixle.ppl.neural module
- mixle.ppl.predictive module
- mixle.ppl.priors module
- mixle.ppl.provenance module
- mixle.ppl.regression module
- mixle.ppl.rough_paths module
- mixle.ppl.scaling_laws module
- mixle.ppl.statespace module
- mixle.ppl.summarize module
- mixle.ppl.survival module
- mixle.ppl.vmp module
- Submodules
- mixle.reason package
- Submodules
- mixle.reason.adapter module
- mixle.reason.anchor_harness module
- mixle.reason.belief_walk module
- mixle.reason.core module
- mixle.reason.cross_modal module
- mixle.reason.cycle_consistency module
- mixle.reason.design module
- mixle.reason.discrete module
- mixle.reason.embedding module
- mixle.reason.encoder module
- mixle.reason.fusion module
- mixle.reason.graph_llm module
- mixle.reason.inference_program module
- mixle.reason.language_bridge module
- mixle.reason.llm module
- mixle.reason.modality module
- mixle.reason.model module
- mixle.reason.model_fusion module
- mixle.reason.ontology module
- mixle.reason.posterior_protocol module
- mixle.reason.posterior_schema module
- mixle.reason.receipt module
- mixle.reason.store module
- mixle.reason.task_projection module
- mixle.reason.transport_edge module
- mixle.reason.zero_shot_bootstrap module
- Submodules
- mixle.represent package
- Submodules
- mixle.represent.api module
- mixle.represent.embed module
- mixle.represent.generative module
- mixle.represent.graph module
- mixle.represent.heterogeneous module
- mixle.represent.identity module
- mixle.represent.learned_segment module
- mixle.represent.modality module
- mixle.represent.posterior module
- mixle.represent.quantize module
- mixle.represent.segment module
- Submodules
- mixle.stats package
- Subpackages
- mixle.stats.bayes package
- mixle.stats.combinator package
- mixle.stats.compute package
- mixle.stats.directional package
- mixle.stats.graphs package
- mixle.stats.latent package
- mixle.stats.matrix package
- mixle.stats.multivariate package
- mixle.stats.processes package
- mixle.stats.rankings package
- mixle.stats.sequences package
- mixle.stats.sets package
- mixle.stats.trees package
- mixle.stats.univariate package
- Submodules
- Subpackages
- mixle.substrate package
- Submodules
- mixle.substrate.accum module
- mixle.substrate.act module
- mixle.substrate.answer module
- mixle.substrate.belief module
- mixle.substrate.context module
- mixle.substrate.core module
- mixle.substrate.eig_retrieve module
- mixle.substrate.factuality module
- mixle.substrate.freshness module
- mixle.substrate.governance module
- mixle.substrate.harness module
- mixle.substrate.ingest module
- mixle.substrate.interop module
- mixle.substrate.kg_rag module
- mixle.substrate.multihop module
- mixle.substrate.reasoner module
- mixle.substrate.retrieve module
- mixle.substrate.security module
- mixle.substrate.spaces module
- mixle.substrate.trust module
- Submodules
- mixle.system package
- mixle.task package
- Submodules
- mixle.task.acquire module
- mixle.task.active module
- mixle.task.artifact module
- mixle.task.bandit module
- mixle.task.calibrate module
- mixle.task.calibrated_generator module
- mixle.task.capability module
- mixle.task.capacity module
- mixle.task.cascade module
- mixle.task.catalog_router module
- mixle.task.checkpoint_family_ladder module
- mixle.task.collapse module
- mixle.task.compose module
- mixle.task.constrained module
- mixle.task.data_mixture module
- mixle.task.density module
- mixle.task.deploy_family module
- mixle.task.design module
- mixle.task.design_prior module
- mixle.task.disagreement module
- mixle.task.discrepancy_invention_loop module
- mixle.task.distill module
- mixle.task.distill_methods module
- mixle.task.distill_soft module
- mixle.task.economics module
- mixle.task.edge module
- mixle.task.emulate module
- mixle.task.environment module
- mixle.task.explore_world module
- mixle.task.extract module
- mixle.task.frontier_to_native module
- mixle.task.generative_capability module
- mixle.task.generative_text module
- mixle.task.harness module
- mixle.task.imagine module
- mixle.task.inverse module
- mixle.task.irl module
- mixle.task.knowledge_routing module
- mixle.task.llm module
- mixle.task.model module
- mixle.task.multilabel module
- mixle.task.orchestrate module
- mixle.task.outcome_decomposer module
- mixle.task.pilot_ladder module
- mixle.task.plan module
- mixle.task.plan_model module
- mixle.task.plan_refine module
- mixle.task.probe_policy module
- mixle.task.propose module
- mixle.task.quantize module
- mixle.task.recommend module
- mixle.task.refine module
- mixle.task.regress module
- mixle.task.replay module
- mixle.task.rl module
- mixle.task.router module
- mixle.task.scorecard module
- mixle.task.sft_plan module
- mixle.task.solve module
- mixle.task.structured_out module
- mixle.task.task_decomposition module
- mixle.task.toolcall module
- mixle.task.trace_record module
- mixle.task.traces module
- mixle.task.tune module
- mixle.task.vlm module
- Submodules
- mixle.telemetry package
- mixle.utils package
- Subpackages
- Submodules
- mixle.utils.aliasing module
- mixle.utils.callables module
- mixle.utils.deprecation module
- mixle.utils.evaluation module
- mixle.utils.exact module
- mixle.utils.immutable module
- mixle.utils.metrics module
- mixle.utils.optional_deps module
- mixle.utils.optsutil module
- mixle.utils.paths module
- mixle.utils.pvalues module
- mixle.utils.serialization module
- mixle.utils.special module
- mixle.utils.vector module
SubmodulesΒΆ
- mixle.blending module
- mixle.capability module
- mixle.capability_lifecycle module
- mixle.causal module
- mixle.contracts module
- mixle.dist module
- mixle.fault module
- mixle.fulfillment module
- mixle.lifecycle module
- mixle.maturity module
- mixle.meta module
- mixle.ops module
- mixle.pipeline_twin module
- mixle.precedence_scheduling module
- mixle.process module
- mixle.program module
- mixle.registry module
- mixle.relations module
- mixle.reproduction module
- mixle.scientist module
- mixle.scorecard module
- mixle.semantics module
- mixle.spend module
- mixle.stochastic_opt module