geochemistrypi package¶
Subpackages¶
- geochemistrypi.auth package
- geochemistrypi.data_mining package
- Subpackages
- geochemistrypi.data_mining.data package
- Submodules
- geochemistrypi.data_mining.data.data_readiness module
- geochemistrypi.data_mining.data.feature_engineering module
- geochemistrypi.data_mining.data.imputation module
- geochemistrypi.data_mining.data.inference module
- geochemistrypi.data_mining.data.preprocessing module
- geochemistrypi.data_mining.data.statistic module
- Module contents
- geochemistrypi.data_mining.model package
- geochemistrypi.data_mining.plot package
- geochemistrypi.data_mining.process package
- Submodules
- geochemistrypi.data_mining.process.classify module
- geochemistrypi.data_mining.process.cluster module
- geochemistrypi.data_mining.process.decompose module
- geochemistrypi.data_mining.process.detect module
- geochemistrypi.data_mining.process.regress module
- geochemistrypi.data_mining.process.time_series module
- Module contents
- geochemistrypi.data_mining.tests package
- Subpackages
- Submodules
- geochemistrypi.data_mining.tests.test_aggregate module
- geochemistrypi.data_mining.tests.test_cli_automation module
- geochemistrypi.data_mining.tests.test_cli_capability_manifest module
- geochemistrypi.data_mining.tests.test_dataset_catalog module
- geochemistrypi.data_mining.tests.test_decomposition module
- geochemistrypi.data_mining.tests.test_detection module
- geochemistrypi.data_mining.tests.test_inference module
- geochemistrypi.data_mining.tests.test_multiclass_regressions module
- geochemistrypi.data_mining.tests.test_time_series module
- geochemistrypi.data_mining.tests.test_tracking_store module
- geochemistrypi.data_mining.tests.test_world_map module
- Module contents
- geochemistrypi.data_mining.utils package
- geochemistrypi.data_mining.data package
- Submodules
- geochemistrypi.data_mining.aggregate module
- geochemistrypi.data_mining.cli_pipeline module
- geochemistrypi.data_mining.constants module
- geochemistrypi.data_mining.dash_pipeline module
- geochemistrypi.data_mining.datasets module
- geochemistrypi.data_mining.enum_ module
- geochemistrypi.data_mining.router module
- geochemistrypi.data_mining.run_time_series module
- geochemistrypi.data_mining.schemas module
- geochemistrypi.data_mining.service module
- geochemistrypi.data_mining.sql_models module
- Module contents
- Subpackages
Submodules¶
geochemistrypi.automation module¶
Versioned, fail-closed input automation for the existing interactive CLI.
- exception AutomationContractError[source]¶
Bases:
RuntimeErrorRaised when machine-supplied CLI input is invalid or incomplete.
- class AutomationInput(id: str, response: str)[source]¶
Bases:
objectOne ordered response identified independently from human prompt text.
- id: str¶
- response: str¶
- class AutomationInputAdapter(plan: AutomationPlan, events_path: Path)[source]¶
Bases:
objectTemporarily serve ordered inputs to the unchanged interactive workflow.
- class AutomationPlan(schema_version: int, plan_name: str, inputs: Tuple[AutomationInput, ...])[source]¶
Bases:
objectStrict automation request loaded by the CLI process.
- inputs: Tuple[AutomationInput, ...]¶
- classmethod load(path: Path) AutomationPlan[source]¶
- plan_name: str¶
- schema_version: int¶
- exception MissingAutomationInputError[source]¶
Bases:
AutomationContractErrorRaised when the workflow asks for an input that was not supplied.
- exception UnusedAutomationInputError[source]¶
Bases:
AutomationContractErrorRaised when supplied inputs were not consumed by the workflow.
- automation_input_adapter(plan_path: Path, events_path: Path) AutomationInputAdapter[source]¶
Build the automation adapter without importing any scientific modules.
geochemistrypi.cli module¶
- data_mining(data: str = <typer.models.OptionInfo object>, desktop: bool = <typer.models.OptionInfo object>, training: str = <typer.models.OptionInfo object>, application: str = <typer.models.OptionInfo object>, mlflow: bool = <typer.models.OptionInfo object>, automation_plan: str = <typer.models.OptionInfo object>, automation_events: str = <typer.models.OptionInfo object>, world_map_config: str = <typer.models.OptionInfo object>, tracking_root: str = <typer.models.OptionInfo object>, existing_experiment_id: str = <typer.models.OptionInfo object>) None[source]¶
Implement the customized automated machine learning pipeline for geochemistry data mining.
- datasets(source: str = <typer.models.OptionInfo object>, output: str = <typer.models.OptionInfo object>) None[source]¶
List built-in and Desktop datasets without creating, copying, or modifying files.
- main(version: bool = <typer.models.OptionInfo object>) None[source]¶
Geochemistry Pi is an open-sourced highly automated machine learning Python framework for data-driven geochemistry discovery. It has the cores components of continous training, machine learning lifecycle management and model inference.
- time_series(input_path: str = <typer.models.OptionInfo object>, bin_width: float = <typer.models.OptionInfo object>, iterations: int = <typer.models.OptionInfo object>, seed: int = <typer.models.OptionInfo object>, output_root: str = <typer.models.OptionInfo object>, experiment_name: str = <typer.models.OptionInfo object>, run_name: str = <typer.models.OptionInfo object>, sheet: str = <typer.models.OptionInfo object>, age_column: str = <typer.models.OptionInfo object>, maximum_age_column: str = <typer.models.OptionInfo object>, probability_column: str = <typer.models.OptionInfo object>, latitude_column: str = <typer.models.OptionInfo object>, longitude_column: str = <typer.models.OptionInfo object>, age_unit: str = <typer.models.OptionInfo object>, fit_curve: bool = <typer.models.OptionInfo object>, automation_plan: str = <typer.models.OptionInfo object>, automation_events: str = <typer.models.OptionInfo object>) None[source]¶
Run reproducible subaerial-proportion Time Series analysis.
geochemistrypi.database module¶
geochemistrypi.start_cli_pipeline module¶
geochemistrypi.start_dash_pipeline module¶
geochemistrypi.tracking module¶
Bounded, machine-readable access to the local MLflow tracking store.
- exception TrackingStoreError[source]¶
Bases:
ValueErrorRaised when a tracking-store request is invalid or cannot be satisfied.
- get_experiment(tracking_root: Path, experiment_id: str, maximum_runs: int = 50) Dict[str, Any][source]¶
Return one active experiment and its newest bounded run summaries.
- list_experiments(tracking_root: Path, maximum_experiments: int = 100) Dict[str, Any][source]¶
List active experiments from one local store with a hard response bound.
- require_experiment(tracking_root: Path, experiment_id: str, expected_name: str) Dict[str, Any][source]¶
Resolve a stable experiment ID and reject output-name mismatches.
geochemistrypi.tracking_cli module¶
Private JSON bridge used by the separately installed MCP runtime.