[bc3db1]: / Ensemble Learning / AdaBoost / initStump.m

Download this file

8 lines (7 with data), 127 Bytes

1
2
3
4
5
6
7
function stump = initStump(dim)
stump.dim = dim;
stump.error = 1e6;
stump.threshold = [];
stump.less = 1;
stump.more = -1;
end