Skip to content

Commit

Permalink
fix gpr training scaling for CovYI
Browse files Browse the repository at this point in the history
  • Loading branch information
aerialhedgehog committed Jun 4, 2015
1 parent de0e258 commit ac2a705
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trunk/VyPy/regression/gpr/scaling/Linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def calc_scaling(self,Train):
X_scaling = LinearFunction( Xref[None,0,:] , Xref[None,1,:] )
Y_scaling = LinearFunction( Yref[0], Yref[1] )
DY_scaling = LinearFunction( DYref[None,0,:] )
CovYI_scaling = LinearFunction( Yref[0] )

# set scaling data keys
self['XB'] = XB_scaling
Expand All @@ -45,7 +46,7 @@ def calc_scaling(self,Train):
self['XI'] = X_scaling
self['YI'] = Y_scaling
self['DYI'] = DY_scaling
self['CovYI'] = Y_scaling
self['CovYI'] = CovYI_scaling
self['CovDYI'] = DY_scaling

return
Expand Down

0 comments on commit ac2a705

Please sign in to comment.