evalml.objectives.LeadScoring.objective_function¶
-
LeadScoring.
objective_function
(y_true, y_predicted, X=None)[source]¶ Calculate the profit per lead.
- Parameters
y_predicted (ww.DataColumn, pd.Series) – Predicted labels
y_true (ww.DataColumn, pd.Series) – True labels
X (ww.DataTable, pd.DataFrame) – Ignored.
- Returns
Profit per lead
- Return type
float