Code Monkey home page Code Monkey logo

fem_gpd's People

Contributors

gulgosha avatar vonera avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fem_gpd's Issues

Index Error in main_demo

Hi,
I am trying to get the main_demo.m to run. But it fails with the following Errors:

Index in position 1 exceeds array bounds (must not exceed 2).

Error in Models.MCMC.GPD.Input (line 47)
            self.ut_ksi = [ ones(1,size(ut,2)) ; ut(meta.umask_ksi,:)];

Error in Models.MCMC.Factory/createInput (line 101)
                input = Models.MCMC.GPD.Input(meta, xt, ut);

Error in Core.Construction.Factory.createInput (line 95)
            input = mfac.createInput(cfg, xt, ut, meta);

Error in Core.Datatypes.InputHandler/get (line 71)
                input(j) = Core.Construction.Factory.createInput(self.cfg, self.xt{j}, self.ut{j}, self.meta_cell{idx});

Error in Core.ModelFit/fit (line 50)
                input = iHandl.get(i);

Error in FEM.fit (line 63)
            resultHandler = mf.fit(inputHandler);

Error in main_demo (line 53)
    rHandler = FEM.fit(iHandler);

Apparently it tries to index ut with meta.umask_ksi which in my case is [3, 5, 7, 8, 11] while ut is a 2x1000 double? I have not looked into further details yet because I was just playing around with the toolbox.

I had another error before I ran into this one which was apparently related with the compilation of the mex files. Therefore, I compiled MEX_GPDestimate.cpp with the options -lgsl -lgslcblas because cblas_ctrmv was undefined if only -lgsl was used.

My system configuration (just in case):
Ubuntu 20.10
Matlab R2020a

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.