We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af879fa commit 5587bb4Copy full SHA for 5587bb4
1 file changed
encoding/models/ridge_regression.py
@@ -3,6 +3,8 @@
3
import logging
4
from encoding.models.ridge_utils import svd_wrapper, mult_diag, z_score
5
6
+# this is a torch implementation of the following: https://github.com/HuthLab/encoding-model-scaling-laws/blob/main/ridge_utils/ridge.py
7
+
8
9
def ridge_torch(
10
Rstim: torch.Tensor,
0 commit comments