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

View File

@ -4,10 +4,8 @@ import matplotlib
from scipy import *
from scipy.linalg import inv,norm
sys.path.append("/home/flatberg/fluents/fluents/lib")
sys.path.append("../../fluents/lib")
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):
""" L-shaped Partial Least Sqaures Regression by the nipals algorithm.