Source code for bamt.nodes.schema

from typing import Dict, List, Any, Union, TypedDict, Optional

from numpy import ndarray


[docs] class DiscreteParams(TypedDict): cprob: Union[List[Union[list, Any]], Dict[str, list]] vals: List[str]
[docs] class MixtureGaussianParams(TypedDict): mean: List[float] coef: List[float] covars: List[float]
[docs] class GaussianParams(TypedDict): regressor: str regressor_obj: Optional[Union[str, bool, bytes]] variance: Union[ndarray, float] mean: Union[ndarray, float] serialization: str
[docs] class CondGaussParams(TypedDict): regressor: str regressor_obj: Optional[Union[str, bool, bytes]] variance: Union[ndarray, float] mean: Union[ndarray, float] serialization: str
[docs] class CondMixtureGaussParams(TypedDict): mean: Optional[List[float]] coef: List[float] covars: Optional[List[float]]
[docs] class LogitParams(TypedDict): classes: List[int] classifier: str classifier_obj: Optional[Union[str, bool, bytes]] serialization: str
[docs] class HybcprobParams(TypedDict): hybcprob: Dict[str, CondGaussParams]