StackGP 0.0.9__tar.gz → 0.0.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stackgp-0.0.9 → stackgp-0.0.11}/PKG-INFO +1 -1
- {stackgp-0.0.9 → stackgp-0.0.11}/StackGP/StackGP.py +1 -1
- {stackgp-0.0.9 → stackgp-0.0.11}/StackGP.egg-info/PKG-INFO +1 -1
- {stackgp-0.0.9 → stackgp-0.0.11}/pyproject.toml +1 -1
- {stackgp-0.0.9 → stackgp-0.0.11}/LICENSE +0 -0
- {stackgp-0.0.9 → stackgp-0.0.11}/README.md +0 -0
- {stackgp-0.0.9 → stackgp-0.0.11}/StackGP/__init__.py +0 -0
- {stackgp-0.0.9 → stackgp-0.0.11}/StackGP.egg-info/SOURCES.txt +0 -0
- {stackgp-0.0.9 → stackgp-0.0.11}/StackGP.egg-info/dependency_links.txt +0 -0
- {stackgp-0.0.9 → stackgp-0.0.11}/StackGP.egg-info/requires.txt +0 -0
- {stackgp-0.0.9 → stackgp-0.0.11}/StackGP.egg-info/top_level.txt +0 -0
- {stackgp-0.0.9 → stackgp-0.0.11}/setup.cfg +0 -0
|
@@ -632,7 +632,7 @@ def alignGPModel(model, data, response): #Aligns a model
|
|
|
632
632
|
if np.isnan(np.array(prediction)).any() or np.isnan(np.array(response)).any() or not np.isfinite(np.array(prediction,dtype=np.float32)).all():
|
|
633
633
|
return model
|
|
634
634
|
try:
|
|
635
|
-
align=np.
|
|
635
|
+
align=np.polyfit(prediction,response,1,rcond=1e-16)#np.round(np.polyfit(prediction,response,1,rcond=1e-16),decimals=14)
|
|
636
636
|
except np.linalg.LinAlgError:
|
|
637
637
|
#print("Alignment failed for: ", model, " with prediction: ", prediction, "and reference data: ", response)
|
|
638
638
|
return model
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|