Package samer.units

Class NoisyLinearSource

  • All Implemented Interfaces:
    Task


    public class NoisyLinearSource
    extends AnonymousTask
    A class for generating random vectors according to a particular generative model. If the output is y, then y = Bx + e where x is a vector of indepedent identitically distributed random variables, e is another vector of iid random variables, and B is an arbitrary matrix. The elements of x are the 'sources' and are drawn from the random number generator rnd. The elements of e are the 'noise' and are drawn from a different generator, which defaults to Gaussian.
    See Also:
    Serialized Form
    • Constructor Detail

      • NoisyLinearSource

        public NoisyLinearSource(int m,
                                 int n)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • getMixingMatrix

        public Matrix getMixingMatrix()
      • run

        public void run()
                 throws java.lang.Exception
        Throws:
        java.lang.Exception