Input |
Exception | Condition |
---|---|
ArgumentNullException | key is null. |
ArgumentException | key does not match the specification detailed above, or if value is NaN or infinite. |
InvalidOperationException | this InputPeriod already has 2 extra predictors (the maximum allowed). |
Every InputPeriod in a set of InputData must have values for the same extra-predictor keys. So, for example, if you include an "occupancy" extra-predictor figure in one InputPeriod in your InputData, you must include an "occupancy" figure in all of them.
There's some sample code showing how to use this method in the regression API docs on our website, and also there's some additional practical information on specifying and using extra predictors in the docs for our website regression tool (which itself uses the API internally).