Changed hardcoded absolute path to relative path.
This commit is contained in:
parent
524c90fcf7
commit
1d517d0754
@ -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.
|
||||
|
Reference in New Issue
Block a user