We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78290a8 + a4acdbf commit f62c533Copy full SHA for f62c533
albatross/core/model.h
@@ -97,7 +97,7 @@ class RegressionModel : public ParameterHandlingMixin {
97
return predict(features, detail::PredictTypeIdentity<PredictType>());
98
}
99
100
- template <typename PredictType>
+ template <typename PredictType = JointDistribution>
101
PredictType predict(const FeatureType &feature) const {
102
std::vector<FeatureType> features = {feature};
103
return predict<PredictType>(features);
0 commit comments