Skip to content

Commit b65b652

Browse files
committed
fix error in cost equation for regression task
1 parent 74d072f commit b65b652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

md-docs/user_guide/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Cost information is expressed by two proportional coefficients $c_{o}$ and $c_{u
7474

7575
Given a data batch, the mean cost $\bar{C}$ is expressed as
7676
$$
77-
\bar{C} = \frac{\sum_{i | \delta_i < 0} \delta_i \times c_{o} + \sum_{i | \delta_i > 0} \delta_i \times c_{u}}{N}
77+
\bar{C} = \frac{\sum_{i | \delta_i < 0} |\delta_i| \times c_{o} + \sum_{i | \delta_i > 0} \delta_i \times c_{u}}{N}
7878
$$
7979
where $\delta_i = y_i - \hat{y}_i$ is the different between the target and the estimated value.
8080

0 commit comments

Comments
 (0)