Skip to main content

Subsampling design: items

NumericFilterItem​

MemberKindDescription
descriptor_idattribute
operatorattribute
valueattribute
armattribute
immutable_idattribute
is_activeattribute

descriptor_id​

Type: str

operator​

Type: str

value​

Type: float

arm​

Type: str | None

immutable_id​

Type: str | None

is_active​

Type: bool

NumericFilterHandle​

Persisted numeric filter bound to one subsampling design.

Returned by: NumericFilterHandle.refresh, NumericFilterHandle.set_active, NumericFilterHandle.set_value, NumericFiltersService.create, NumericFiltersService.create_eq, NumericFiltersService.create_from_descriptor, NumericFiltersService.create_gt, NumericFiltersService.create_gte, NumericFiltersService.create_lt, NumericFiltersService.create_lte, NumericFiltersService.create_neq, NumericFiltersService.find

Also has every member of NumericFilterItem.

MemberKindDescription
refreshmethodReload this filter from the latest design state.
copymethodReturn a reusable dict payload for creating a similar filter.
set_valuemethodReplace the numeric threshold for this filter.
set_activemethodEnable or disable this filter.
deletemethodDelete this filter from the design.

refresh​

refresh() -> NumericFilterHandle

Reload this filter from the latest design state.

copy​

copy() -> dict[str, Any]

Return a reusable dict payload for creating a similar filter.

set_value​

set_value(
value: float, *, version: str | dict | None = None
) -> NumericFilterHandle

Replace the numeric threshold for this filter.

set_active​

set_active(
is_active: bool, *, version: str | dict | None = None
) -> NumericFilterHandle

Enable or disable this filter.

delete​

delete(*, version: str | dict | None = None) -> None

Delete this filter from the design.

CategoricalFilterItem​

MemberKindDescription
descriptor_idattribute
levelsattribute
armattribute
immutable_idattribute
is_activeattribute

descriptor_id​

Type: str

levels​

Type: tuple[str, ...]

arm​

Type: str | None

immutable_id​

Type: str | None

is_active​

Type: bool

CategoricalFilterHandle​

Persisted categorical filter bound to one subsampling design.

Returned by: CategoricalFilterHandle.refresh, CategoricalFilterHandle.set_active, CategoricalFilterHandle.set_levels, CategoricalFiltersService.create, CategoricalFiltersService.create_from_descriptor, CategoricalFiltersService.find

Also has every member of CategoricalFilterItem.

MemberKindDescription
refreshmethodReload this filter from the latest design state.
copymethodReturn a reusable dict payload for creating a similar filter.
set_levelsmethodReplace the allowed levels for this filter.
set_activemethodEnable or disable this filter.
deletemethodDelete this filter from the design.

refresh​

refresh() -> CategoricalFilterHandle

Reload this filter from the latest design state.

copy​

copy() -> dict[str, Any]

Return a reusable dict payload for creating a similar filter.

set_levels​

set_levels(
levels: list[str] | tuple[str, ...], *, version: str | dict | None = None
) -> CategoricalFilterHandle

Replace the allowed levels for this filter.

set_active​

set_active(
is_active: bool, *, version: str | dict | None = None
) -> CategoricalFilterHandle

Enable or disable this filter.

delete​

delete(*, version: str | dict | None = None) -> None

Delete this filter from the design.

MarginalItem​

MemberKindDescription
descriptor_idattribute
distributionattribute
armattribute
immutable_idattribute
is_activeattribute
weightattribute
subject_toattribute
referenceattribute

descriptor_id​

Type: str

distribution​

Type: Any

arm​

Type: str | None

immutable_id​

Type: str | None

is_active​

Type: bool | None

weight​

Type: float | None

subject_to​

Type: tuple[dict[str, Any], ...]

reference​

Type: str | None

MarginalHandle​

Persisted scalar target distribution bound to one subsampling design.

Returned by: MarginalHandle.refresh, MarginalHandle.set_active, MarginalHandle.set_distribution, MarginalHandle.set_distribution_log_normal, MarginalHandle.set_distribution_normal, MarginalHandle.set_distribution_normal_truncated, MarginalHandle.set_distribution_uniform, MarginalHandle.set_distribution_weibull, MarginalHandle.set_reference, MarginalHandle.set_subject_to, MarginalHandle.set_weight, MarginalsService.create, MarginalsService.create_from_descriptor, MarginalsService.create_normal, MarginalsService.create_uniform, MarginalsService.create_weibull, MarginalsService.find

Also has every member of MarginalItem.

