Package | Description |
---|---|
net.degreedays.api.regression |
For using the API to run regressions against your energy-usage data.
|
Modifier and Type | Method and Description |
---|---|
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.addExtraPredictorSpec(java.lang.String extraPredictorKey,
ExtraPredictorSpec extraPredictorSpec)
Adds a specification for an extra predictor included in the
InputData sent to the API, to help the API test and rank the
regressions that include data for that extra predictor. |
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.addRequestedRegressionSpec(RegressionSpec requestedRegressionSpec)
Adds a specification for a regression that you want to receive in the
response from the API.
|
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setCustomTestCoolingBaseTemperatures(double... coolingBaseTemperatures)
Sets custom base temperatures to be used for the CDD in regressions
tested by the API, assuming the temperature unit (Celsius or
Fahrenheit) this
Builder was constructed with. |
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setCustomTestCoolingBaseTemperatures(java.lang.Iterable<Temperature> coolingBaseTemperatures)
Sets custom base temperatures to be used for the CDD in regressions
tested by the API.
|
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setCustomTestCoolingBaseTemperatures(Temperature[] coolingBaseTemperatures)
Sets custom base temperatures to be used for the CDD in regressions
tested by the API.
|
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setCustomTestHeatingBaseTemperatures(double... heatingBaseTemperatures)
Sets custom base temperatures to be used for the HDD in regressions
tested by the API, assuming the temperature unit (Celsius or
Fahrenheit) this
Builder was constructed with. |
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setCustomTestHeatingBaseTemperatures(java.lang.Iterable<Temperature> heatingBaseTemperatures)
Sets custom base temperatures to be used for the HDD in regressions
tested by the API.
|
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setCustomTestHeatingBaseTemperatures(Temperature[] heatingBaseTemperatures)
Sets custom base temperatures to be used for the HDD in regressions
tested by the API.
|
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setDayNormalization(DayNormalization dayNormalization)
Sets the
DayNormalization to be used in the regression
process. |
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setExtraPredictorSpecs(java.util.Map<java.lang.String,ExtraPredictorSpec> extraPredictorSpecs)
Sets the specifications for the extra predictors included in the
InputData sent to the API, to help the API test and rank the
regressions that include data for those extra predictors. |
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setRequestedRegressionSpecs(java.lang.Iterable<RegressionSpec> requestedRegressionSpecs)
Sets specifications for up to 60 regressions that you want to receive
in the response from the API.
|
RegressionTestPlan.Builder |
RegressionTestPlan.Builder.setRequestedRegressionSpecs(RegressionSpec... requestedRegressionSpecs)
Sets specifications for up to 60 regressions that you want to receive
in the response from the API.
|
See www.degreedays.net/api/ for more about the Degree Days.net API.
You can sign up for a Degree Days.net API account and read the integration guide that is useful and applicable whether you are using Java or not.