voiage.schema.PortfolioStudy
Represents a single candidate study within a research portfolio.
Attributes
Section titled “Attributes”name : str
The name of the candidate study.
design : TrialDesign
The TrialDesign object specifying the study’s design.
cost : float
The estimated cost of conducting this study.
Examples
Section titled “Examples”>>> from voiage.schema import DecisionOption, PortfolioStudy, TrialDesign >>> study = PortfolioStudy(“Trial 1”, TrialDesign([DecisionOption(“A”, 10)]), 1000.0) >>> study.cost 1000.0
Raises
Section titled “Raises”InputError
If inputs are of the wrong type or cost is negative.