MemberKindDescription
refreshmethodReload this marginal from the latest design state.
copymethodReturn a reusable dict payload for creating a similar marginal.
set_distributionmethodReplace the raw distribution payload for this marginal.
set_distribution_normalmethodReplace this marginal with a Normal distribution.
set_distribution_uniformmethodReplace this marginal with a Uniform distribution.
set_distribution_normal_truncatedmethodReplace this marginal with a truncated Normal distribution.
set_distribution_log_normalmethodReplace this marginal with a LogNormal distribution.
set_distribution_weibullmethodReplace this marginal with a Weibull distribution.
set_weightmethodReplace the outer weight attached to this marginal.
set_subject_tomethodReplace the conditions attached to this marginal.
set_referencemethodReplace the reference link attached to this marginal.
set_activemethodEnable or disable this marginal.
deletemethodDelete this marginal from the design.

refresh​

refresh() -> MarginalHandle

Reload this marginal from the latest design state.

copy​

copy() -> dict[str, Any]

Return a reusable dict payload for creating a similar marginal.

set_distribution​

set_distribution(
distribution: dict[str, Any] | float | str,
*,
version: str | dict | None = None
) -> MarginalHandle

Replace the raw distribution payload for this marginal.

set_distribution_normal​

set_distribution_normal(
*, mean: float, standard_deviation: float, version: str | dict | None = None
) -> MarginalHandle

Replace this marginal with a Normal distribution.

set_distribution_uniform​

set_distribution_uniform(
*, low_bound: float, high_bound: float, version: str | dict | None = None
) -> MarginalHandle

Replace this marginal with a Uniform distribution.

set_distribution_normal_truncated​

set_distribution_normal_truncated(
*,
mean: float,
standard_deviation: float,
low_bound: float,
high_bound: float,
version: str | dict | None = None
) -> MarginalHandle

Replace this marginal with a truncated Normal distribution.

set_distribution_log_normal​

set_distribution_log_normal(
*,
mean: float,
standard_deviation: float,
base: float,
version: str | dict | None = None
) -> MarginalHandle

Replace this marginal with a LogNormal distribution.

set_distribution_weibull​

set_distribution_weibull(
*, lambda_: float, k: float, version: str | dict | None = None
) -> MarginalHandle

Replace this marginal with a Weibull distribution.

set_weight​

set_weight(
weight: float | None, *, version: str | dict | None = None
) -> MarginalHandle

Replace the outer weight attached to this marginal.

set_subject_to​

set_subject_to(
subject_to: list[dict[str, Any]], *, version: str | dict | None = None
) -> MarginalHandle

Replace the conditions attached to this marginal.

set_reference​

set_reference(
reference: str | None, *, version: str | dict | None = None
) -> MarginalHandle

Replace the reference link attached to this marginal.

set_active​

set_active(
is_active: bool, *, version: str | dict | None = None
) -> MarginalHandle

Enable or disable this marginal.

delete​

delete(*, version: str | dict | None = None) -> None

Delete this marginal from the design.

CategoricalTargetItem​

MemberKindDescription
descriptor_idattribute
distributionattribute
armattribute
immutable_idattribute
is_activeattribute
weightattribute
subject_toattribute
referenceattribute

descriptor_id​

Type: str

distribution​

Type: dict[str, Any]

arm​

Type: str | None

immutable_id​

Type: str | None

is_active​

Type: bool | None

weight​

Type: float | None

subject_to​

Type: tuple[dict[str, Any], ...]

reference​

Type: str | None

CategoricalTargetHandle​

Persisted categorical target distribution bound to one design.

Returned by: CategoricalTargetHandle.refresh, CategoricalTargetHandle.set_active, CategoricalTargetHandle.set_distribution, CategoricalTargetHandle.set_reference, CategoricalTargetHandle.set_subject_to, CategoricalTargetHandle.set_weight, CategoricalsService.create, CategoricalsService.find

Also has every member of CategoricalTargetItem.

MemberKindDescription
refreshmethodReload this target from the latest design state.
copymethodReturn a reusable dict payload for creating a similar target.
set_distributionmethodReplace the raw categorical distribution payload.
set_weightmethodReplace the weight attached to this target.
set_subject_tomethodReplace the conditions attached to this target.
set_referencemethodReplace the reference link attached to this target.
set_activemethodEnable or disable this target.
deletemethodDelete this target from the design.

refresh​

refresh() -> CategoricalTargetHandle

Reload this target from the latest design state.

copy​

copy() -> dict[str, Any]

Return a reusable dict payload for creating a similar target.

set_distribution​

