Interface MultiDataSetScoreWrapper

All Superinterfaces:
HasParameters, ScoreWrapper, Serializable, TetradSerializable
All Known Implementing Classes:
BasisFunctionBicScore

public interface MultiDataSetScoreWrapper extends ScoreWrapper
A score wrapper that can construct its per-data-set scores jointly, coordinating any data-dependent representation choices across the data sets. Multi-data-set algorithms that aim at a SINGLE COMMON MODEL over all data sets (e.g. IMaGES) should construct scores through this interface when the wrapper implements it, so that every data set scores the identical parameterization. Constructing scores one data set at a time lets data-dependent choices (such as adaptive basis-column selection) come out differently per data set, in which case the summed score compares models whose effective parameterizations differ across data sets. Algorithms that legitimately fit different models per data set need not use this interface.
  • Method Details

    • getScores

      List<Score> getScores(List<DataModel> dataModels, Parameters parameters)
      Constructs one score per data model, coordinating data-dependent representation choices across the data models so that all scores share a common parameterization. The returned list is aligned with the input list.
      Parameters:
      dataModels - the data models, all with the same variables.
      parameters - the parameters.
      Returns:
      one score per data model, in the same order.