# Optimizing Classification Threshold Based on Profit

**URL:** <https://forum.knime.com/t/optimizing-classification-threshold-based-on-profit/16626>\
**Category:** KCH Workflows\
**Created:** [July 11, 2019, 12:23am UTC](https://forum.knime.com/t/optimizing-classification-threshold-based-on-profit/16626 "2019-07-11T00:23:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hub](https://forum-cdn.knime.com/user_avatar/forum.knime.com/hub/32/5438_2.png) [@Hub](https://forum.knime.com/u/Hub)\
**Post date:** [July 11, 2019, 12:23am UTC](https://forum.knime.com/t/optimizing-classification-threshold-based-on-profit/16626/1 "2019-07-11T00:23:55Z")

</div>

Train a classification model using the Linear Regression algorithm. Evaluate the class prediction by overall accuracy and profit statistics. To calculate profit statistics, classification results are weighted by the values in a predefined profit matrix. Values in the profit matrix depend on the final goal of the classification model.

* * *
This is a companion discussion topic for the original entry at [https://kni.me/w/\_LR44v9JnfduAEOd](https://kni.me/w/_LR44v9JnfduAEOd)

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:35pm UTC](https://forum.knime.com/t/optimizing-classification-threshold-based-on-profit/16626/2 "2023-06-23T20:35:32Z")

</div>


