Regression |
public RegressionTestPlanBuilder AddExtraPredictorSpec( string extraPredictorKey, ExtraPredictorSpec extraPredictorSpec )
Exception | Condition |
---|---|
ArgumentNullException | extraPredictorKey or extraPredictorSpec is null. |
ArgumentException | extraPredictorKey does not match the specification detailed above. |
There's some sample code 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).
If you have 2 extra predictors (the maximum allowed, though this is not checked until you call Build), you can call this method twice, or do all the extra-predictor specification in one call to SetExtraPredictorSpecs(IDictionaryString, ExtraPredictorSpec).