Rule based Vs ML based example-2
Let us continue our discussion. As we saw in our rule based approach our outcome is totally determined by what new rule we create. It has less to do with what our earlier rules were. In case of learning our next prediction takes into account all the data we gathered so far. This boundary is not very crisp and we are free to adjust our learning where it gives more weight to one type of data and less to other and similarly we can define a rule which says that we ‘ll act according to our learning and rule can simply to apply one type of learning. But the difference is apparent from this context also. Focus of rules is more on taking decision based on answer of concrete question while learning forms a continuous trajectory which you need to follow to decide your point of interest. Now let us formally define our rule that we followed in our onion example: It was like: Rule : If you paid $y for x kg of onion then price of onion per kg is $(y/x) Learning ap...