Coder Social home page Coder Social logo

pynoci's People

Stargazers

 avatar

Watchers

 avatar  avatar

pynoci's Issues

ICA from 3 blocks

Dear @mercaderd,

First of all I want to say thank you for your realisation of ICA-by blocks in Python! This was very useful for my work.
Secondly I want to ask you for advice regarding function ICA_by_two_blocks. Is it possible to use 3 blocks there for the correlation calculation?
In this part I changed nblocks to 3 and inserted calculation of B3 and Y3 but I am stuck with the CMat calculation:

nblocks=2
blocks = np.empty([block_length, T, nblocks])
for i in range(nblocks):
blocks[:,:, i]=X[(i * block_length):((i+1) * block_length),:]
correlation_data = []
for i in arange(maxICs):
B1 = jadeR(blocks[:, :, 0], m=i + 1
B2 = jadeR(blocks[:, :, 1], m=i + 1)
Y1 = B1 * matrix(blocks[:, :, 0])
Y2 = B2 * matrix(blocks[:, :, 1])
CMat = np.sort(np.nanmax(np.abs(np.corrcoef(Y1, Y2)[:i + 1, i + 1:]), axis=1))

If it is possible could you please give me advice how correctly extrapolate this algorythm inlo 3-blocks sutuation?
Thank you very much in advance!

Best regards,
Polina

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.