Skip to content

Current Python API

This reference is generated from the documented Python source. Signatures, parameters, returns, errors and class members come from the same checkout. Generation does not import the numerical runtime or execute examples.

Source links point to the moving main branch. The source-file SHA-256 values below and the generated manifest identify the exact input bytes.

Symbol Purpose
innovate.FitResult Keep the native fit envelope and expose parameters and reusable state.
innovate.NativeError Expose a native request failure as a Python ValueError subtype.
innovate.aggregate_time_series Aggregate numeric values by daily, weekly or calendar-month windows.
innovate.aggregate_weekly Sum observations into 168-hour windows anchored at the earliest timestamp.
innovate.bootstrap_forecast_frame Flatten native bootstrap forecast arrays into time-by-series rows.
innovate.capabilities Inspect model capabilities advertised by the installed native kernel.
innovate.categorize_adopters Classify observation times using sample-weighted nonnegative adoption rates.
innovate.cumulative_sum Compute cumulative totals in the supplied sample order using Polars.
innovate.execute Execute a schema-2.0 request and retain the complete native response.
innovate.execute_scenario_grid Execute a native scenario grid using one shared table-derived time grid.
innovate.export_ipc_file Re-encode a table or Arrow IPC input as interoperable IPC file bytes.
innovate.export_ipc_stream Re-encode a table or Arrow IPC input as an IPC stream with schema metadata.
innovate.fetch_oecd_dataset Download OECD SDMX observations and parse the response with Polars.
innovate.fit Estimate native model parameters from an ordered observation table.
innovate.fit_batch Fit independent native request payloads while retaining per-item failures.
innovate.fit_frames Fit an iterable of Polars frames sequentially and retain input failures.
innovate.ingest_local Read a local table and pass it through native dataset ingestion.
innovate.ingest_polars Convert a Polars table into a native validated dataset artifact.
innovate.invoke_registered_extension Resolve an extension, invoke its trusted callback, and validate the output.
innovate.paired_outcomes Validate paired Bass trajectories and flatten them to adoption rows.
innovate.policy_metadata_frame Project native policy metadata into a one-row typed DataFrame.
innovate.predict Append native predictions without changing the input row order.
innovate.predict_batch Predict independent native payloads with their own parameters or state.
innovate.predict_frames Predict each paired frame sequentially, preserving failed fits as values.
innovate.rolling_average Compute trailing means, requiring a complete observation window.
innovate.sarima_fit Fit a no-intercept native SARIMA model and return in-sample predictions.
innovate.scenario_comparisons Tabulate pair and ensemble comparisons from a scenario-grid envelope.
innovate.scenario_executions Tabulate execution entries from a successful scenario-grid envelope.
innovate.seasonal_decomposition Separate an evenly spaced numeric series into trend, season and residual.
innovate.staggered_att_polars Estimate staggered treatment effects from a native long-panel request.
innovate.treatment_contrast_frame Project a treatment-contrast result into the historical tabular schema.

View source · Source file SHA-256: 522871fe0b61b840b5f85b8f278beb2b79c7afd68645265ae3a68983d56d74e4

Fit, predict and exchange diffusion data through the native Rust kernel.

The development API accepts Polars tables at tabular boundaries and JSON-compatible objects at the versioned request boundary. Native model names and supported features are discoverable with capabilities. Unported features raise errors; there is no fallback to the historical Python scientific implementations.

LazyFrames are collected when a tabular operation executes. Arrow IPC serialization and deserialization copy buffers and do not promise zero-copy interchange. Numeric time values and model parameters must use mutually consistent units chosen by the caller; the general fit and prediction wrappers do not infer or convert units.

Native request errors become NativeError, while the tabular extension raises ValueError for its transport, schema and prediction failures. Polars, JSON serialization and local I/O errors can also propagate. A returned fit is computational evidence, not a claim that its uncertainty or scientific assumptions have been validated for a particular use.

  • __version__: Installed Python distribution version.

40 public source symbols are rendered from 2 inventoried Python source files. Private and nested helpers are checked for documentation but do not appear as public API pages.

These grouped references have their own source inventories. Python example execution does not establish Julia or R runtime qualification.