I'm new to this topic and I don't really understand the Matlab documentation when it comes to classification trees.
I want to create a decision tree that takes a matrix and returns a binary value for each column (sample vector) of the matrix. The decision should be determined by some features of the sample vector (e.g maximum of sample vector > 1.2*average maximum of other sample vectors => return 1).
I know this could be done by a normal function as well but I want the threshold to be variable, e.g. I want to somehow learn it with another set of sample vectors for which I already have the binary outputs. I would really appreciate any kind of help with this example