options.binaryThresh for threshold for binary classification
input can be a Float64Array