Skip to content

Commit

Permalink
reference to rowCount should be done via dataSetInfo.rowCount (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb authored Nov 24, 2023
1 parent 9868e49 commit 7142e51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/qml/predictiveAnalytics.qml
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,12 @@ Form
name: "resampleForecastHorizon"
id: "resampleForecastHorizon"
label: qsTr("Prediction window")
defaultValue: Math.floor((dataSetModel.rowCount() / 5)*0.6)
defaultValue: Math.floor((dataSetInfo.rowCount / 5)*0.6)
}
IntegerField{
name: "resampleInitialTraining"
label: qsTr("Training window")
defaultValue: Math.floor((dataSetModel.rowCount() / 5)*1.4)
defaultValue: Math.floor((dataSetInfo.rowCount / 5)*1.4)
}
IntegerField{name: "resampleSkip"; label: qsTr("Skip between training slices");defaultValue: resampleForecastHorizon.value}

Expand Down

0 comments on commit 7142e51

Please sign in to comment.