This wikipedia page https://en.wikipedia.org/wiki/Recursive_least_squares_filter (and in fact other sources) do not explain the apparent paradox of the cost function that computes the MSE of the output and the "desired" (or "ideal") signal.
For someone who tries, like me, to understand this RLS algorithm, it seems a priori absurd to compute a cost function w.r.t. a signal that we do not know, and that we are looking for : this "desired" signal !
I have trained neural nets in a supervised learning manner, i.e. with a "ground truth" so this is the only scenario that I can imagine where we have access to a "desired" signal... but for the adaptive filter, there is no "training" mentioned and as I understand it should continuously adapt its parameters in real time as the input signal (to be filtered) arrives (so training would not really make any sense anyway ?)... So can anyone please explain clearly what this desired signal means ? Especially in the context of filtering a signal corrupted by e.g. noise or other perturbations, for example the wiki example of the ECG corrupted by AC noise. They never explain what this "ideal signal" is... it seems absurd because we DO NOT KNOW the clean ECG signal, this IS what we try to obtain with the filter ... how could we compute any cost function then?
Also, this wiki page should clearly be modified to explain this apparent absurdity. I really don't see how someone who tries to learn about these filters could understand anything about this without this basic explanation.