featurebyte.FeatureList.update_naive_prediction¶
update_naive_prediction(
feature_name: str,
structure: NaivePredictionStructure
)Description¶
Set the naive prediction for this FeatureList. The feature name must be one of the features in the feature list.
Parameters¶
- feature_name: str
Name of the feature to use as naive prediction. - structure: NaivePredictionStructure
Structure of the naive prediction model (additive or multiplicative).
Raises¶
- ValueError
If the feature name is not found in the feature list.