Reputation: 6466
I am using LBP
on grayscale
images for facial expression recognition task. How can I figure out the best parameters (number of neighbour set points
, and radius of circle
) for LBP
which will be used as the input of my CNN?
p.s. Using skimage
's LBP
implementation
Upvotes: 0
Views: 318
Reputation: 5768
You should probably use a CNN directly for this task, but in general, for any learning task, you should use cross-validation to estimate task performance. scikit-learn has excellent documentation on model selection, cross-validation, and parameter search:
More advanced model selection includes Bayesian parameter search, for which the modules hyperopt and Optuna might be useful.
Upvotes: 2