vonera / fem_gpd Goto Github PK
View Code? Open in Web Editor NEWTemporal Spatial FEM based Generalized Pareto Distribution clustering
Temporal Spatial FEM based Generalized Pareto Distribution clustering
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.