It depends on whether you are using cross validation within sequentialfs - if you are, sequentialfs will divide by the number of samples in each test set. For example if you criteriuon is misclassification rate then function (fun in matlab example) should return the number of misclassified samples - sequentialfs will then use the number of sampes in each run of cross validation to calculate the mean criterion value.
mean criterion value algorithm
1 次查看(过去 30 天)
显示 更早的评论
Dear All,
I want to ask something about sequential feature selection in this below statement
"After computing the mean criterion values for each candidate feature subset, sequentialfs chooses the candidate feature subset that minimizes the mean criterion value. This process continues until adding more features does not decrease the criterion."
Anybody know about the way to calculate mean criterion values that matlab do? I mean about the root algorithm.
Thanks Adrian Tjahjana
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NaNs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!