Giter VIP home page Giter VIP logo

Comments (6)

joshua-cogliati-inl avatar joshua-cogliati-inl commented on July 20, 2024

The output does not seem to have the issue when I tested on Unbunt 16.04
output.zip

raven@raven-VirtualBox:~/raven$ ./run_tests --library-report
PYTHONPATH=/home/raven/raven/framework/contrib:
PATH=/home/raven/bin:/home/raven/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Python Executable:  /usr/bin/python
Possible Python Executables on System:
/usr/bin/python3.5
/usr/bin/python
/usr/bin/python3
/usr/bin/python2.7
/usr/bin/python2
OS: Linux-4.8.0-36-generic-x86_64-with-Ubuntu-16.04-xenial
Python: 2.7.12 (default, Nov 19 2016, 06:48:10) 
[GCC 5.4.0 20160609]
Git information:
34a1b4f343a13b91bc9f05df927bdff934e205f8 Sat, 25 Mar 2017 16:29:15 -0600
fatal: No names found, cannot describe anything.
 5896f1fc7c5942d5202c78ff6b3d39208d65bbbf moose (C++03_final-2728-g5896f1f)

Libraries report:

numpy 1.11.0 
 <module 'numpy' from '/usr/lib/python2.7/dist-packages/numpy/__init__.pyc'>
 

h5py 2.6.0 
 <module 'h5py' from '/usr/lib/python2.7/dist-packages/h5py/__init__.pyc'>
 

scipy 0.17.0 
 <module 'scipy' from '/usr/lib/python2.7/dist-packages/scipy/__init__.pyc'>
scipy has version 0.17.0 but tested version is 0.17.1 

sklearn 0.17 
 <module 'sklearn' from '/usr/lib/python2.7/dist-packages/sklearn/__init__.pyc'>
sklearn has version 0.17 but tested version is 0.17.1 

matplotlib 1.5.1 
 <module 'matplotlib' from '/usr/lib/python2.7/dist-packages/matplotlib/__init__.pyc'>
 

AMSC  
 <module 'AMSC' from '/home/raven/raven/framework/contrib/AMSC/__init__.py'>
 

distribution1D 
 <module 'crow_modules.distribution1Dpy2' from '/home/raven/raven/crow/install/crow_modules/distribution1Dpy2.pyc'>

interpolationND 
 <module 'crow_modules.interpolationNDpy2' from '/home/raven/raven/crow/install/crow_modules/interpolationNDpy2.pyc'>

from raven.

joshua-cogliati-inl avatar joshua-cogliati-inl commented on July 20, 2024

I noticed this in the original library report that caused this issue:

numpy 1.11.1
 <module 'numpy' from '/usr/local/lib/python2.7/dist-packages/numpy/__init__.pyc'>
numpy has version 1.11.1 but tested version is 1.11.0 

So it is possible that this was caused by a problem with compiling numpy 1.11.1

from raven.

joshua-cogliati-inl avatar joshua-cogliati-inl commented on July 20, 2024

This problem was fixed by the user updating numpy. Closing since it was not a raven bug.

from raven.

joshua-cogliati-inl avatar joshua-cogliati-inl commented on July 20, 2024

There should be a test that checks the sensitivities calculated by basic statistics.

from raven.

alfoa avatar alfoa commented on July 20, 2024

Josh there are.
For example,

tests/framework/PostProcessors/BasicStatistics/sensitivity.xml

from raven.

joshua-cogliati-inl avatar joshua-cogliati-inl commented on July 20, 2024

I checked with the following modification:

diff --git a/framework/PostProcessors.py b/framework/PostProcessors.py
index 5314f16..0b890f6 100644
--- a/framework/PostProcessors.py
+++ b/framework/PostProcessors.py
@@ -2561,7 +2561,7 @@ class BasicStatistics(BasePostProcessor):
         #use regressor coefficients as sensitivity
         regressDict = dict(zip(useFeatures, LinearRegression().fit(inpSamples,targetVals).coef_))
         for f,feature in enumerate(features):
-          calculations[metric][target][feature] = 1.0 if feature==target else regressDict[feature]
+          calculations[metric][target][feature] = 11.0 if feature==target else regressDict[feature]
     #
     # covariance matrix
     #

The sensitivity tests fail as expected with this modification. I am closing this because it has been verified that the sensitivities are checked.

from raven.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.