API Reference
This page is auto-generated from Python docstrings.
composable_data_core
Composable Data Core.
A small typed decision grammar for analytical work.
Evaluation
dataclass
Record metric results computed elsewhere.
Source code in src/composable_data_core/evaluation.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/evaluation.py
15 16 17 18 19 20 21 | |
ExperimentAssessment
dataclass
Record the conclusion drawn from comparable experiment evidence.
Source code in src/composable_data_core/experiment_assessment.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/experiment_assessment.py
18 19 20 21 22 23 | |
ExperimentSpec
dataclass
Declare a complete analytical experiment before execution.
Source code in src/composable_data_core/experiment_spec.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | |
__post_init__
__post_init__() -> None
Validate the experiment specification.
Source code in src/composable_data_core/experiment_spec.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | |
Grain
dataclass
Declare what one observation represents.
Source code in src/composable_data_core/grain.py
6 7 8 9 10 11 12 13 14 15 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/grain.py
12 13 14 15 | |
LearningMode
Bases: StrEnum
Declare whether learning uses a target.
Source code in src/composable_data_core/learning_mode.py
6 7 8 9 10 | |
ModelPlan
dataclass
Declare one estimator choice and why it was chosen.
Source code in src/composable_data_core/model_plan.py
11 12 13 14 15 16 17 18 19 20 21 22 23 | |
__post_init__
__post_init__() -> None
Validate the model plan.
Source code in src/composable_data_core/model_plan.py
20 21 22 23 | |
ModelRole
Bases: StrEnum
Role played by a model in an experiment.
Source code in src/composable_data_core/model_role.py
6 7 8 9 10 | |
ProblemType
Bases: StrEnum
Supported supervised prediction problem types.
Source code in src/composable_data_core/problem_type.py
6 7 8 9 10 | |
RationaleTemplate
Bases: Protocol
Protocol for structured or canonical rationale objects.
Source code in src/composable_data_core/rationale_template.py
6 7 8 9 10 11 | |
render
render() -> str
Return a human-readable explanation.
Source code in src/composable_data_core/rationale_template.py
10 11 | |
RationaleText
dataclass
Structured wrapper for free-form rationale text.
Source code in src/composable_data_core/rationale_text.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/rationale_text.py
16 17 18 19 | |
render
render() -> str
Return a human-readable explanation.
Source code in src/composable_data_core/rationale_text.py
21 22 23 | |
Resolution
dataclass
Declare what to do about a data problem and why.
Source code in src/composable_data_core/resolution.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/resolution.py
21 22 23 24 25 26 | |
ResolutionAction
Bases: StrEnum
Common analyst responses to identified data problems.
Source code in src/composable_data_core/resolution_action.py
6 7 8 9 10 11 12 | |
SplitMethod
Bases: StrEnum
Common train/test partition strategies.
Source code in src/composable_data_core/split_method.py
6 7 8 9 10 11 12 | |
SplitPlan
dataclass
Declare how training and test observations should be separated.
Source code in src/composable_data_core/split_plan.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/split_plan.py
20 21 22 23 24 25 26 27 | |
evaluation
Recorded experiment evaluation evidence.
Evaluation
dataclass
Record metric results computed elsewhere.
Source code in src/composable_data_core/evaluation.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/evaluation.py
15 16 17 18 19 20 21 | |
experiment_assessment
Experiment assessment declaration.
ExperimentAssessment
dataclass
Record the conclusion drawn from comparable experiment evidence.
Source code in src/composable_data_core/experiment_assessment.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/experiment_assessment.py
18 19 20 21 22 23 | |
experiment_spec
Experiment specification declaration.
ExperimentSpec
dataclass
Declare a complete analytical experiment before execution.
Source code in src/composable_data_core/experiment_spec.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | |
__post_init__
__post_init__() -> None
Validate the experiment specification.
Source code in src/composable_data_core/experiment_spec.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | |
grain
Observation grain declaration.
Grain
dataclass
Declare what one observation represents.
Source code in src/composable_data_core/grain.py
6 7 8 9 10 11 12 13 14 15 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/grain.py
12 13 14 15 | |
learning_mode
Machine-learning learning mode.
LearningMode
Bases: StrEnum
Declare whether learning uses a target.
Source code in src/composable_data_core/learning_mode.py
6 7 8 9 10 | |
model_plan
Model plan for a machine learning estimator.
ModelPlan
dataclass
Declare one estimator choice and why it was chosen.
Source code in src/composable_data_core/model_plan.py
11 12 13 14 15 16 17 18 19 20 21 22 23 | |
__post_init__
__post_init__() -> None
Validate the model plan.
Source code in src/composable_data_core/model_plan.py
20 21 22 23 | |
model_role
Model role declaration.
ModelRole
Bases: StrEnum
Role played by a model in an experiment.
Source code in src/composable_data_core/model_role.py
6 7 8 9 10 | |
problem_type
Machine-learning problem type.
ProblemType
Bases: StrEnum
Supported supervised prediction problem types.
Source code in src/composable_data_core/problem_type.py
6 7 8 9 10 | |
rationale
Rationale type.
rationale_template
Shared rationale types.
RationaleTemplate
Bases: Protocol
Protocol for structured or canonical rationale objects.
Source code in src/composable_data_core/rationale_template.py
6 7 8 9 10 11 | |
render
render() -> str
Return a human-readable explanation.
Source code in src/composable_data_core/rationale_template.py
10 11 | |
rationale_text
Rationale text type.
RationaleText
dataclass
Structured wrapper for free-form rationale text.
Source code in src/composable_data_core/rationale_text.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/rationale_text.py
16 17 18 19 | |
render
render() -> str
Return a human-readable explanation.
Source code in src/composable_data_core/rationale_text.py
21 22 23 | |
resolution
Data-problem resolution declaration.
Resolution
dataclass
Declare what to do about a data problem and why.
Source code in src/composable_data_core/resolution.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/resolution.py
21 22 23 24 25 26 | |
resolution_action
Data-problem resolution action.
ResolutionAction
Bases: StrEnum
Common analyst responses to identified data problems.
Source code in src/composable_data_core/resolution_action.py
6 7 8 9 10 11 12 | |
split_method
Train/test split method.
SplitMethod
Bases: StrEnum
Common train/test partition strategies.
Source code in src/composable_data_core/split_method.py
6 7 8 9 10 11 12 | |
split_plan
Train/test split plan declaration.
SplitPlan
dataclass
Declare how training and test observations should be separated.
Source code in src/composable_data_core/split_plan.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |
__post_init__
__post_init__() -> None
After initialization validation on the dataclass fields.
Source code in src/composable_data_core/split_plan.py
20 21 22 23 24 25 26 27 | |