treeflow.model package

class treeflow.model.PhyloModel(model_dict: Dict[str, str | Dict[str, object]])

Bases: object

Class to represent the configuration of a basic phylogenetic model

classmethod check_model_dict(model_dict: Dict[str, str | Dict[str, object]])
all_params() Dict[str, object]
free_params() Dict[str, Dict[str, object]]
relaxed_clock() bool
treeflow.model.phylo_model_to_joint_distribution(model: PhyloModel, initial_tree: TensorflowRootedTree, initial_alignment: Alignment, pattern_counts: Tensor | None = None) JointDistributionCoroutine

Subpackages

Submodules