How to select one data from multiple data

During the algorithm process, it is often necessary to assign a value to a certain parameter or variable. We are not sure what this value is. We can choose one from several data. Common selection methods are:

  • Take extreme values: select the maximum and minimum values ​​from these data
  • take the average:
  • Take the square root value:
  • Get the cumulative sum:
  • Take the sum of squares:
  • Take multiple values:

There may be no logical basis for which method to choose. The reliable probabilities of these methods decrease from top to bottom. You need to try these methods in order to see which method produces results that are closer to the true value.

Guess you like

Origin blog.csdn.net/enternalstar/article/details/133266180