Chi2fit.MonteCarlo.forecast_duration

You're seeing just the function forecast_duration, go back to Chi2fit.MonteCarlo module for more information.
Link to this function

forecast_duration(data, size)

View Source

Specs

forecast_duration(data :: [number()] | (() -> number()), size :: pos_integer()) ::
  (() -> number())

Returns a function for forecasting the duration to complete a number of items.

This function is a wrapper for forecast/4.

Arguments

`data` - either a data set to base the forecasting on, or a function that returns (random) numbers
`size` - the number of items to complete