Coder Social home page Coder Social logo

galenseilis / conaction Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 100.1 MB

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

Python 100.00%
statistics-library math mathematics statistics statistics-toolbox python python3 thesis-project transformation estimation mathematical-functions information-theory correlation correlation-coefficient correlation-analysis multilinear-maps entropy-measures

conaction's Issues

Doctest fail on numparam.circular_correlation (numerical precision)

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

Cythonize `estimators.kendall_tau`

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.

Introduce verbose parameter in `statistic_permute`

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.

Introduce verbose parameter in `kendall_tau`

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.

Introduce verbose parameter in `grade_entropy`

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.

Upgrade SymParam functions to take SymPy expression as probability measure.

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.

Nightingale deviation of order p down an axis

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.

Cythonize `estimators.grade_entropy`

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.

Check fewer components in grade entropy

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.

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.