Skip to content

Commit 432be39

Browse files
committed
Enable export with at least one predictor
1 parent 3f20366 commit 432be39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inst/qml/mlRegressionKnn.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Form
5050
KNN.WeightFunction { }
5151
}
5252

53-
UI.ExportResults { enabled: vars.predictorCount > 1 && vars.targetCount > 0 }
53+
UI.ExportResults { enabled: vars.predictorCount > 0 && vars.targetCount > 0 }
5454

5555
UI.DataSplit { trainingValidationSplit: !optim.isManual }
5656

inst/qml/mlRegressionLinear.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Form
4949
FIG.PredictivePerformance { }
5050
}
5151

52-
UI.ExportResults { enabled: vars.predictorCount > 1 > 0 && vars.targetCount > 0 }
52+
UI.ExportResults { enabled: vars.predictorCount > 0 && vars.targetCount > 0 }
5353
UI.DataSplit { trainingValidationSplit: false }
5454

5555
Section

0 commit comments

Comments
 (0)