<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Getting Started — Abacus Documentation</title>
    <link>/getting-started/index.html</link>
    <description>This section helps you install Abacus and run your first model.&#xA;Start here if you want to:&#xA;set up a local environment from this repository fit PanelMMM directly from Python build a model from YAML run the structured pipeline against one of the bundled demo configs Pages Installation — Set up Abacus from a local checkout with Conda or pip, add optional extras, and verify the install. Quickstart: Python API — Fit PanelMMM directly from a pandas dataset in Python. Quickstart: YAML Builder — Construct a model from a YAML config and combined dataset. Quickstart: Pipeline Runner — Run the staged pipeline from Python, the thin CLI, or the bundled demo launcher.</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <atom:link href="/getting-started/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Installation</title>
      <link>/getting-started/installation/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/getting-started/installation/index.html</guid>
      <description>These instructions assume you are working from a local checkout of the Abacus repository.&#xA;Prerequisites Item Notes Python The package requires Python 3.11 or later. The repo development environment uses Python 3.12. Local checkout Install from the repository root, not from a published package index. Writable temp/cache directory Useful for PyTensor compiledir and local verification commands. Recommended setup: Conda + editable install This is the supported local development path for the repository.</description>
    </item>
    <item>
      <title>Quickstart: Python API</title>
      <link>/getting-started/quickstart-python/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/getting-started/quickstart-python/index.html</guid>
      <description>This page shows the fastest direct path from a pandas dataset to a fitted PanelMMM.&#xA;If you have not prepared your dataset yet, read Data Preparation first.&#xA;Load a dataset The repository includes bundled demo datasets under data/demo/. The timeseries bundle is the simplest starting point because it has no extra panel dimensions.&#xA;import pandas as pd dataset = pd.read_csv(&#34;data/demo/timeseries/dataset.csv&#34;) dataset[&#34;date&#34;] = pd.to_datetime(dataset[&#34;date&#34;]) X = dataset.drop(columns=[&#34;revenue&#34;]) y = dataset[&#34;revenue&#34;].rename(&#34;revenue&#34;) Construct PanelMMM from abacus.mmm import GeometricAdstock, LogisticSaturation from abacus.mmm.panel import PanelMMM mmm = PanelMMM( date_column=&#34;date&#34;, target_column=&#34;revenue&#34;, channel_columns=[ &#34;channel_1&#34;, &#34;channel_2&#34;, &#34;channel_3&#34;, &#34;channel_4&#34;, &#34;channel_5&#34;, &#34;channel_6&#34;, ], yearly_seasonality=2, adstock=GeometricAdstock(l_max=4), saturation=LogisticSaturation(), ) This example uses a plain timeseries. If your dataset has panel dimensions such as geo or brand, add them with dims=(...) and keep those columns in X.</description>
    </item>
    <item>
      <title>Quickstart: YAML Builder</title>
      <link>/getting-started/quickstart-yaml/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/getting-started/quickstart-yaml/index.html</guid>
      <description>Use the YAML builder when you want the model specification to live in a config file instead of Python code.&#xA;The builder entry point is:&#xA;from abacus.mmm.builders.yaml import build_mmm_from_yaml Smallest useful workflow The bundled demo config at data/demo/timeseries/config.yml is a working starting point. It already points to a combined dataset with data.dataset_path.&#xA;import pandas as pd from abacus.mmm.builders.yaml import build_mmm_from_yaml dataset = pd.read_csv(&#34;data/demo/timeseries/dataset.csv&#34;) X = dataset.drop(columns=[&#34;revenue&#34;]) y = dataset[&#34;revenue&#34;].rename(&#34;revenue&#34;) mmm = build_mmm_from_yaml( &#34;data/demo/timeseries/config.yml&#34;, X=X, y=y, ) build_mmm_from_yaml(...) returns a PanelMMM instance with the PyMC graph already built.</description>
    </item>
    <item>
      <title>Quickstart: Pipeline Runner</title>
      <link>/getting-started/quickstart-runner/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/getting-started/quickstart-runner/index.html</guid>
      <description>Use the pipeline runner when you want a full staged run instead of only an in-memory model fit.&#xA;The runner writes:&#xA;a run manifest copied and resolved config files fitted model artefacts posterior predictive assessment outputs decomposition, diagnostics, and response-curve artefacts Fastest first run: bundled demo From the repository root, the quickest way to see a real structured run is the demo launcher:</description>
    </item>
  </channel>
</rss>