# `Imp.Experiment.Data`
[🔗](https://github.com/deepfates/imp/blob/v0.18.1/lib/imp/experiment/data.ex#L1)

Disjoint train, selection, and untouched-test data for `Imp.Experiment.check/5`.

Rows are identified before any optimizer or model call. By default identity is
the deterministic content digest of the complete row. Pass `id: :field_name`
(or an arity-one function) when the dataset has a stronger source identity.
Duplicate identities within or across splits are rejected. Every row is an
`Imp.Example` that declares its inputs with `Imp.with_inputs/2`; a plain map,
a field pair list, or an example without declared inputs raises
`ArgumentError` here.

# `split`

```elixir
@type split() :: :train | :selection | :test
```

# `t`

```elixir
@type t() :: %Imp.Experiment.Data{
  digests: %{required(split()) =&gt; String.t()},
  ids: %{required(split()) =&gt; [String.t()]},
  selection: [term()],
  test: [term()],
  train: [term()]
}
```

# `manifest`

```elixir
@spec manifest(t()) :: map()
```

Returns the content-bound public description stored in experiment results.

# `new`

```elixir
@spec new(keyword()) :: t()
```

Builds and validates a disjoint experiment dataset.

# `split`

```elixir
@spec split(t(), split()) :: [term()]
```

Returns the rows for a named split.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
