Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Changed hardcoded absolute path to relative path.

This commit is contained in:
Einar Ryeng 2007-07-24 13:00:29 +00:00
parent 524c90fcf7
commit 1d517d0754
1 changed files with 1 additions and 3 deletions

View File

@ -4,10 +4,8 @@ import matplotlib
from scipy import * from scipy import *
from scipy.linalg import inv,norm from scipy.linalg import inv,norm
sys.path.append("/home/flatberg/fluents/fluents/lib") sys.path.append("../../fluents/lib")
import select_generators import select_generators
sys.path.remove("/home/flatberg/fluents/fluents/lib")
def nipals_lpls(X, Y, Z, a_max, alpha=.7, mean_ctr=[2, 0, 1], scale='scores', verbose=True): def nipals_lpls(X, Y, Z, a_max, alpha=.7, mean_ctr=[2, 0, 1], scale='scores', verbose=True):
""" L-shaped Partial Least Sqaures Regression by the nipals algorithm. """ L-shaped Partial Least Sqaures Regression by the nipals algorithm.