<p>Crossvalidation is used to test the difference in behaviour between training and test data. There's no equivalent notion for approximations. However, for many problems it's possible (often via an LP relaxation) to get a good lower bound for a problem. This can be used to test the quality of a given approximation algorithm in practice. </p>

<p>For a good example of this, you should look at <a href="http://www2.research.att.com/~dsj/papers/TSPchapter.pdf" rel="nofollow">David Johnson's survey of experimental work</a> on the travelling salesman problem. </p>

CC BY-SA 3.0
2013-01-17T08:24:58.370Z
2013-01-17T08:24:58.370Z
Suresh Venkat
<p>I normally do machine learning work, and when I'm evaluating an algorithm on a data set, I always use cross-validation to determine how effective the algorithm is.  Is there a similar method for evaluating approximation algorithms on specific instances of NP-hard problems?  If not, how do you determine which algorithm is best for a given problem domain in practice?</p>

<np-hardness><approximation-algorithms><machine-learning>
Is there an algorithm that's "like" cross-validation for approximation algorithms of NP-hard problems?
Mike Izbicki
# Is there an algorithm that's "like" cross-validation for approximation algorithms of NP-hard problems?

(Asked by: username_0 on 2013-01-17)

I normally do machine learning work, and when I'm evaluating an algorithm on a data set, I always use cross-validation to determine how effective the algorithm is. Is there a similar method for evaluating approximation algorithms on specific instances of NP-hard problems? If not, how do you determine which algorithm is best for a given problem domain in practice?

**Tags:** np-hardness, approximation-algorithms, machine-learning


---

## 1 answers

### Answer by username_1 on 2013-01-17. Score: 4

Crossvalidation is used to test the difference in behaviour between training and test data. There's no equivalent notion for approximations. However, for many problems it's possible (often via an LP relaxation) to get a good lower bound for a problem. This can be used to test the quality of a given approximation algorithm in practice.

For a good example of this, you should look at [David Johnson's survey of experimental work](http://www2.research.att.com/~dsj/papers/TSPchapter.pdf) on the travelling salesman problem.


---

