Hi
Seems strange. Could you just check the openturns version
import openturns as otot.__version__

FYI SobolIndicesExperiment have been added in 1.10

Best regards,Sofiane HADDAD 

    Le mercredi 24 avril 2019 à 15:26:39 UTC+2, Rajeev Das 
<[email protected]> a écrit :  
 
 Hi,
I have installed OpenTurns on a Windows machine (Win7). While running a piece 
of code I am getting an error message as 'AttributeError: 'module' object has 
no attribute 'SobolIndicesExperiment''
I used the package 'OpenTURNS1.12rc1 ' from the path provided belowDownload the 
installer matching your python version and architecture from GitHub

I used the following lines, which throws the error from 
ot.SobolIndicesExperiment
import pandas as pdimport openturns as ot import xlrd import numpy as npimport 
matplotlib.pyplot as pltfrom matplotlib import interactiveimport shutilimport os
N = 4distribution = ot.ComposedDistribution([ot.Uniform(25000.06, 35000.09), 
ot.Uniform(35, 50), ot.Uniform(5, 20), ot.Uniform(0.95 , 1.05), 
ot.Uniform(0.3135, 0.3465), ot.Uniform(21.375, 23.625)])design = 
ot.SobolIndicesExperiment(distribution, N, True).generate()dataMatrix = 
np.array(design)

Just to cross very few more things, I tried the following lines too just for 
the sequence and they work, but not SobolIndicesExperiment
sequence = ot.SobolSequence(6)experiment = sequence.generate(5)sample = 
np.array(experiment)
Am I missing any dependencies? and is there a way to avoid this issue? Any help 
would be greatly appreciated.

Thank you,
Raj_______________________________________________
OpenTURNS users mailing list
[email protected]
http://openturns.org/mailman/listinfo/users
  
_______________________________________________
OpenTURNS users mailing list
[email protected]
http://openturns.org/mailman/listinfo/users

Reply via email to