Machine Learning, Python, Towards Data Science, Dimensionality Reduction, Data Visualization.
tf.Session(graph=self.graph) as session: self.u, self.singular_values, self.sigma = session.run([u, singular_values, sigma], feed_dict={self.X: self.data}) So the goal of fit is to create our Σ and U for later use. We’ll start with the line tf.svd which gives us the singular values, which are the