Skip to content

Commit

Permalink
fix polyexponential
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcj05 committed May 13, 2020
1 parent f42acf6 commit f4b8567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/SupervisedLearning/PolyExponential.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ def __trainLocal__(self,featureVals,targetVals):
numbTerms = self.polyExpParams['expTerms']
targets = ["a_"+str(cnt+1) if cnt < numbTerms else "b_"+str((cnt-numbTerms)+1) for cnt in range(numbTerms*2)]
self.model[target] = NDsplineRom(self.messageHandler,
**{'Features':','.join(self.features),
'Target':",".join(targets)})
**{'Features':self.features,
'Target':targets})
self.model[target].__class__.__trainLocal__(self.model[target],featureVals,expTermCoeff)
self.featureVals = featureVals

Expand Down

0 comments on commit f4b8567

Please sign in to comment.