Research Article
Research and Implementation of Colour Optimal Matching Model for Art Design Based on Bayesian Decision-Making
Table 1
Pseudocode of Bayesian decision theory for feature selection algorithm.
| Input | The sample set S, the label value Y corresponding to the sample, feature set F |
| Output | New feature set | 1 | Function Bayes risk (S, F) | 2 | Obtain the corresponding metric matrix M for a given feature set | 3 | For each | 4 | Calculate R(i) = input(i) (1 a P(C) | ai) | 5 | End for | 6 | | 7 | | 8 | End function |
|
|