zackeskin / pycausality Goto Github PK
View Code? Open in Web Editor NEWCalculate predictive causality between time series using information-theoretic techniques
License: GNU General Public License v3.0
Calculate predictive causality between time series using information-theoretic techniques
License: GNU General Public License v3.0
Currently PyCausality requires a number of dependencies (e.g. Nose, SciPy) which are in fact only used in testing. It is not uncommon to provide only the functional code when building for PyPi deployment, so consider removing testing-related code if this is not required for core functionality. The problem becomes clear when using PyCausality in non-local environments such as AWS Lambda or mobile, where environment management and storage issues become more difficult.
(Similarly, Matplotlib is required only for one method, so consider separating this out.)
There was an error reported when I run "TE.nonlinear_TE(pdf_estimator = 'kernel', n_shuffles=100)".
self.add.results({'TE_XY': np.array(TEs)[:,0],
IndexError: too many indices for array
I'm trying to reproduce Example 3 in Schreiber 2000's seminal article using PyCausality here.
I wonder if it is possible at all to reproduce such results with PyCausality and get the same TE numbers to reproduce the figure in question?
When running TE.nonlinearTE() or TE.linearTE(), if one of these has been called already in the TE object scope, then the add_result() method will fail.
This has been observed using windows but, from memory, is likely also to happen even without applying windowing.
For now, creating two objects (e.g. l_TE and nl_TE) is a simple workaround.
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.