Weighted limit learning machine MATLAB code