concept algorithm in category recommender system

This is an excerpt from Manning's book Practical Recommender Systems.
Certain systems explain the recommendations. Recommenders with that ability are called white-box recommenders; those that don’t are called black-box recommenders. Figure 1.14 shows examples of each. The distinction is important to consider when choosing an algorithm because not all provide a clear path back to the reasons for a prediction.
Deciding whether you want to produce a white-box or black-box recommender can put constraints on which algorithms you use. The more your system needs to explain, the simpler the algorithm. Often you can consider the decision as shown in figure 1.15. The better the quality of the recommendation, the more complex and the harder to show explanations. This problem is known as model accuracy-model interpretation trade-off.
This simple scenario can also work as a way to verify that the system is running. For example, the algorithm you’ll look at in this chapter takes a couple of hours to run on the full data set. If you’re using that to debug the algorithm, you’ll never finish. You’ll do one correction and start the builder, then life happens, and when the algorithm finishes, you’ve forgotten everything. If you’re unlucky, your next step is to do a new correction that basically undoes the correction you did first. Do yourself a favor and follow the steps in figure 9.4.
How complicated is the algorithm? Is it easy to implement? Does it require mathematics that is difficult to implement or performance-wise too much to do on a computer? And if you create a small example using a small data set, is it possible to make a naive implementation in, for example, a Jupyter notebook to illustrate that it can be done? When these questions are satisfied, you can start implementing your algorithm.