galenseilis / conaction Goto Github PK
View Code? Open in Web Editor NEWA package for studying how things change together.
Home Page: https://conaction.readthedocs.io/en/latest/index.html
License: BSD 3-Clause "New" or "Revised" License
A package for studying how things change together.
Home Page: https://conaction.readthedocs.io/en/latest/index.html
License: BSD 3-Clause "New" or "Revised" License
The following is the docstring example tested by doctest which is failing.
>>> F = [lambda x,y: x+y for i in range(2)]
>>> I = [(0,1)]*2
>>> circular_correlation(F, I)
1.0
But what it is actually returning:
>>> numparam.circular_correlation(F, I)
1.0000000000000002
It would be nice to have a grade entropy estimator over Pareto orders.
The estimators.kendall_tau
command is still using Python loops. It would be a lot faster if the loop were statically typed by implementing it in Cython.
The conaction.estimators.minkowski_deviation
function should have a degrees of freedom offset for ad hoc correction of degrees freedom. For example, emulating a Bessel-like correction to remove or reduce the bias of this estimator.
The current implementation of conaction.estimators.angular_disimilarity
assumes that the angle comes from the arccosine of the reflective correlation coefficient implemented conaction.estimators.reflective_correlation
Currently there is only a grade entropy for strict product orders implemented. It would be nice to also have a non-strict version.
A local installation of CanAction allows the documentation to be built fine.
$ cd /path/to/ConAction/docs
$ make clean
$ make html
And the ReadTheDocs build says it is successful. But Autodoc is failing to see the third party packages. Details about functions are not being rendered.
It would be nice to have a grade entropy estimator over lexicographic orders, which a lexicographic ordering is specified by the order in which the columns of data matrix are given.
The progress bar is not always desired partly for disrupting other printouts and partly because printing requires processor time. It would be nice to have a verbose
parameter to turn this feature on/off.
When the kendall_tau
has n_jobs=1
it uses tqdm
to provide a progress bar. This progress bar is not always desired partly for disrupting other printouts and partly because printing requires processor time. It would be nice to have a verbose
parameter to turn this feature on/off.
When the grade_entropy
has n_jobs=1
it uses tqdm
to provide a progress bar. This progress bar is not always desired partly for disrupting other printouts and partly because printing requires processor time. It would be nice to have a verbose
parameter to turn this feature on/off.
The SymParam currently assumes a uniform probability measure, which may not always be suitable. It would be a substantial generalization in functionality to upgrade the user being able to specify the choice of probability measure, but would have to come with a warning that the user must ensure that the given function actual satisfies Kolmogorov's axioms of probability.
Just like most functions in NumPy that act on a vector, it is desirable for the Nightingale deviation to be computed along a fiber of a multidimensional array (i.e. informally, a tensor). This can be accomplished by computing the function along an axis. Thus adding an axis parameter that is passed into subsequent functions is appropriate.
The estimators.grade_entropy
command is still using Python loops. It would be a lot faster if the loop were statically typed by implementing it in Cython.
Here is the doctest example:
Examples
--------
>>> F = [lambda x,y: x+y for i in range(2)]
>>> I = [(0,1)]*2
>>> reflective_correlation(F, I)
1.0
And here is the result:
>>> numparam.reflective_correlation(F, I)
1.0000000000000002
Let there be two vectors x and y where we wish to check if x < y. Currently estimators.grade_entropy
checks every pair of components (x_i, y_i) but this is not necessary. Once there exists an i such that x_i > y_i, this guarantees that that x is not less than y. Stopping should occur here. This might be best-suited for a Cython extension since looping over the components will be slower in native Python than using NumPy broadcasting in many circumstances.
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.