rice#
- skfda.preprocessing.smoothing.validation.rice(hat_matrix)[source]#
Rice’s bandwidth selector for cross validation.
\[\Xi(\nu,n) = \left(1 - 2 * \frac{tr(\hat{H}^\nu)}{n}\right)^{-1}\]See [1] for additional details.
- Parameters:
hat_matrix (ndarray[Any, dtype[float64]]) – Smoothing matrix whose penalization score is desired.
- Returns:
Penalization given by the Rice’s bandwidth selector.
- Return type:
References