You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Compute the standard performance metrics for this model
model_type = self.model_type()
if model_type == ModelType.REGRESSOR.value:
prediction_df = self.residuals(target_column, prediction_df)
metrics = self.regression_metrics(target_column, prediction_df)
elif model_type == ModelType.CLASSIFIER.value:
metrics = self.classification_metrics(target_column, prediction_df)
else:
# Unknown Model Type: Give log message and set metrics to empty dataframe
self.log.warning(f"Unknown Model Type: {model_type}")
metrics = pd.DataFrame()
The text was updated successfully, but these errors were encountered:
Endpoint Core
The text was updated successfully, but these errors were encountered: