concept line in category recommender system

This is an excerpt from Manning's book Practical Recommender Systems.
If you take the ratings you looked at in the last few sections, you’ve an idea of whose are similar. But if you plot them in a diagram with the items along the x-axis and the ratings along the y-axis and then draw a line from point to point, it’s even more visible; you can clearly see which ratings are similar and which aren’t (figure 7.6).
In a sense, you could have the same information in the points as in the line as shown in the figure, only the points have noise too. The same principle applies when you do dimension reduction, where you have high-dimensional data.
Funk also mentions that he had different ideas of how to calculate the prediction error. You have so many possible combinations of setting the levers, but the best way to go about it is to come up with a hypothesis and then do test runs as shown earlier. Another way to look at the data is to compare the error of the training to the test error. This is shown in figure 11.18. It’s important that the lines have a more or less 45-degree angle such that the test error is proportional to the training error.
Many advise you to run the test for a certain number of times, such as 50 or 100, while others recommend that you look at the RMSE for each iteration and when the change in RMSE is below a value, stop. If you do plot the MSE as in figure 11.18, it’s a good idea to look for the elbows in the chart. The elbow is often where you stop fitting the algorithm to the known data and start overfitting the algorithm. A line in figure 11.18 shows the training of 75 factors. You can see the test MSE has a little elbow around 400 iterations. Here you should only use 20 factors because the 20 factor test line has a small elbow around 275 iterations, so that may be a good place to stop.
To find the line pointing down, you find the derivative. If you don’t know about derivation, then you’ll have to take my word that the derivate of (this is the function after you set y = 0) is the following: