PointProcessDataset

A PointProcessDataset is needed in order to compute a singleRegression (see Optimizers).

The easiest way to construct a PointProcessDataset is by using the static method load(), you just have to supply:

  • std::deque<double> events_times

  • unsigned char AR_ORDER

  • bool hasTheta0

  • WeightsProducer& weightsProducer

  • double current_time

current_time is the time at which we’re evaluating our model, should be greater or equal than the last element of events_times (which is the default value). It is used only in case rightCensoring is applied.

Example:

auto dataset = PointProcessDataset::load(
        events_times,
        AR_ORDER,
        hasTheta0,
        weightsProducer
    )