factor-analysis

Package to conduct factor analysis on data


License
MIT
Install
pip install factor-analysis==0.0.2

Documentation

Factor Analysis

import tensorflow as tf

f = factor_analysis.factors.Factor(data, factor_analysis.posterior.Posterior(covariance_prior, means))

noise = factor_analysis.noise.Noise(f, f.posterior)

with tf.Session() as sess:
    print(f.create_factor().eval())
    print(noise.create_noise(f.create_factor()).eval())