I have a doubt regarding the below lines in "deep learning" book.
I don't have a very good math background, I grasp most of the concepts with examples. First they describe this:
Which I understand it as ie $x_1=$ house_size , $x_2=$year_built and $f(x,w)$ shall be the house price.
But I can't think of an example for the below:
I see in wikipedia that XOR is exclusive 'or', so I understand that it means strictly either 'a' or 'b'. But what is an example of this?




I don't like going to the movies alone. This week, there are 2 tickets for a movie I'd like to see, so I ask 2 friends A and B if they'd like to see it.
If neither A nor B wants to see it, then I wont go.
If A wants to go but B doesn't, or visa versa, then I will go with whoever wants to join me.
If both A and B want to go, I'll let them buy the tickets and stay home. I wont go.
Hence the "Do I go to the movies" function is A xor B.