Switch to unified view

a b/Ensemble Learning/AdaBoost/initStump.m
1
function stump = initStump(dim)
2
stump.dim = dim;
3
stump.error = 1e6;
4
stump.threshold = [];
5
stump.less = 1;
6
stump.more = -1;
7
end