Git Product home page Git Product logo

Comments (4)

jonathf avatar jonathf commented on August 18, 2024

Short answer is partially yes.

First of all, if your goal is to address categorical variables, then I am not aware of theory that allows for the use of polynomial chaos expansions.

If you have discrete variables with high (or countable infinite) number of random states, then the theory allows for that, but I haven't implemented a framework for it. That being said, I can think of more than one way to make a 5 liner hack that allows for it anyways, but that depends a little on the problem.

Do you have a minimal example I can take a look at (that isn't categorical)?

from chaospy.

xavArtley avatar xavArtley commented on August 18, 2024

No I'm sorry I don't have such example.
My problem is sensitivity analysis for a NDT (non destructive test) where the defect type in the material is categorical.
And the probability of the defect type depends on the charasteristic of the material
So the categorical variable is dependent to other variables too.
I was just looking for Sensitivity analysis method rather global with dependencies and type of variables.

from chaospy.

jonathf avatar jonathf commented on August 18, 2024

Sorry the late reply, I had to ask a friend about the sensitivity analysis part, since he is more familiar. Here is his response. I hope it is useful.

If the model is linear, and non additive:

linear regression with standardized sensitivity coefficients (standardized regression coefficients) might be a way to go.

I think GPC or MC with variance based sobol indices should work.
You need to reformulate your problem such you can apply it.
If you have a categorical variable with a probability function you might be able to define
it differently such as a range from 0 to 1 instead of 0 or 1.
If you MC-cost function is a step function which jumps by 1 for all defects your you might also be able to do variance based sensitivity on it.

From this little information I can not see how it should be done.
Since the description of the problem is crucial.

from chaospy.

jonathf avatar jonathf commented on August 18, 2024

I consider the issue as resolved.

If you consider that not to be the case, or if there are other problems related to the same issue, feel free to re-open.

from chaospy.

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.