Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed May 1, 2024
1 parent 3f4d965 commit c4ede2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fdasrsf/pcr_regression.py
Expand Up @@ -195,6 +195,8 @@ def predict(self, newdata=None, alpha=0.05):
for j in range(0, no):
tmp = g[:, i] - mu_g
a[i, j] = np.dot(tmp.T, U[:, j])

self.new_coef = a

elif self.pca.__class__.__name__ == "fdavpca":
m_new = np.sign(fn[self.pca.id, :]) * np.sqrt(
Expand Down

0 comments on commit c4ede2b

Please sign in to comment.