set_distribution(
distribution: dict[str, Any], *, version: str | dict | None = None
) -> CategoricalTargetHandle

Replace the raw categorical distribution payload.

set_weight​

set_weight(
weight: float | None, *, version: str | dict | None = None
) -> CategoricalTargetHandle

Replace the weight attached to this target.

set_subject_to​

set_subject_to(
subject_to: list[dict[str, Any]], *, version: str | dict | None = None
) -> CategoricalTargetHandle

Replace the conditions attached to this target.

set_reference​

set_reference(
reference: str | None, *, version: str | dict | None = None
) -> CategoricalTargetHandle

Replace the reference link attached to this target.

set_active​

set_active(
is_active: bool, *, version: str | dict | None = None
) -> CategoricalTargetHandle

Enable or disable this target.

delete​

delete(*, version: str | dict | None = None) -> None

Delete this target from the design.

CorrelationItem​

MemberKindDescription
descriptor_idattribute
correlated_variableattribute
correlation_coefficientattribute
armattribute
levelattribute
immutable_idattribute
is_activeattribute
weightattribute
subject_toattribute
referenceattribute

descriptor_id​

Type: str

correlated_variable​

Type: dict[str, Any]

correlation_coefficient​

Type: float

arm​

Type: str | None

level​

Type: str | None

immutable_id​

Type: str | None

is_active​

Type: bool | None

weight​

Type: float | None

subject_to​

Type: tuple[dict[str, Any], ...]

reference​

Type: str | None

CorrelationHandle​

Persisted correlation target bound to one subsampling design.

Returned by: CorrelationHandle.refresh, CorrelationHandle.set_active, CorrelationHandle.set_correlation_coefficient, CorrelationHandle.set_reference, CorrelationHandle.set_subject_to, CorrelationsService.create, CorrelationsService.find

Also has every member of CorrelationItem.

MemberKindDescription
refreshmethodReload this correlation from the latest design state.
copymethodReturn a reusable dict payload for creating a similar correlation.
set_correlation_coefficientmethodReplace the Pearson correlation coefficient.
set_subject_tomethodReplace the conditions attached to this correlation.
set_referencemethodReplace the reference link attached to this correlation.
set_activemethodEnable or disable this correlation.
deletemethodDelete this correlation from the design.

refresh​

refresh() -> CorrelationHandle

Reload this correlation from the latest design state.

copy​

copy() -> dict[str, Any]

Return a reusable dict payload for creating a similar correlation.

set_correlation_coefficient​

set_correlation_coefficient(
coefficient: float, *, version: str | dict | None = None
) -> CorrelationHandle

Replace the Pearson correlation coefficient.

set_subject_to​

set_subject_to(
subject_to: list[dict[str, Any]], *, version: str | dict | None = None
) -> CorrelationHandle

Replace the conditions attached to this correlation.

set_reference​

set_reference(
reference: str | None, *, version: str | dict | None = None
) -> CorrelationHandle

Replace the reference link attached to this correlation.

set_active​

set_active(
is_active: bool, *, version: str | dict | None = None
) -> CorrelationHandle

Enable or disable this correlation.

delete​

delete(*, version: str | dict | None = None) -> None

Delete this correlation from the design.

SummaryStatisticItem​

MemberKindDescription
descriptor_idattribute
meanattribute
armattribute
immutable_idattribute
is_activeattribute
weightattribute
subject_toattribute
standard_deviationattribute
mean_wide_range_low_boundattribute
mean_wide_range_high_boundattribute
std_wide_range_low_boundattribute
std_wide_range_high_boundattribute
referenceattribute

descriptor_id​

Type: str

mean​

Type: float

arm​

Type: str | None

immutable_id​

Type: str | None

is_active​

Type: bool

weight​

Type: float

subject_to​

Type: tuple[dict[str, Any], ...]

standard_deviation​

Type: float | None

mean_wide_range_low_bound​

Type: float | None

mean_wide_range_high_bound​

Type: float | None

std_wide_range_low_bound​

Type: float | None

std_wide_range_high_bound​

Type: float | None

reference​

Type: str | None

SummaryStatisticHandle​

Persisted summary-statistic target bound to one design.

Returned by: SummaryStatisticHandle.refresh, SummaryStatisticHandle.set_active, SummaryStatisticHandle.set_mean, SummaryStatisticHandle.set_standard_deviation, SummaryStatisticHandle.set_subject_to, SummaryStatisticHandle.set_weight, SummaryStatisticsService.create, SummaryStatisticsService.find

Also has every member of SummaryStatisticItem.

