Em Algorithm, Step Functions, Statistics, Machine Learning, Data Science.
=1, which is exactly what we would do intuitively. Let’s take another pause here to recap what we have done so far. We are trying to model a step function. Towards that, we defined two lines h1(x) and h2(x), and an indicator variable to activate these lines in different regions of the 2-D space. As