Coder Social home page Coder Social logo

era-software's Introduction

ERA-software

This software is developed for the ERA group at TUM. It provides simple frameworks for SuS, BUS, aBUS, CE-method, SIS and FORM in matlab and python.

For further information visit: www.era.bgu.tum.de/software

era-software's People

Contributors

matthiaswiller avatar

Stargazers

Aniket Jivani avatar  avatar  avatar  avatar  avatar

era-software's Issues

Description for function files

Write a proper description with input/output/reference for all files:

  • 00_ERADistNataf
  • 01_SuS
  • 02_BUS
  • 03_aBUS
  • 04_iTMCMC
  • 05_CE-method
  • 06_SIS
  • 07_FORM

Formatting Changes

Please make sure the format is consistent throughout all files:

  • import numpy as np and import scipy as sp
  • change paragraph sign ## to # %%
  • save all samplesX directly (i.e. samplesX[i] instead of samplesX['total'][i])

Bug in aBUS

I get this bug:

C:\Users\Willer\Anaconda3\lib\site-packages\numpy\core\_methods.py:70: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount)

c:\Users\Willer\Desktop\ERA-software\03_aBUS\python\aCS_BUS.py:109: RuntimeWarning: invalid value encountered in minimum mu_acc[i] = mu_acc[i] + np.minimum(1, np.mean(acc[idx+1:idx+Nchain[k]])) # min problem

c:\Users\Willer\Desktop\ERA-software\03_aBUS\python\aCS_BUS.py:120: RuntimeWarning: invalid value encountered in minimum sigma = np.minimum(lam[i+1]*sigma_0, np.ones((n))) # Ref. 1 Eq. 23

Probably something with aCS? Can you please check it out, Matthias?

minor change in aBUS

Hi Matthias,
please put also as output of the aBUS functions (matlab and python):

  1. the constant c of BUS
  2. the lambda factor of aCS

As a final final test, please compare the results of the matlab/python code with those of the Example 2 of Wolfgang's paper (Table 1). It is easy to implement and we can finally check the code.

Thanks a lot,

Bug in EMGM

The llh[t] value doesn't change in python

Python equivalent to fzero

In main_example_2DOF.py fzero is substituted by scipy.optimize.fsolve but doesn't lead to the same solution.

EMGM development

The EMGM needs improvement, such that it works for other diemensions than d=2.

Bug in BUS

The example file of BUS sometimes produces some weird warnings/errors. Check on that!

Error in BUS_SuS

If I run the BUS_SuS example, I sometimes get this error message:

c:\Users\Willer\Desktop\ERA-software\02_BUS\python\aCS.py:97: RuntimeWarning: invalid value encountered in less_equal if He <= b:

It probably has something to do with the np.percentile() function?

Transformation for CE-method

The transformation is missing in the CE-method. Use the ERANataf-class to transform the LSF in the Gaussian space!

Bug in aBUS

Check the example with 12D and also the example for 1D for aBUS. The results seem weird.

Final check

If everything else is ready, again run all examples:

Matlab:

  • 01_SuS
  • 02_BUS
  • 03_aBUS
  • 04_iTMCMC
  • 05_CE
  • 06_SIS
  • 07_FORM

Python:

  • 01_SuS
  • 02_BUS
  • 03_aBUS
  • 04_iTMCMC
  • 05_CE
  • 06_SIS
  • 07_FORM

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.