MemberKindDescription
refreshmethodReload this target from the latest design state.
copymethodReturn a reusable dict payload for creating a similar target.
set_meanmethodReplace the target mean value.
set_standard_deviationmethodReplace the optional standard deviation value.
set_weightmethodReplace the weight attached to this target.
set_subject_tomethodReplace the conditions attached to this target.
set_activemethodEnable or disable this target.
deletemethodDelete this target from the design.

refresh​

refresh() -> SummaryStatisticHandle

Reload this target from the latest design state.

copy​

copy() -> dict[str, Any]

Return a reusable dict payload for creating a similar target.

set_mean​

set_mean(
mean: float, *, version: str | dict | None = None
) -> SummaryStatisticHandle

Replace the target mean value.

set_standard_deviation​

set_standard_deviation(
standard_deviation: float | None, *, version: str | dict | None = None
) -> SummaryStatisticHandle

Replace the optional standard deviation value.

set_weight​

set_weight(
weight: float, *, version: str | dict | None = None
) -> SummaryStatisticHandle

Replace the weight attached to this target.

set_subject_to​

set_subject_to(
subject_to: list[dict[str, Any]], *, version: str | dict | None = None
) -> SummaryStatisticHandle

Replace the conditions attached to this target.

set_active​

set_active(
is_active: bool, *, version: str | dict | None = None
) -> SummaryStatisticHandle

Enable or disable this target.

delete​

delete(*, version: str | dict | None = None) -> None

Delete this target from the design.

SurvivalItem​

MemberKindDescription
descriptor_idattribute
time_valsattribute
survival_ratesattribute
armattribute
immutable_idattribute
is_activeattribute
weightattribute
subject_toattribute
time_unitattribute
referenceattribute

descriptor_id​

Type: str

time_vals​

Type: tuple[float, ...]

survival_rates​

Type: tuple[float, ...]

arm​

Type: str | None

immutable_id​

Type: str | None

is_active​

Type: bool

weight​

Type: float

subject_to​

Type: tuple[dict[str, Any], ...]

time_unit​

Type: Any

reference​

Type: str | None

SurvivalHandle​

Persisted survival target bound to one subsampling design.

Returned by: SurvivalHandle.refresh, SurvivalHandle.set_active, SurvivalHandle.set_points, SurvivalHandle.set_subject_to, SurvivalHandle.set_weight, SurvivalsService.create, SurvivalsService.find

Also has every member of SurvivalItem.

MemberKindDescription
refreshmethodReload this target from the latest design state.
copymethodReturn a reusable dict payload for creating a similar target.
set_pointsmethodReplace the survival curve using a list or dict of points.
set_weightmethodReplace the weight attached to this target.
set_subject_tomethodReplace the conditions attached to this target.
set_activemethodEnable or disable this target.
deletemethodDelete this target from the design.

refresh​

refresh() -> SurvivalHandle

Reload this target from the latest design state.

copy​

copy() -> dict[str, Any]

Return a reusable dict payload for creating a similar target.

set_points​

set_points(
points: list[tuple[float, float]] | dict[float, float],
*,
version: str | dict | None = None
) -> SurvivalHandle

Replace the survival curve using a list or dict of points.

set_weight​

set_weight(
weight: float, *, version: str | dict | None = None
) -> SurvivalHandle

Replace the weight attached to this target.

set_subject_to​

set_subject_to(
subject_to: list[dict[str, Any]], *, version: str | dict | None = None
) -> SurvivalHandle

Replace the conditions attached to this target.

set_active​

set_active(
is_active: bool, *, version: str | dict | None = None
) -> SurvivalHandle

Enable or disable this target.

delete​

delete(*, version: str | dict | None = None) -> None

Delete this target from the design.

ObservableItem​

MemberKindDescription
descriptor_idattribute
armattribute
immutable_idattribute

descriptor_id​

Type: str

arm​

Type: str | None

immutable_id​

Type: str | None

ObservableHandle​

Persisted extra scalar observable bound to one design.

Returned by: ObservableHandle.refresh, ObservablesService.create, ObservablesService.find

Also has every member of ObservableItem.

MemberKindDescription
refreshmethodReload this observable from the latest design state.
copymethodReturn a reusable dict payload for creating a similar observable.
deletemethodDelete this observable from the design.

refresh​

refresh() -> ObservableHandle

Reload this observable from the latest design state.

copy​

copy() -> dict[str, Any]

Return a reusable dict payload for creating a similar observable.

delete​

delete(*, version: str | dict | None = None) -> None

Delete this observable from the design.