eelbrain.plot.preview_partitions

eelbrain.plot.preview_partitions(cases=0, partitions=None, model=None, validate=1, test=0, data=None, **kwargs)

Preview how data will be partitioned for the boosting function

Parameters:
  • cases (int | NDVar | str) – Description of the data that will be used. Can be specified as NDVar data, or as integer describing the number of trials (the default assumes continuous data).

  • ... – For a description of the splitting parameters see boosting(). For plotting parameters see DataSplit.

  • partitions (int) –

  • model (Factor | Interaction | NestedEffect | str) –

  • validate (int) –

  • test (int) –

  • data (Dataset) –

Return type:

DataSplit