Click or drag to resize

RegressionRequest Class

Defines a request for the API to test regressions against the specified energy data (InputData) using degree days from the specified Location.
Inheritance Hierarchy
SystemObject
  DegreeDays.ApiRequest
    DegreeDays.Api.RegressionsRegressionRequest

Namespace: DegreeDays.Api.Regressions
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public sealed class RegressionRequest : Request

The RegressionRequest type exposes the following members.

Constructors
 NameDescription
Public methodRegressionRequest Constructs a RegressionRequest with the specified Location, InputData, and RegressionTestPlan.
Top
Properties
 NameDescription
Public propertyInputData Gets the non-null InputData containing the dated records of energy usage and any extra-predictor data to be used in the regressions tested by the API.
Public propertyLocation Gets the non-null Location for which the API should generate degree days to use in the regressions it tests against the InputData.
Public propertyTestPlan Gets the non-null RegressionTestPlan that defines how the API should test regressions against the InputData.
Top
Methods
 NameDescription
Public methodEquals Returns true if obj is a RegressionRequest object with the same configuration as this.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode)
Public methodToString Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString)
Top
Remarks

A successfully-processed RegressionRequest will result in a RegressionResponse containing a list of the regressions with the best statistical fit.

See www.degreedays.net/api/regression for more info and code samples.

Thread Safety
Instances of this class are immutable. You can safely reuse them and call them from multiple threads at once.
Version History
VersionDescription
1.4 This was added in version 1.4.
See Also