Join the newly launched Discord
community for real-time discussions, peer support, and direct interaction with the Meridian team!
schema.model_consumer.ModelConsumer Stay organized with collections
Save and categorize content based on your preferences.
Consumes a trained Meridian model and produces an Mmm
proto.
schema
.
model_consumer
.
ModelConsumer
(
model_processors_classes
:
Sequence
[
ProcType
]
)
A preset list of model processor types.
specs_to_processors_classes
Returns a mapping of spec types to their corresponding processor types.
Methods
__call__
View source
__call__
(
mmm
:
model
.
Meridian
,
specs
:
Sequence
[
model_processor
.
Spec
],
model_id
:
str
=
''
)
->
mmm_pb
.
Mmm
Produces an Mmm
schema for the model along with its analyses results.
mmm
A trained Meridian model. A trained model has its posterior
distributions already sampled.
specs
A sequence of specs that specify the analyses to run on the model.
Specs of the same type will be grouped together and executed together by
the corresponding model processor.
model_id
An optional model identifier.
A proto containing the model kernel at rest and its analysis results.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-09 UTC."],[],[]]